PR: MPJDEPEND-2, MPJDEPEND-3

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


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-01-31 00:33:04 +00:00
parent ec1baa025a
commit a3a296b0c2
4 changed files with 15 additions and 0 deletions

View File

@ -21,6 +21,7 @@
<project <project
xmlns:ant="jelly:ant" xmlns:ant="jelly:ant"
xmlns:j="jelly:core" xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:doc="doc"> xmlns:doc="doc">
<goal name="maven-jdepend-plugin:register"> <goal name="maven-jdepend-plugin:register">
@ -59,6 +60,10 @@
<attainGoal name="java:compile"/> <attainGoal name="java:compile"/>
<u:available file="${maven.jdepend.properties}">
<ant:copy file="${maven.jdepend.properties}" tofile="${maven.build.dest}/jdepend.properties" failonerror="false"/>
</u:available>
<ant:java <ant:java
classname="jdepend.xmlui.JDepend" classname="jdepend.xmlui.JDepend"
fork="true" fork="true"
@ -68,6 +73,7 @@
<ant:path refid="maven-classpath"/> <ant:path refid="maven-classpath"/>
<ant:path refid="maven.dependency.classpath"/> <ant:path refid="maven.dependency.classpath"/>
<ant:pathelement path="${plugin.getDependencyPath('jdepend:jdepend')}"/> <ant:pathelement path="${plugin.getDependencyPath('jdepend:jdepend')}"/>
<ant:pathelement path="${maven.build.dest}"/>
</ant:classpath> </ant:classpath>
</ant:java> </ant:java>

View File

@ -22,3 +22,4 @@
maven.jdepend.dirs=${maven.build.dest} maven.jdepend.dirs=${maven.build.dest}
maven.jdepend.components=${pom.package} maven.jdepend.components=${pom.package}
#maven.jdepend.properties=

View File

@ -24,6 +24,7 @@
</properties> </properties>
<body> <body>
<release version="1.6-SNAPSHOT" date="In SVN"> <release version="1.6-SNAPSHOT" date="In SVN">
<action dev="ltheussl" type="add" issue="MPJDEPEND-2">New property <code>maven.jdepend.properties</code> to specify a custom jdepend.properties file.</action>
<action dev="ltheussl" type="add">New <code>maven.jdepend.dirs</code> and <code>maven.jdepend.components</code> properties.</action> <action dev="ltheussl" type="add">New <code>maven.jdepend.dirs</code> and <code>maven.jdepend.components</code> properties.</action>
<action dev="ltheussl" type="update" issue="MPJDEPEND-6">Upgrade to JDepend 2.9.1.</action> <action dev="ltheussl" type="update" issue="MPJDEPEND-6">Upgrade to JDepend 2.9.1.</action>
<action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated : <action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :

View File

@ -51,6 +51,13 @@
of JDepend. Defaults to <code>${maven.build.dest}</code>. of JDepend. Defaults to <code>${maven.build.dest}</code>.
</td> </td>
</tr> </tr>
<tr>
<td>maven.jdepend.properties</td>
<td>Yes</td>
<td>
The location of a custom <code>jdepend.properties</code> file.
</td>
</tr>
</table> </table>
</section> </section>
</body> </body>