You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Beirtí Ó'Nunáin (Jira)" <ji...@apache.org> on 2021/09/14 08:20:00 UTC

[jira] [Created] (MPMD-324) Ruleset URLs have hyphen replaced with forwardslash

Beirtí Ó'Nunáin created MPMD-324:
------------------------------------

             Summary: Ruleset URLs have hyphen replaced with forwardslash
                 Key: MPMD-324
                 URL: https://issues.apache.org/jira/browse/MPMD-324
             Project: Maven PMD Plugin
          Issue Type: Bug
    Affects Versions: 3.15.0
            Reporter: Beirtí Ó'Nunáin


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)