Warn if maven.compile.debug is not on - xref links will be incorrect.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cea3f4d93b
commit
fec5536ce5
@ -43,12 +43,20 @@
|
|||||||
<!-- J D E P E N D X M L T A R G E T -->
|
<!-- J D E P E N D X M L T A R G E T -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|
||||||
<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'}">
|
||||||
|
<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"/>
|
<attainGoal name="java:compile"/>
|
||||||
|
|
||||||
<ant:java
|
<ant:java
|
||||||
@ -70,7 +78,7 @@
|
|||||||
outputMode="xml"
|
outputMode="xml"
|
||||||
prettyPrint="true"
|
prettyPrint="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|
||||||
</goal>
|
</goal>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user