The following comment has been added to this issue:
Author: dion gillard
Created: Mon, 29 Mar 2004 3:41 PM
Body:
"On the other hand.. imagine that the war in the ear was out of your control and
relied on commons-collections-2.1.jar. Now you have 2 commons-collections jars in your
ear and therefore can't reference them in your application.xml.. that's fine.. set
<ear.module>false</ear.module> on them and you will have solved the issue of this
dependency which (at least in my experience) is the exception NOT the norm."
This doesn't make sense. Setting ear.module to false (and not specifying ear.bundle)
means the jar wont be included in the .ear, or be specified as a client module.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPEAR-14&page=comments#action_18000
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPEAR-14
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPEAR-14
Summary: ear by default inserts all bundled jars to application.xml
Type: Bug
Status: Reopened
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ear-plugin
Fix Fors:
1.4
Assignee:
Reporter: Michal Szklanowski
Created: Mon, 9 Feb 2004 8:38 AM
Updated: Mon, 29 Mar 2004 3:41 PM
Description:
ear:ear goal automatically places all depended jars with <ear.bundle>
set to true in application.xml which is unwanted.
Only few of these jars should be described in application.xml. All other jars are
bundled just because they are required libraries and that's a convenient way to create
a indepenent EAR which contains all resources needed to properly run the application.
I suggest adding one more property: <ear.appxml.include> and include only these
resources with this property set.
---------------------------------------------------------------------
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]