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

pmd-plugin 3.11.0 fails in multi module release builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.11.0
    • None
    • PMD
    • None

    Description

      When using maven-pmd-plugin 3.11.0 the pmd plugin fails in release builds of multi module maven projects:

      [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.11.0:pmd (pmd) on project xxx: 
      Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.11.0:pmd failed: 
      org.apache.maven.reporting.MavenReportException: org.eclipse.aether.resolution.DependencyResolutionException: 
      Could not find artifact xxx:jar:<Version that will be released> in <remote maven repository> -> [Help 1]
      

      or

      [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.11.0:pmd (pmd) on project xxx: 
      Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.11.0:pmd failed: 
      rg.apache.maven.reporting.MavenReportException: org.eclipse.aether.resolution.DependencyResolutionException: 
      Failure to find xxx:jar:<Version that will be released> in <remote maven repository> was cached in the local repository, 
      resolution will not be reattempted until the update interval of <remote repo> has elapsed or updates are forced -> [Help 1]

      Normal build are working fine.

      I guess the problem is that the plugin is looking for the released version in the remote repository before it's actually transferred after the successful release.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skyYaga Andreas Müller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: