[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-dev
Subject:    Re: Added dependency types feature...
From:       Jason van Zyl <jason () zenplex ! com>
Date:       2002-07-31 21:11:49
[Download RAW message or body]

On Thu, 2002-08-01 at 01:10, James Strachan wrote:

> These changes are pretty minor and should be easy to rollback if anyone has
> any issues with them. Thoughts?

If its a stopgap measure to help with something you're having issues
with then that's fine. But for compile vs runtime I would like that to
eventually be sorted out by the shared project database. For maintenance
and even for generating reports the run time deps should come from some
form of analysis.

As for testing, I think we should move toward a separate <test/> element
as we have pieces of testing information scattered throughout the POM
right now. Requiring Junit, or whatever else might eventually be used,
in the dependencies is questionable to me and having the the test
directories stated in the build is a bit quirky too I think. I think
having the testing policy summed in a <test/> element would be more
clear.

There are elements required for testing so I think that grouping this
together would make sense. Also, in reference to Nathan's previous email
it would probably make sense to have a deployment element so things like
tlds can be included.

I think within the <test/> and <deployment/> elements the dependencies
can look the same but the type could be inferred. So, various resources
are required for compile time, run time, testing, and deployment.

For clarity, and ease of reporting, the <dependencies/> element would
really mean compile time dependencies. The run time dependencies will be
figured out. The testing dependencies can be stated in a <test/> element
as can deployment dependencies. Not sure at the moment where the
catchall would be, but I'm not sure there are many dependencies that are
outside compile time, run time, testing and deployment.
 
> James
> -------
> http://james.weblogger.com/
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-help@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jason@apache.org
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:turbine-maven-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic