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

Andreas Dangel closed MPMD-158.
-------------------------------
    Resolution: Won't Fix
      Assignee: Andreas Dangel

I'm closing this issue as won't fix.

Luckily, this never worked with the PMD plugin, so no need to reproduce the 
hack from 
[Checkstyle|http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.java?view=markup#l860].

I've added the documentation for a multimodule configuration, which should 
solve the issue (MPMD-227).


> Relative file name doesn't work when specifying ruleset
> -------------------------------------------------------
>
>                 Key: MPMD-158
>                 URL: https://issues.apache.org/jira/browse/MPMD-158
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.7.1
>         Environment: Windows 7
>            Reporter: Taras Pushyk
>            Assignee: Andreas Dangel
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to