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>