New maven.jdepend.dirs and maven.jdepend.components properties.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-01-30 23:54:32 +00:00
parent fec5536ce5
commit ec1baa025a
4 changed files with 34 additions and 8 deletions

View File

@ -63,11 +63,11 @@
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>

View File

@ -20,3 +20,5 @@
# JDepend plugin.
# -------------------------------------------------------------------
maven.jdepend.dirs=${maven.build.dest}
maven.jdepend.components=${pom.package}

View File

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

View File

@ -20,15 +20,38 @@
<document>
<properties>
<title>jdepend Properties</title>
<title>JDepend Properties</title>
<author email="dion@apache.org">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>