You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnell Jim <Ji...@columbitech.com> on 2004/06/08 16:23:37 UTC
Dependency duplication, can I import dependencies?
Hi,
Can I import dependencies? Or include files to project.xml?
I have a multiproject structure consisting of several subprojects. I
have two projects where one uses the entire set of dependencies of
another project:
* Embedded Tomcat Server project (a.k.a. tomcat): Contains all the jars
for running tomcat embedded.
* Install4j project (a.k.a install): Contains all the jars for the
entire product (including all of embedded tomcat).
Is there any way to import dependencies to the 'install' project so I
can avoid copy-and-paste between the projects?
I don't want to add the dependencies to the main project.xml since I
hope to have a minimal set of dependencies for each subproject.
Also looks better in the dependency report...
Best Regards,
Jim Arnell
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Dependency duplication, can I import dependencies?
Posted by Dan Tran <da...@hotmail.com>.
how about using XML entity?
http://wiki.codehaus.org/maven/EnsureProjectConsistencyWithEntities#head-f084de6c54f76773e10827ea8619e139fa4af082
-D
----- Original Message -----
From: "Arnell Jim" <Ji...@columbitech.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, June 08, 2004 7:23 AM
Subject: Dependency duplication, can I import dependencies?
Hi,
Can I import dependencies? Or include files to project.xml?
I have a multiproject structure consisting of several subprojects. I
have two projects where one uses the entire set of dependencies of
another project:
* Embedded Tomcat Server project (a.k.a. tomcat): Contains all the jars
for running tomcat embedded.
* Install4j project (a.k.a install): Contains all the jars for the
entire product (including all of embedded tomcat).
Is there any way to import dependencies to the 'install' project so I
can avoid copy-and-paste between the projects?
I don't want to add the dependencies to the main project.xml since I
hope to have a minimal set of dependencies for each subproject.
Also looks better in the dependency report...
Best Regards,
Jim Arnell
---------------------------------------------------------------------
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
Re: Dependency duplication, can I import dependencies?
Posted by Jerome Lacoste <je...@coffeebreaks.org>.
On Tue, 2004-06-08 at 10:23, Arnell Jim wrote:
> Hi,
>
> Can I import dependencies? Or include files to project.xml?
>
> I have a multiproject structure consisting of several subprojects. I
> have two projects where one uses the entire set of dependencies of
> another project:
> * Embedded Tomcat Server project (a.k.a. tomcat): Contains all the jars
> for running tomcat embedded.
> * Install4j project (a.k.a install): Contains all the jars for the
> entire product (including all of embedded tomcat).
>
> Is there any way to import dependencies to the 'install' project so I
> can avoid copy-and-paste between the projects?
>
> I don't want to add the dependencies to the main project.xml since I
> hope to have a minimal set of dependencies for each subproject.
> Also looks better in the dependency report...
I have never tried, but maybe you can support multi-level parent
dependencies so you can group your project according to your
dependencies.
Maybe someone can confirm/infirm that.
J
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org