Maven Golden Rule is that one project only has one primary artifact. For a project, there is only one pom so all artifacts will share it. So having more than one artifact from one project makes you experience these kind of issues you're describing. It's as designed.
/Anders On Wed, Jun 30, 2010 at 16:12, <[email protected]>wrote: > > Hi all, > > I face a problem with classifier mecanism. > I have a project with two modules (module1 and module2) and module2 depends > on module1. > Both modules is deploy with classifier and without. > > Now in a different project I add module2 as dependency. > But if I specify a classifier transitive dependencies (module1) will be > without classifier. > And if I specify both module1 and module2 as dependencies with classifier I > will have two entries for module1 one with classifier and one without. > > What I'm expecting is to maven resolve transitive dependencies with > classifier. > Can he does it ? and how ? > > test.zip contains an example projet with two modules and test2.zip a > project that depends on module2. > > I'm on windows xp, maven 2.2.1 and sun jdk 1.5 > > Thanks > > Guillaume Boucherie > > > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > Do not print this message unless it is necessary, > consider the environment. > > --------------------------------------------- > > Ce message et toutes les pieces jointes (ci-apres le > "message") sont etablis a l'intention exclusive de ses > destinataires et sont confidentiels. Si vous recevez ce > message par erreur, merci de le detruire et d'en avertir > immediatement l'expediteur. Toute utilisation de ce > message non conforme a sa destination, toute diffusion > ou toute publication, totale ou partielle, est interdite, sauf > autorisation expresse. L'internet ne permettant pas > d'assurer l'integrite de ce message, BNP PARIBAS (et ses > filiales) decline(nt) toute responsabilite au titre de ce > message, dans l'hypothese ou il aurait ete modifie. > N'imprimez ce message que si necessaire, > pensez a l'environnement. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
