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/02/10 20:27:51 UTC

svn commit: r376805 - in /maven/maven-1/plugins/trunk/jdepend: plugin.jelly project.xml xdocs/changes.xml

Author: ltheussl
Date: Fri Feb 10 11:27:49 2006
New Revision: 376805

URL: http://svn.apache.org/viewcvs?rev=376805&view=rev
Log:
PR: MPJDEPEND-7
Cannot generate report without component property set.

Modified:
    maven/maven-1/plugins/trunk/jdepend/plugin.jelly
    maven/maven-1/plugins/trunk/jdepend/project.xml
    maven/maven-1/plugins/trunk/jdepend/xdocs/changes.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=376805&r1=376804&r2=376805&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.jelly Fri Feb 10 11:27:49 2006
@@ -47,7 +47,7 @@
   <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'}">
@@ -64,11 +64,17 @@
       <ant:copy file="${maven.jdepend.properties}" tofile="${maven.build.dest}/jdepend.properties" failonerror="false"/>
     </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 
       classname="jdepend.xmlui.JDepend"
       fork="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:path refid="maven-classpath"/>
         <ant:path refid="maven.dependency.classpath"/>

Modified: maven/maven-1/plugins/trunk/jdepend/project.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/project.xml?rev=376805&r1=376804&r2=376805&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/project.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/project.xml Fri Feb 10 11:27:49 2006
@@ -22,7 +22,7 @@
   <pomVersion>3</pomVersion>
   <id>maven-jdepend-plugin</id>
   <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>
   <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>

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=376805&r1=376804&r2=376805&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/jdepend/xdocs/changes.xml Fri Feb 10 11:27:49 2006
@@ -23,6 +23,9 @@
     <author email="evenisse@ifrance.com">Emmanuel Venisse</author>
   </properties>
   <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">
       <action dev="ltheussl" type="add" issue="MPJDEPEND-2">New property
         <code>maven.jdepend.properties</code>to specify a custom jdepend.properties file.