Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-335

Aggregate mode doesn't use additional repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.15.0, 3.16.0, 3.17.0, 3.18.0, 3.19.0
    • 3.20.0
    • PMD
    • None

    Description

      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://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced 

      Attachments

        Issue Links

          Activity

            People

              adangel Andreas Dangel
              andrekalamandeen Andre Kalamandeen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: