Message:
The following issue has been resolved as FIXED.
Resolver: dion gillard
Date: Thu, 16 Dec 2004 11:04 PM
Committed to svn
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPEAR-32
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPEAR-32
Summary: maven.ear.appxml is no longer respected
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ear-plugin
Fix Fors:
1.7
Versions:
1.6
1.6.1
1.7
Assignee:
Reporter: dion gillard
Created: Thu, 16 Dec 2004 10:47 PM
Updated: Thu, 16 Dec 2004 11:04 PM
Description:
In 1.27 of plugin.jelly, the following code was introduced:
<j:choose>
<j:when test="${isGenerateAppXML == 'true'}">
<attainGoal name="ear:generate-ear-descriptor"/>
<attainGoal name="ear:generate-ear-descriptor"/>
</j:when>
<j:otherwise>
<util:available file="${maven.ear.src}/META-INF/application.xml">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>
</j:otherwise>
</j:choose>
The hard coding of ${maven.ear.src}/META-INF/application.xml means that any
application that previously provided a value for ${maven.ear.appxml} that
wasn't in the hard coded and default location, no longer gets their
application.xml bundled.
This breaks the ear.
Please change to
<util:available file="${maven.ear.appxml}">
<ant:copy file="${maven.ear.appxml}" tofile="${finalAppxml}"/>
</util:available>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]