On Fri, 2003-01-24 at 14:21, Philip Crotwell wrote:
> Hi
> 
> I wonder if another way of doing this is to allow one project to have a
> depenedency on another maven project, instead of just on individual jars,
> a transitive property for projects. That would address the need of a
> common depend list, as you could just make an empty project that contained
> the common dependencies, but no actual code.

This is the plan, and has been for quite some time. But we need to build
up a repository with as many POMs as we can. I do this in a round about
way with the plexus plugin where I want the dep graphs of each component
to find what it needs. Eventually when we get the POMs into the
repostiory we will be able to simply specify direct dependencies. We
just don't have the information yet to do this.

> This would also allow maven to "find" dependencies of dependencies.
> For example, if my project AAA has a dependency on another maven project
> BBB, which depends on c.jar and d.jar, then I only have to have
> <dependency>
>    <projectid>BBB</projectid>
>    <version>SNAPSHOT</version>
> </dependency>
> in my project.xml, and the c.jar and d.jar will be included in my
> dependency list.
> 
> Also, if project B decides to add b3.jar to the next SNAPSHOT, then my
> project automatically gets notified and b3.jar is downloaded the next time
> I run maven.
> 
> I guess the catch is that there would have to be a dependency-1.0.xml in
> the repository as well as the jar so that this info could be automatically
> recovered. Alternatively, I suppose the entire project.xml file could be
> put there, but that might be too much. Probably there would have to be a
> check for circular dependences as well.
> 
> just a thought,
> Philip
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to