Title: M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib

Problem description :

In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling
entries in the Manifest.mf file within the war file and the contents of WEB-INF/lib within the war


Example project :
-----------------

Ear file wrapping a jar, and a war file which in turn has a jar in it's WEB-INF/lib plus a manifest file class path
referencing the jar held within ear file. This is useful for multiple war's in 1 ear.


-------------------------
-EAR                    -
-                       -
- frmw.jar              -
-                       -
-    ################## -
-    # WebApp1        # -
-    #  WEB-INF/lib   # -
-    #    x.jar       # -
-    #                # -
-    #                # -
-    #  Manifest.mf   # -
-    #   Class-Path:  # -
-    #     frmw.jar   # -
-    ################## -
-                       -
-------------------------

Projects:
 - WebApp1
 - frmw.jar
 - x.jar

WebApp1 has dependency on frwm.jar and x.jar

want to have frmw.jar appear as entry in Manifest.mf within war Class-Path:
want to have x.jar appear in WEB-INF/lib but not as entry in manifest.mf Class-Path:


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to