On 7/4/06, Ralph Goers <[EMAIL PROTECTED]> wrote:
Carlos Sanchez wrote: > If project A says it depends on B 1.0 and C says it depends on B 1.1, > there's a conflict in Maven, Ant and anything you want to use, the > difference is that Maven tries to do it for you, but you still can > override that behaviour. Actually, you can't in Maven 2 - at least not in any rational manner - until http://jira.codehaus.org/browse/MNG-1577 is addressed. The good news is that there is a strong desire to move to Maven 2 in my organization, so I may be given some time soon to do something about this.
Yes you can, it's not the best way to do it but you can, by adding explicitly the dependency with the versoin you want to your pom. In the very worst case you have to add all transitive deendencies to your pom, like in Maven 1.
However, this isn't even the biggest problem that has been hampering the Cocoon community. It is that there seems to be at best a 50% chance of getting a Maven 2 based Cocoon build to work due to dependencies failing to download from repositories. Cocoon also consistently uses snapshot versions of some of its dependencies. While this isn't desirable, it is a fact of life. From Cocoon's perspective we really need to treat them like they are a "private" release - i.e. they weren't formally released from wherever they came from, but we don't want to have to download them at every build since they will never change.
You can publish that releases under your groupId, anything you want, you can't force things to happen under other groupIds. If the other projects don't want to make a release it doesn't matter if you use maven or anything else.
Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]