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

Plugin tries to download local submodules from repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.11.0
    • 3.12.0
    • PMD
    • None

    Description

      My bug seems kinda related to #MPMD-273, but 3.10.0 works for me, not 3.11.0.

       

      I'm trying to build a multi-module maven project with OpenJDK11 and Maven 3.5.4.

      The project works fine with maven-pmd-plugin 3.10.0, but with 3.11.0, I get this error:

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.11.0:pmd (pmd) on project parent: 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 com.incepto.cloud:api-common:jar:0.0.1-SNAPSHOT in spring-repo (https://repo.spring.io/release) -> [Help 1]

       

      pmd-plugin doesn't have a dependency on api-common, it's the first submodule maven tries to build. The problem doesn't occur if I skip pmd first and let maven install the submodules in the local repo, then re-run the build.

      Attachments

        Issue Links

          Activity

            People

              adangel Andreas Dangel
              Rouquette Sylvain
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m