PR: MPJDEPEND-7
Cannot generate report without component property set. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@376805 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
069f7e155b
commit
f4430a1c7c
@ -47,7 +47,7 @@
|
|||||||
<goal
|
<goal
|
||||||
name="maven-jdepend-plugin:report"
|
name="maven-jdepend-plugin:report"
|
||||||
description="Generate a dependency report with JDepend">
|
description="Generate a dependency report with JDepend">
|
||||||
|
|
||||||
<j:if test="${sourcesPresent == 'true'}">
|
<j:if test="${sourcesPresent == 'true'}">
|
||||||
|
|
||||||
<j:if test="${maven.compile.debug != 'on'}">
|
<j:if test="${maven.compile.debug != 'on'}">
|
||||||
@ -64,11 +64,17 @@
|
|||||||
<ant:copy file="${maven.jdepend.properties}" tofile="${maven.build.dest}/jdepend.properties" failonerror="false"/>
|
<ant:copy file="${maven.jdepend.properties}" tofile="${maven.build.dest}/jdepend.properties" failonerror="false"/>
|
||||||
</u:available>
|
</u:available>
|
||||||
|
|
||||||
|
|
||||||
|
<j:set var="argline" value="-file '${maven.build.dir}/jdepend-raw-report.xml' '${maven.jdepend.dirs}'"/>
|
||||||
|
<j:if test="${maven.jdepend.components != '' and maven.jdepend.components != null}">
|
||||||
|
<j:set var="argline" value="-components '${maven.jdepend.components}' -file '${maven.build.dir}/jdepend-raw-report.xml' '${maven.jdepend.dirs}'"/>
|
||||||
|
</j:if>
|
||||||
|
|
||||||
<ant:java
|
<ant:java
|
||||||
classname="jdepend.xmlui.JDepend"
|
classname="jdepend.xmlui.JDepend"
|
||||||
fork="true"
|
fork="true"
|
||||||
failonerror="true">
|
failonerror="true">
|
||||||
<ant:arg line="-components '${maven.jdepend.components}' -file '${maven.build.dir}/jdepend-raw-report.xml' '${maven.jdepend.dirs}'"/>
|
<ant:arg line="${argline}"/>
|
||||||
<ant:classpath>
|
<ant:classpath>
|
||||||
<ant:path refid="maven-classpath"/>
|
<ant:path refid="maven-classpath"/>
|
||||||
<ant:path refid="maven.dependency.classpath"/>
|
<ant:path refid="maven.dependency.classpath"/>
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
<pomVersion>3</pomVersion>
|
<pomVersion>3</pomVersion>
|
||||||
<id>maven-jdepend-plugin</id>
|
<id>maven-jdepend-plugin</id>
|
||||||
<name>Maven JDepend Plugin</name>
|
<name>Maven JDepend Plugin</name>
|
||||||
<currentVersion>1.6</currentVersion>
|
<currentVersion>1.6.1-SNAPSHOT</currentVersion>
|
||||||
<shortDescription>JDepend traverses Java class file directories and generates design quality metrics for each Java package.</shortDescription>
|
<shortDescription>JDepend traverses Java class file directories and generates design quality metrics for each Java package.</shortDescription>
|
||||||
<description>JDepend traverses Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively.</description>
|
<description>JDepend traverses Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively.</description>
|
||||||
<url>http://maven.apache.org/maven-1.x/reference/plugins/jdepend/</url>
|
<url>http://maven.apache.org/maven-1.x/reference/plugins/jdepend/</url>
|
||||||
|
|||||||
@ -23,6 +23,9 @@
|
|||||||
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.6.1-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="ltheussl" type="fix" issue="MPJDEPEND-7">Cannot generate report without component property set.</action>
|
||||||
|
</release>
|
||||||
<release version="1.6" date="2006-02-05">
|
<release version="1.6" date="2006-02-05">
|
||||||
<action dev="ltheussl" type="add" issue="MPJDEPEND-2">New property
|
<action dev="ltheussl" type="add" issue="MPJDEPEND-2">New property
|
||||||
<code>maven.jdepend.properties</code>to specify a custom jdepend.properties file.
|
<code>maven.jdepend.properties</code>to specify a custom jdepend.properties file.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user