maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] (MPMD-158) Relative file name doesn't work when specifying ruleset
Date Sat, 26 Jan 2013 17:41:13 GMT

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

Dennis Lundberg closed MPMD-158.
--------------------------------

    Resolution: Won't Fix
    
> Relative file name doesn't work when specifying ruleset
> -------------------------------------------------------
>
>                 Key: MPMD-158
>                 URL: https://jira.codehaus.org/browse/MPMD-158
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.7.1
>         Environment: Windows 7
>            Reporter: Taras Pushyk
>         Attachments: MPMD-158-With-Child-Module.zip, MPMD-158.zip
>
>
> When ruleset specified as follows:
> {code}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-pmd-plugin</artifactId>
>   <version>2.7.1</version>
>   <configuration>
>      <linkXref>false</linkXref
>      <minimumTokens>100</minimumTokens
>      <targetJdk>1.5</targetJdk>
>      <rulesets>
>        <ruleset>../config/basic.xml</ruleset>
>      </rulesets>
>   </configuration>
> </plugin>
> {code}
> File is not resolved. Also following message appears on console:
> [DEBUG] The resource '../config/basic.xml' was not found with resourceLoader org.codehaus.plexus.resource.loader.FileResourceLoader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message