You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brendan McCarthy <br...@gorillalogic.com> on 2006/10/02 21:01:36 UTC
Generate common lib dir from multiple projects?
Greetings.
Q: What is the best way in Maven2 to generate a single lib directory
with all the jars and dependencies from nested projects?
e.g. HAVE:
top_level_project
pom.xml
project1
pom.xml
...
project2
pom.xml
...
project3
pom.xml
...
WANT something like:
top_level_project
target
lib
project1-1.0.jar
project2-1.0.jar
project3-1.0.jar
someDependentJarX.jar
someDependentJarY.jar
This would be in addition to deploying to standard deploy-to-repository
which I've already got covered.
Thanks in advance.
/brendan
--
Brendan McCarthy
CTO, Gorilla Logic Inc.
"Draw it, run it -- executable UML today!"
http://www.gorillalogic.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generate common lib dir from multiple projects?
Posted by dan tran <da...@gmail.com>.
top_level_project
pom.xml
project1
pom.xml
...
project2
pom.xml
...
project3
pom.xml
final assembly
pom.xml <--- uses maven-assembly-plugin
On 10/2/06, Brendan McCarthy <br...@gorillalogic.com> wrote:
>
> Greetings.
>
> Q: What is the best way in Maven2 to generate a single lib directory
> with all the jars and dependencies from nested projects?
>
> e.g. HAVE:
>
> top_level_project
> pom.xml
> project1
> pom.xml
> ...
> project2
> pom.xml
> ...
> project3
> pom.xml
> ...
>
> WANT something like:
>
> top_level_project
> target
> lib
> project1-1.0.jar
> project2-1.0.jar
> project3-1.0.jar
> someDependentJarX.jar
> someDependentJarY.jar
>
> This would be in addition to deploying to standard deploy-to-repository
> which I've already got covered.
>
> Thanks in advance.
>
> /brendan
>
> --
> Brendan McCarthy
> CTO, Gorilla Logic Inc.
> "Draw it, run it -- executable UML today!"
> http://www.gorillalogic.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>