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

Ruleset URLs have hyphen replaced with forwardslash

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.15.0
    • 3.16.0
    • PMD
    • None

    Description

      Our maven pom has the following ruleset defined:

       

      <rulesets>
        <ruleset>
          http://ourgitrepo/projects/OURPROJECT/repos/ourproject-pmd/raw/InProgressRuleset.xml?at=refs%2Fheads%2Fmaster
        </ruleset>
      </rulesets>

       

      When maven runs on PMD version 3.15.0, it fails with the following error:

       
        Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.15.0:pmd (pmd) on project bc-calypso-oms: Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.15.0:pmd failed: org.apache.maven.reporting.MavenReportException: Could not find resource 'rulesets/http://ourgitrepo/projects/OURPROJECT/repos/ourproject/pmd/raw/InProgressRuleset.xml?at=refs%2Fheads%2Fmaster'.
       
      Note that 'ourproject-pmd' has been replaced with 'ourproject/pmd' in the error message

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adangel Andreas Dangel
            beirtipol@gmail.com Beirtí Ó'Nunáin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment