You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/01/31 01:33:05 UTC
svn commit: r373651 - in /maven/maven-1/plugins/trunk/jdepend: plugin.jelly
plugin.properties xdocs/changes.xml xdocs/properties.xml
Author: ltheussl
Date: Mon Jan 30 16:33:04 2006
New Revision: 373651
URL: http://svn.apache.org/viewcvs?rev=373651&view=rev
Log:
PR: MPJDEPEND-2, MPJDEPEND-3
New property maven.jdepend.properties to specify a custom jdepend.properties file.
Modified:
maven/maven-1/plugins/trunk/jdepend/plugin.jelly
maven/maven-1/plugins/trunk/jdepend/plugin.properties
maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml
maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/jdepend/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/plugin.jelly?rev=373651&r1=373650&r2=373651&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.jelly Mon Jan 30 16:33:04 2006
@@ -21,6 +21,7 @@
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
+ xmlns:u="jelly:util"
xmlns:doc="doc">
<goal name="maven-jdepend-plugin:register">
@@ -59,6 +60,10 @@
<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
classname="jdepend.xmlui.JDepend"
fork="true"
@@ -68,6 +73,7 @@
<ant:path refid="maven-classpath"/>
<ant:path refid="maven.dependency.classpath"/>
<ant:pathelement path="${plugin.getDependencyPath('jdepend:jdepend')}"/>
+ <ant:pathelement path="${maven.build.dest}"/>
</ant:classpath>
</ant:java>
Modified: maven/maven-1/plugins/trunk/jdepend/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/plugin.properties?rev=373651&r1=373650&r2=373651&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.properties Mon Jan 30 16:33:04 2006
@@ -22,3 +22,4 @@
maven.jdepend.dirs=${maven.build.dest}
maven.jdepend.components=${pom.package}
+#maven.jdepend.properties=
\ No newline at end of file
Modified: maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml?rev=373651&r1=373650&r2=373651&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml Mon Jan 30 16:33:04 2006
@@ -24,6 +24,7 @@
</properties>
<body>
<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="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 :
Modified: maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml?rev=373651&r1=373650&r2=373651&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml Mon Jan 30 16:33:04 2006
@@ -51,6 +51,13 @@
of JDepend. Defaults to <code>${maven.build.dest}</code>.
</td>
</tr>
+ <tr>
+ <td>maven.jdepend.properties</td>
+ <td>Yes</td>
+ <td>
+ The location of a custom <code>jdepend.properties</code> file.
+ </td>
+ </tr>
</table>
</section>
</body>