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]



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
true 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]



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
true 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
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
true 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]



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 true 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

2003-10-29 Thread Michal Maczka


> -Original Message-
> From: Ewan Harrow [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 29, 2003 11:21 AM
> To: Maven Users List
> Subject: Dependencies of dependencies
> 
> 
> Am I missing something when it comes to declaring dependencies?  If a
> dependency has dependencies I also need to add it to my project's xml,
> correct?  Thats what I'm doing but I was wondering if it could be done
> by magic so that maven takes care of installing the dependencies in the
> local repository etc. :-)
> 

Support for so called "transitive" dependencies is definitely planned.


Michal


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



Dependencies of dependencies

2003-10-29 Thread Ewan Harrow
Am I missing something when it comes to declaring dependencies?  If a
dependency has dependencies I also need to add it to my project's xml,
correct?  Thats what I'm doing but I was wondering if it could be done
by magic so that maven takes care of installing the dependencies in the
local repository etc. :-)

ewan

=
Ewan Harrow [EMAIL PROTECTED]
+44 (0) 7092 108950 http://www.ewanharrow.com


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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