[ http://jira.codehaus.org/browse/MEAR-14?page=all ]
Jason van Zyl moved MNG-954 to MEAR-14: --------------------------------------- Version: (was: 2.0-beta-1) type: Bug (was: Improvement) Component: (was: maven-ear-plugin) Workflow: jira (was: Maven) Key: MEAR-14 (was: MNG-954) Project: Maven 2.x Ear Plugin (was: Maven 2) > Transitive dependencies of War modules should not be copied in the Ear by > default > --------------------------------------------------------------------------------- > > Key: MEAR-14 > URL: http://jira.codehaus.org/browse/MEAR-14 > Project: Maven 2.x Ear Plugin > Type: Bug > Environment: Win2k, Java 1.4.2, Maven 2.0 beta 1 > Reporter: Fabrice BELLINGARD > Assignee: Brett Porter > > > Currently, when an Ear is generated, every transitive dependency of its War > modules is copied into the Ear, which makes them exist twice in the pacakge > (one in the War and once in the Ear). > There's an 'excluded' property to prevent transitive dependencies of a War to > be copied in the Ear, but this is painful because a War module usually have > lots of dependencies. > So I would say that the packaging for an Ear should be more complex > concerning the dependencies declared in its pom: > - for a Jar or an Ejb, then I agree that the transitive dependencies must be > included in the Ear > - for a War, the default behaviour should be to include only the War itself, > without all its transitive dependencies. There could be a property 'included' > to tell the packager to take a specific dependency of the War and put it up > in the Ear. (this would be the opposite behaviour as currently with the > 'excluded' property) -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]