You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/02/18 00:06:51 UTC

[jira] Commented: (MPEAR-14) ear by default inserts all bundled jars to application.xml

The following comment has been added to this issue:

     Author: Richard Lewis-Shell
    Created: Tue, 17 Feb 2004 6:04 PM
       Body:
Could I suggest an slightly different alternative?  Rather than having to specify which deps to bundle AND include in the XML, instead use a single property (ear.module) to indicate that the dependency is a J2EE module - setting this to true would imply ear.bundle=true also.  This means one would use ear.bundle=true for simple jar dependencies, and ear.module=true for those J2EE modules that should be bundled AND have a <module> added to the application.xml.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPEAR-14&page=comments#action_16876

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-ear-plugin

   Assignee: 
   Reporter: Michal Szklanowski

    Created: Mon, 9 Feb 2004 8:38 AM
    Updated: Tue, 17 Feb 2004 6:04 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org