When running build using "-f <path_to_pom>/pom.xml" the site is stored in 
working directory instead of project directory
------------------------------------------------------------------------------------------------------------------------

                 Key: MPMD-61
                 URL: http://jira.codehaus.org/browse/MPMD-61
             Project: Maven 2.x PMD Plugin
          Issue Type: Bug
          Components: PMD
    Affects Versions: 2.2
         Environment: Windows XP, Java 1.5, Maven 2.0.7
            Reporter: Peter Hayes
         Attachments: pmd-multi-module.zip

I setup a multi-module build and included the pmd check goal to run during the 
verify phase.  When I execute a build from the top level directory specifying 
-f <path>/pom.xml, the plugin creates a target/site/... directory in the 
current working directory.  This directory should be in the project directory 
and now fails to clean.

I have attached a sample project.  To reproduce :

cd pmd-multi-module
mvn -f ./root/pom.xml install

Note that after the build there is a target directory in the current working 
directory with the pmd.html and other files within it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to