You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (Jira)" <ji...@apache.org> on 2022/02/05 08:50:00 UTC

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

     [ https://issues.apache.org/jira/browse/MPMD-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Dangel closed MPMD-324.
-------------------------------

> 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
>          Components: PMD
>    Affects Versions: 3.15.0
>            Reporter: Beirtí Ó'Nunáin
>            Assignee: Andreas Dangel
>            Priority: Major
>             Fix For: 3.16.0
>
>
> 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.20.1#820001)