[MPMD-335] Aggregate mode doesn't use additional repositories (original) (raw)

I've tried to upgrade PMD to 3.16.0 and noticed that when building it tries to get artifacts from the default maven repository instead of the repository configured in the project.

This causes issues with the build as certain artifacts are only available in the custom repository.

The build error:

Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.16.0:pmd failed: org.apache.maven.reporting.MavenReportException: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: [REMOVED]: Failure to find [REMOVED] in https: