You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2010/01/12 09:29:55 UTC

[jira] Commented: (MWAR-178) war plugin documentation and probably implementation is unaware of javaee 5

    [ http://jira.codehaus.org/browse/MWAR-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206573#action_206573 ] 

Stephane Nicoll commented on MWAR-178:
--------------------------------------

isn't it a candidate for the ear plugin instead? How would you resolve this issue?

> war plugin documentation and probably implementation is unaware of javaee 5
> ---------------------------------------------------------------------------
>
>                 Key: MWAR-178
>                 URL: http://jira.codehaus.org/browse/MWAR-178
>             Project: Maven 2.x WAR Plugin
>          Issue Type: New Feature
>            Reporter: David Jencks
>
> The example I'm aware of:
> http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html talks about using the war's manifest.mf classpath to include jars in the ear in the war module's classloader.  In ee5, there's a ear lib directory: everything in that is automatically included in the ear level classloader, which is certainly available to every war, most likely by being a parent classloader to the war classloader.  One consequence of this is that using the manifest classpath in a 1.4 container will likely result in each war getting separate copies of the lib jar classes whereas the ee5 lib directory will result in shared classes.

-- 
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