You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/01/31 01:34:07 UTC

[jira] Closed: (MPJDEPEND-2) more elements in jdepend classpath

     [ http://jira.codehaus.org/browse/MPJDEPEND-2?page=all ]
     
Lukas Theussl closed MPJDEPEND-2:
---------------------------------

     Resolution: Fixed
    Fix Version: 1.6

Introduced maven.jdepend.properties property to specify a custom properties file.

> more elements in jdepend classpath
> ----------------------------------
>
>          Key: MPJDEPEND-2
>          URL: http://jira.codehaus.org/browse/MPJDEPEND-2
>      Project: maven-jdepend-plugin
>         Type: Improvement

>     Reporter: Norbert Pabis
>     Priority: Minor
>      Fix For: 1.6
>  Attachments: maven_jdepend_plugin_jelly_patch.gz
>
>
> jdepend search for its jdepend.properties through classloader,
> so it is good idea to add ${maven.build.dest} to classpath, 
> to enable setting properties per project.
> You can then add
> <preGoal name="maven-jdepend-plugin:report">
>   <copy failonerror="false" file="jdepend.properties" tofile="${maven.build.dest}/jdepend.properties"/>
> </preGoal>
> and you no longer have to have jdepend.properties in your home directory.
> Patch:
> --- src/plugins-build/jdepend/plugin.jelly.orig	Tue Jul 29 14:08:49 2003
> +++ src/plugins-build/jdepend/plugin.jelly	Tue Jul 29 14:09:10 2003
> @@ -42,6 +42,7 @@
>          <ant:path refid="maven-classpath"/>
>          <ant:path refid="maven.dependency.classpath"/>
>          <ant:pathelement path="${plugin.getDependencyPath('jdepend')}"/>
> +        <ant:pathelement path="${maven.build.dest}"/>
>        </ant:classpath>
>      </ant:java>

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org