You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Bowe, Bastian" <Ba...@astrium.eads.net> on 2004/10/26 13:51:16 UTC

multi projects

Hello,

I like to setup a web project with a web module and a business module. Let's
assume I have my web module in a directory myWeb and my business module in
myBusiness, both having a project.xml file. If I wan't to build a war file
for my myWeb project, I would have to copy myBusiness AND its libraries
(jars) it depends on into the war.

I have put the myBusiness into my local repository (via. jar:install from
myBusiness directory).

Is there a easy way to copy myBusiness's dependencies into the war? Or do I
have to specify all dependencies manually in the project.xml of myWeb?

Best regards

Bastian

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


RE: multi projects

Posted by Eric Pugh <ep...@upstate.com>.
Today you have to do it by hand..  Future maven's will handle transitive (?)
dependencies better.

> -----Original Message-----
> From: Bowe, Bastian [mailto:Bastian.Bowe@astrium.eads.net]
> Sent: Tuesday, October 26, 2004 1:51 PM
> To: 'users@maven.apache.org'
> Subject: multi projects
>
>
> Hello,
>
> I like to setup a web project with a web module and a business
> module. Let's
> assume I have my web module in a directory myWeb and my business module in
> myBusiness, both having a project.xml file. If I wan't to build a war file
> for my myWeb project, I would have to copy myBusiness AND its libraries
> (jars) it depends on into the war.
>
> I have put the myBusiness into my local repository (via. jar:install from
> myBusiness directory).
>
> Is there a easy way to copy myBusiness's dependencies into the
> war? Or do I
> have to specify all dependencies manually in the project.xml of myWeb?
>
> Best regards
>
> Bastian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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