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 00:18:04 UTC

svn commit: r373628 - /maven/maven-1/plugins/trunk/jdepend/plugin.jelly

Author: ltheussl
Date: Mon Jan 30 15:17:59 2006
New Revision: 373628

URL: http://svn.apache.org/viewcvs?rev=373628&view=rev
Log:
Warn if maven.compile.debug is not on - xref links will be incorrect.

Modified:
    maven/maven-1/plugins/trunk/jdepend/plugin.jelly

Modified: maven/maven-1/plugins/trunk/jdepend/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jdepend/plugin.jelly?rev=373628&r1=373627&r2=373628&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.jelly Mon Jan 30 15:17:59 2006
@@ -43,12 +43,20 @@
   <!-- 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'}">
+      <echo>
+***  WARNING: JDepend is only fully functional if source files are compiled with debugging information turned on.
+***  The source file cross links generated by this run of JDepend will not be correct.
+***  Please set maven.compile.debug = on
+      </echo>
+    </j:if>
+
     <attainGoal name="java:compile"/>
 
     <ant:java 
@@ -70,7 +78,7 @@
         outputMode="xml"
         prettyPrint="true"
         />
-    
+
     </j:if>
 
   </goal>