Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6
-
Labels:None
-
Environment:Maven 1.0.2, Windows XP, jdk 1.4.2_04
Description
Plugin does not use ${maven.ear.appxml} file if ${maven.ear.src}/META-INF/application.xml does not exist
This is taken from the plugin code :
<util:available file="${maven.ear.src}/META-INF/application.xml">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>
it should be :
<util:available file="${maven.ear.appxml}">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>
Thanks
This code was already changed when fixing
MPEAR-24:<!-
==================================================================->@@ -63,19 +65,19 @@
<attainGoal name="ear:generate-ear-descriptor"/>
</j:when>
<j:otherwise>
+ <util:available file="${maven.ear.appxml}">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>
</j:otherwise>
</j:choose>
MPEAR-24:==================================================================-> @@ -63,19 +65,19 @@ <attainGoal name="ear:generate-ear-descriptor"/> </j:when> <j:otherwise>