maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r377638 - /maven/maven-1/plugins/trunk/jdepend/plugin.jelly
Date Tue, 14 Feb 2006 06:07:39 GMT
Author: ltheussl
Date: Mon Feb 13 22:07:37 2006
New Revision: 377638

URL: http://svn.apache.org/viewcvs?rev=377638&view=rev
Log:
Make sure maven.compile.debug=on when compiling, it's needed by jdepend to extract some class
information.

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=377638&r1=377637&r2=377638&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jdepend/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jdepend/plugin.jelly Mon Feb 13 22:07:37 2006
@@ -50,15 +50,11 @@
 
     <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>
-
+    <!-- Make sure maven.compile.debug = on -->
+    <j:set var="compileDebugOld" value="${maven.compile.debug}"/>
+    <j:set var="maven.compile.debug" scope="parent" value="on"/>
     <attainGoal name="java:compile"/>
+    <j:set var="maven.compile.debug" scope="parent" value="${compileDebugOld}"/>
 
     <u:available file="${maven.jdepend.properties}">
       <ant:copy file="${maven.jdepend.properties}" tofile="${maven.build.dest}/jdepend.properties"
failonerror="false"/>



Mime
View raw message