Managing dependencies of dependencies

2004-04-12 Thread pelerin
I'm new to using maven to manage projects, so bear with me.   I was unable
to find an answer to this in the archives.  I'm using a third party
framework, tapestry, which has its own large number of dependencies. I
will be using this framework, and other frameworks as well, in various
projects.  Is there a way to easily manage these dependency chains?  For
example, I'd like to have a single tapestry-dependencies-3.0-rc3.xml.
Including this file in my project would ensure that all of tapestry's
dependencies ended up in my classpath and were bundled into my war file. 
I could use a setup with the war project extending maybe from a tapestry
project, but this is kind of gross and doesn't handle the case of multiple
frameworks.  Thanks for the help!

Erik



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



dependencies of dependencies

2004-01-22 Thread Ebersole, Steven
Just wondering if there is a way through maven to better manage the dependencies of my 
project's dependencies.

For example, say I have a project whose deliverable/artifact is a war and further say 
I have utilized the propertieswar.bundletrue/war.bundle/properties on any 
number of the dependencies I have defined for that project.  If those dependencies in 
turn have dependencies (especially of the run-time variety) it would be nice for the 
war plugin to pull those extended dependencies in along with the explicit 
dependencies.  As it is, I instead have to manually add dependency definitions to my 
project for those extended dependencies.

Is there a way to get maven to pull in those extended dependencies automagically 
during build?  Just curious...

Thanks,
Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: dependencies of dependencies

2004-01-22 Thread CaseyJD
FYI, check out old archive messages referring to transitive dependencies.

-john

-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 1:49 PM
To: Maven Users List
Subject: dependencies of dependencies

Just wondering if there is a way through maven to better manage the
dependencies of my project's dependencies.

For example, say I have a project whose deliverable/artifact is a war and
further say I have utilized the
propertieswar.bundletrue/war.bundle/properties on any number of the
dependencies I have defined for that project.  If those dependencies in turn
have dependencies (especially of the run-time variety) it would be nice for
the war plugin to pull those extended dependencies in along with the
explicit dependencies.  As it is, I instead have to manually add dependency
definitions to my project for those extended dependencies.

Is there a way to get maven to pull in those extended dependencies
automagically during build?  Just curious...

Thanks,
Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: dependencies of dependencies

2004-01-22 Thread Ebersole, Steven
Unless I completely missed something, you are still managing these manually; you've 
just moved dealing with it from the project file to a pre-goal.

What I was thinking of was:
1) war plugin starts to bundle, say hibernate's jar into the webapp because I 
specified it as a runtime library;
2) war plugin determines that hibernate, itself, has a number of runtime dependencies 
and bundles those (possible retreiving from repo) into the webapp



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:49 PM
To: [EMAIL PROTECTED]
Subject: RE: dependencies of dependencies


FYI, check out old archive messages referring to transitive dependencies.

-john

-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 1:49 PM
To: Maven Users List
Subject: dependencies of dependencies

Just wondering if there is a way through maven to better manage the
dependencies of my project's dependencies.

For example, say I have a project whose deliverable/artifact is a war and
further say I have utilized the
propertieswar.bundletrue/war.bundle/properties on any number of the
dependencies I have defined for that project.  If those dependencies in turn
have dependencies (especially of the run-time variety) it would be nice for
the war plugin to pull those extended dependencies in along with the
explicit dependencies.  As it is, I instead have to manually add dependency
definitions to my project for those extended dependencies.

Is there a way to get maven to pull in those extended dependencies
automagically during build?  Just curious...

Thanks,
Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: dependencies of dependencies

2004-01-22 Thread CaseyJD
Yeah, I think that functionality is on the way, but will not make the 1.0
release...I'm not actually on the development team, though, so I can't speak
too intelligently about this. Unless I'm mistaken, you're looking to achieve
closure of the set of dependencies and their implied dependencies, and
include that in the resulting deliverable. That's what all the discussion of
transitive dependencies is about, I believe.

-john

-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 2:10 PM
To: Maven Users List
Subject: RE: dependencies of dependencies

Unless I completely missed something, you are still managing these manually;
you've just moved dealing with it from the project file to a pre-goal.

What I was thinking of was:
1) war plugin starts to bundle, say hibernate's jar into the webapp because
I specified it as a runtime library;
2) war plugin determines that hibernate, itself, has a number of runtime
dependencies and bundles those (possible retreiving from repo) into the
webapp



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:49 PM
To: [EMAIL PROTECTED]
Subject: RE: dependencies of dependencies


FYI, check out old archive messages referring to transitive dependencies.

-john

-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 1:49 PM
To: Maven Users List
Subject: dependencies of dependencies

Just wondering if there is a way through maven to better manage the
dependencies of my project's dependencies.

For example, say I have a project whose deliverable/artifact is a war and
further say I have utilized the
propertieswar.bundletrue/war.bundle/properties on any number of the
dependencies I have defined for that project.  If those dependencies in turn
have dependencies (especially of the run-time variety) it would be nice for
the war plugin to pull those extended dependencies in along with the
explicit dependencies.  As it is, I instead have to manually add dependency
definitions to my project for those extended dependencies.

Is there a way to get maven to pull in those extended dependencies
automagically during build?  Just curious...

Thanks,
Steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]