-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

See my response inline.

Maarten Coene wrote:
<snip/>
|
| What we need is the following (which is all supported by Ivy):
| - a repository layout which is different from the standard
maven/maven2 layout on ibiblio

We have two layouts currently: legacy (maven 1.x style) and default
(groupIdPart0/../groupIdPartN/artifactId/version/). If you need a
different style, you can easily implement ArtifactRepositoryLayout from
maven-artifact, and then creating a component descriptor for that new
layout. From there, it's a simple case of specifying which <layout/> to
use inside your POMs <repository/>. Contact me for details if you're
interested.

| - transitive dependency support

We've already got it.

| - support for resolving dependencies like "get me the latest 2.x revision"

We're referring to this as version range support, and it's coming in the
2.0-beta-1 release. I'm pretty sure that Brett's already done some
coding around it, but I can assure you that we've already done quite a
bit of design work for it. See

http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

for more information.

| - version conflict management: "how do we deal with 2 dependencies
with different versions, like 'commons-lang-2.0.jar and
commons-lang-2.1.jar'

The above URL also touches on version conflict management. We've already
~ done some work around this, too, and it'll be coming soon. As you might
guess, a full implementation of conflict management is dependent on the
version ranges implementation.

| - different scopes of dependencies

We support this. However, we do not allow arbitrary dependency scope
names currently, because we believe it muddies the water WRT transitive
dependency resolution. For example, if I'm using a set of scopes where
'foo' marks a dependency as test scope, how will your project (which
uses 'test' to flag the same thing) be able to traverse my POM and
correctly determine which are test-only dependencies?

HTH,

john
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC0+vcK3h2CZwO/4URAoQaAKCTjEXDEgjLO4CUGLSUBPaM53vVlQCfUbW1
2oJXZz1F9bkiP9x3iDp+VlU=
=CNHP
-----END PGP SIGNATURE-----

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

  • Re: Dependency management in maven 2 John Casey

Reply via email to