Hi all!

 

I've a question about dependencies conflict management.

 

I have a POM with sub-modules.

I have specified my dependencies in a dependencyManagement tag.

All sub-modules include the dependencies without version and scope.

 

Here is my problem:

My sub-modules generate WAR archives without JAR libraries. Only the
Manifest file is generated with the dependencies.

At the end of my parent POM, I generate an EAR file with all the WAR
files and all the libraries.

 

I've seen in the EAR that each WAR file includes in its Manifest a
different version of commons-collections (3.1, 2.1, 2.1.1).

But, the EAR includes only one of them: the 2.1 version.

 

Why Maven doesn't include the 3.1 version, and why each Manifest is
different?

How can I resolve this issue?

 

Can anyone help me, please?

 

Thanks,

 

Farhdine Boutzakhti

Calyon CIB / Capital Markets

Ce message et ses pièces jointes (le "message") est destiné à l'usage
exclusif de son destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
être altéré à notre insu,  CALYON Crédit Agricole CIB
ne peut pas être engagé par son contenu. Tous droits réservés.

This message and/or any  attachments (the "message") is intended for
the sole use of its addressee.
If you are not the addressee, please immediately notify the sender and
then destroy the message.  As this message and/or any attachments may
have been altered without our knowledge,  its content  is not legally
binding on CALYON Crédit Agricole CIB. All rights reserved.

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

Reply via email to