Author: ltheussl
Date: Mon Jan 30 15:54:32 2006
New Revision: 373635
URL: http://svn.apache.org/viewcvs?rev=373635&view=rev
Log:
New maven.jdepend.dirs and maven.jdepend.components properties.
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=373635&r1=373634&r2=373635&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.jelly Mon Jan 30 15:54:32 2006
@@ -43,10 +43,10 @@
<!-- J D E P E N D X M L T A R G E T -->
<!-- ================================================================== -->
- <goal
+ <goal
name="maven-jdepend-plugin:report"
description="Generate a dependency report with JDepend">
-
+
<j:if test="${sourcesPresent == 'true'}">
<j:if test="${maven.compile.debug != 'on'}">
@@ -60,14 +60,14 @@
<attainGoal name="java:compile"/>
<ant:java
- classname="jdepend.xmlui.JDepend"
+ classname="jdepend.xmlui.JDepend"
fork="true"
failonerror="true">
- <ant:arg line="-file '${maven.build.dir}/jdepend-raw-report.xml'
'${maven.build.dest}'"/>
+ <ant:arg line="-components '${maven.jdepend.components}' -file
'${maven.build.dir}/jdepend-raw-report.xml' '${maven.jdepend.dirs}'"/>
<ant:classpath>
<ant:path refid="maven-classpath"/>
<ant:path refid="maven.dependency.classpath"/>
- <ant:pathelement path="${plugin.getDependencyPath('jdepend')}"/>
+ <ant:pathelement
path="${plugin.getDependencyPath('jdepend:jdepend')}"/>
</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=373635&r1=373634&r2=373635&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.properties Mon Jan 30 15:54:32
2006
@@ -20,3 +20,5 @@
# JDepend plugin.
# -------------------------------------------------------------------
+maven.jdepend.dirs=${maven.build.dest}
+maven.jdepend.components=${pom.package}
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=373635&r1=373634&r2=373635&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml Mon Jan 30 15:54:32
2006
@@ -24,6 +24,7 @@
</properties>
<body>
<release version="1.6-SNAPSHOT" date="In SVN">
+ <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 :
<ul>
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=373635&r1=373634&r2=373635&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/xdocs/properties.xml Mon Jan 30
15:54:32 2006
@@ -20,15 +20,38 @@
<document>
<properties>
- <title>jdepend Properties</title>
+ <title>JDepend Properties</title>
<author email="[EMAIL PROTECTED]">dIon Gillard</author>
</properties>
<body>
<section name="jdepend Settings">
<p>
- No properties besides those used in the
- <a
href="http://maven.apache.org/maven-1.x/reference/plugins/xdoc/properties.html">maven
xdoc plugin</a>
+ See also the properties in the Maven
+ <a
href="http://maven.apache.org/maven-1.x/reference/plugins/xdoc/properties.html">xdoc</a>
+ and
+ <a
href="http://maven.apache.org/maven-1.x/reference/plugins/java/properties.html">java</a>
+ plugins.
</p>
+ <table>
+ <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
+ <tr>
+ <td>maven.jdepend.dirs</td>
+ <td>Yes</td>
+ <td>
+ A space-separated list of directories where the class files to
+ analyze are found. Defaults to <code>${maven.build.dest}</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.jdepend.components</td>
+ <td>Yes</td>
+ <td>
+ A comma-separated list of components to analyze.
+ Corresponds to the <code>-components</code> command line argument
+ of JDepend. Defaults to <code>${maven.build.dest}</code>.
+ </td>
+ </tr>
+ </table>
</section>
</body>
</document>