You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/12/14 11:52:10 UTC

RE : Deploying Multiple jars in one go

Use separate pom.xml with a structure as this
pom.xml (global one)
	- ./api pom.xml (interfaces)
	- ./impls pom.xml (implementation this has a dependance to the
artifact api)
	- ./global pom.xml (dependances to the others, use assembly
plugin to generate a full jar attached it to the phase package)

Declare modules (in the correct order) in the root pom.
In the root directory : mvn install. (all is installed in the local
repository)


- Olivier


-----Message d'origine-----
De : Jean Safar [mailto:jsa@quartetfs.com] 
Envoyé : mercredi 14 décembre 2005 11:33
À : 'Maven Users List'
Objet : Deploying Multiple jars in one go


Hi, 

My project generates multiple jars (one global, one for interfaces only
and one for the implementation classes only). How do I get the deploy
and install goals to work on those 3 jars? 

Thanx in advance


jean safar





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org