You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Raible <mr...@gmail.com> on 2006/02/08 07:32:21 UTC
[m2 ant] Why is commons-collections 2.1 chosen over 3.1
It seems logical to me that commons-collections 3.1 should be chosen
over commons-collections 2.1. Unfortunately, it looks like Hibernate
overrides HtmlUnit. Any idea why? I'm using the 2.0.2 Ant Tasks.
org.hibernate:hibernate:jar:3.1 (selected)
dom4j:dom4j:jar:1.6 (selected)
ehcache:ehcache:jar:1.1 (selected)
cglib:cglib:jar:2.1_3 (selected)
asm:asm:jar:1.5.3 (selected)
commons-collections:commons-collections:jar:2.1.1 (selected)
asm:asm:jar:1.5.3 (selected)
antlr:antlr:jar:2.7.6rc1 (selected)
geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4 (selected)
displaytag:displaytag:jar:1.0 (selected)
javax.servlet:jstl:jar:1.0.2 (selected)
log4j:log4j:jar:1.2.8 (selected)
taglibs:standard:jar:1.0.4 (selected)
commons-lang:commons-lang:jar:2.0 (selected)
itext:itext:jar:0.99 (selected)
commons-beanutils:commons-beanutils:jar:1.6.1 (selected)
commons-logging:commons-logging:jar:1.0 (removed - nearer found: 1.0.4)
commons-collections:commons-collections:jar:2.0 (removed - nearer found: 2
.1.1)
uk.ltd.getahead:dwr:jar:1.0 (selected)
org.springframework:spring:jar:1.2.6 (selected)
commons-lang:commons-lang:jar:2.0 (selected)
opensymphony:sitemesh:jar:2.2.1 (selected)
org.codehaus.cargo:cargo-ant:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-orion:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-api-container:jar:0.7 (selected)
ant:ant:jar:1.5.4 (selected)
org.codehaus.cargo:cargo-core-api-module:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-api-util:jar:0.7 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
geronimo-spec:geronimo-spec-j2ee-deployment:jar:1.1-rc4 (selected)
org.codehaus.cargo:cargo-core-api-generic:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-tomcat:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-jboss:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-weblogic:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-resin:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-jetty:jar:0.7 (selected)
org.codehaus.cargo:cargo-core-container-jo:jar:0.7 (selected)
javax.servlet:jstl:jar:1.0.2 (removed - nearer found: 1.1.2)
javax.servlet:jstl:jar:1.1.2 (selected)
com.canoo:webtest:jar:1168 (selected)
htmlunit:htmlunit:jar:1.8-SNAPSHOT (selected)
commons-jelly:commons-jelly-tags-log:jar:1.0 (selected)
commons-codec:commons-codec:jar:1.3 (selected)
commons-jelly:commons-jelly:jar:1.0 (selected)
commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4
)
javax.servlet:servlet-api:jar:2.3 (removed - nearer found: 2.4)
commons-collections:commons-collections:jar:2.1 (removed - nearer found:
2.1.1)
dom4j:dom4j:jar:1.5.2 (removed - nearer found: 1.6)
forehead:forehead:jar:1.0-beta-5 (selected)
javax.servlet:jstl:jar:1.0.6 (removed - nearer found: 1.1.2)
xerces:xerces:jar:2.2.1 (selected)
jaxen:jaxen:jar:1.1-beta-4 (selected)
jaxen:jaxen:jar:1.1-beta-4 (removed - causes a cycle in the graph)
dom4j:dom4j:jar:1.5.2 (removed - nearer found: 1.6)
jdom:jdom:jar:b10 (selected)
xom:xom:jar:1.0b3 (selected)
xerces:xmlParserAPIs:jar:2.6.1 (selected)
org.ccil.cowan.tagsoup:tagsoup:jar:0.9.7 (selected)
xerces:xercesImpl:jar:2.2.1 (removed - nearer found: 2.6.2)
xalan:xalan:jar:2.6.0 (selected)
com.ibm.icu:icu4j:jar:2.6.1 (selected)
xerces:xmlParserAPIs:jar:2.6.1 (removed - nearer found: 2.6.2)
xerces:xmlParserAPIs:jar:2.6.2 (selected)
commons-cli:commons-cli:jar:1.0 (selected)
commons-logging:commons-logging:jar:1.0 (removed - nearer found: 1.0.4
)
commons-lang:commons-lang:jar:1.0 (removed - nearer found: 2.0)
commons-beanutils:commons-beanutils:jar:1.6 (removed - nearer found: 1.6
.1)
commons-discovery:commons-discovery:jar:20030211.213356 (selected)
junit:junit:jar:3.7 (removed - nearer found: 3.8.1)
commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0
.4)
commons-jexl:commons-jexl:jar:1.0 (selected)
gsbase:gsbase:jar:2.0.1 (selected)
junitperf:junitperf:jar:1.8 (selected)
junitperf:junitperf:jar:1.8 (selected)
commons-httpclient:commons-httpclient:jar:3.0 (selected)
commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4
)
commons-codec:commons-codec:jar:1.2 (removed - nearer found: 1.3)
rhino:js:jar:1.6R2 (selected)
commons-beanutils:commons-beanutils:jar:1.7.0 (removed - nearer found: 1.6
.1)
jaxen:jaxen:jar:1.1-beta-4 (removed - nearer found: 1.1-beta-8)
jaxen:jaxen:jar:1.1-beta-8 (selected)
jaxen:jaxen:jar:1.1-beta-6 (removed - causes a cycle in the graph)
dom4j:dom4j:jar:1.6.1 (removed - nearer found: 1.6)
jaxen:jaxen:jar:1.0-FCS (removed - causes a cycle in the graph)
jdom:jdom:jar:1.0 (selected)
xom:xom:jar:1.0b3 (selected)
xerces:xmlParserAPIs:jar:2.6.1 (selected)
org.ccil.cowan.tagsoup:tagsoup:jar:0.9.7 (selected)
xerces:xercesImpl:jar:2.2.1 (removed - nearer found: 2.6.2)
xalan:xalan:jar:2.6.0 (selected)
com.ibm.icu:icu4j:jar:2.6.1 (selected)
xerces:xmlParserAPIs:jar:2.6.1 (removed - nearer found: 2.6.2)
xerces:xmlParserAPIs:jar:2.6.2 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
commons-jelly:commons-jelly-tags-junit:jar:1.0 (selected)
commons-collections:commons-collections:jar:3.1 (removed - nearer found: 2
.1.1)
^^^^
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2 ant] Why is commons-collections 2.1 chosen over 3.1
Posted by Arnaud HERITIER <ah...@gmail.com>.
In all cases you'll have a problem because 2.1 and 3.1 are binary incompatible.
http://jakarta.apache.org/commons/collections/compatibility.html
Arnaud
On 2/8/06, Matt Raible <mr...@gmail.com> wrote:
> (Sorry, didn't mean to take this off list)
>
> OK, I created an upload bundle and sent a message to the webtest guys.
> Hopefully everyone can come to a reasonable resolution.
>
> http://lists.canoo.com/pipermail/webtest/2006q1/005371.html
>
> Thanks,
>
> Matt
>
> On 2/7/06, Brett Porter <br...@gmail.com> wrote:
> > > Excluding it from Hibernate works, but forcing it sounds better. Can
> > > I do that in my htmlunit pom?
> >
> > You can include it in the end project with the desired version (but
> > that tends to be a "fake" dependency, so it's not really recommended).
> > You can also set a range in the htmlunit POM if it really requires
> > that version: [3.1,)
> >
> > If htmlunit doesn't actually require 3.1, the solution is to fix it on
> > your end as its really a distribution decision then.
> >
> > > Also, what's the policy on SNAPSHOTs?
> > > I'd like to get a POM uploaded for Canoo WebTest 1168, but it depends
> > > on htmlunit-1.8-SNAPSHOT (20060131).
> >
> > No snapshots on ibiblio. We can probably make a timestamped release
> > available, but I'd much prefer to interact with Canoo WebTest and
> > HTMLUnit to avoid that happening (to actually cut a tagged release).
> >
> > - Brett
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2 ant] Why is commons-collections 2.1 chosen over 3.1
Posted by Matt Raible <mr...@gmail.com>.
(Sorry, didn't mean to take this off list)
OK, I created an upload bundle and sent a message to the webtest guys.
Hopefully everyone can come to a reasonable resolution.
http://lists.canoo.com/pipermail/webtest/2006q1/005371.html
Thanks,
Matt
On 2/7/06, Brett Porter <br...@gmail.com> wrote:
> > Excluding it from Hibernate works, but forcing it sounds better. Can
> > I do that in my htmlunit pom?
>
> You can include it in the end project with the desired version (but
> that tends to be a "fake" dependency, so it's not really recommended).
> You can also set a range in the htmlunit POM if it really requires
> that version: [3.1,)
>
> If htmlunit doesn't actually require 3.1, the solution is to fix it on
> your end as its really a distribution decision then.
>
> > Also, what's the policy on SNAPSHOTs?
> > I'd like to get a POM uploaded for Canoo WebTest 1168, but it depends
> > on htmlunit-1.8-SNAPSHOT (20060131).
>
> No snapshots on ibiblio. We can probably make a timestamped release
> available, but I'd much prefer to interact with Canoo WebTest and
> HTMLUnit to avoid that happening (to actually cut a tagged release).
>
> - Brett
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2 ant] Why is commons-collections 2.1 chosen over 3.1
Posted by Brett Porter <br...@gmail.com>.
"Nearer" means closer in the tree, not newer. It used to be newer, and
I really should have kept it that way.
Making that configurable is a feature planned for 2.1. You can exclude
commons-collections from the hibernate dependency, or you can include
it with a forced version.
- Brett
On 2/8/06, Matt Raible <mr...@gmail.com> wrote:
> It seems logical to me that commons-collections 3.1 should be chosen
> over commons-collections 2.1. Unfortunately, it looks like Hibernate
> overrides HtmlUnit. Any idea why? I'm using the 2.0.2 Ant Tasks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org