Here's my dependency tree:
[INFO] [dependency:tree]
[INFO] de.mycompany.myproject:war:2.3.1
[INFO] +- junit:junit:jar:3.8.1:test (scope not updated to compile)
[INFO] +- de.mycompany:myproject2:jar:1.1.5:compile
[INFO] | \- commons-digester:commons-digester:jar:1.6:compile
--------------------------------------------
[INFO] +- org.openlaszlo:openlaszlo:pom:3.2:compile
[INFO] | +- axis:axis:jar:1.4:runtime (version managed from 1.2.1; scope
managed from compile)
[INFO] | | \- axis:axis-jaxrpc:jar:1.4:runtime
[INFO] | +- xmlrpc:xmlrpc:jar:1.2-b1:runtime
[INFO] | +- xpp3:xpp3:jar:1.1.3.3:runtime (version managed from 1.1.3.4d_b4)
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.6.1:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.0:runtime> (version
managed from 2.0-rc1; scope managed from runtime)
--------------------------------------------
[INFO] | +- commons-jexl:commons-jexl:jar:1.0-dev:runtime
[INFO] | +- batik:batik-svggen:jar:1.0:runtime
[INFO] | +- jython:jython:jar:2.1:runtime
[INFO] | +- jakarta-regexp:jakarta-regexp:jar:1.4:runtime (version managed
from 1.2)
[INFO] | +- isorelax:isorelax:jar:1.0:runtime
[INFO] | +- org.openlaszlo:openlaszlo-saxon:jar:6.5.3-lz-p1:compile
[INFO] | +- org.openlaszlo:openlaszlo-swflib:jar:1.0:runtime
[INFO] | +- org.openlaszlo:openlaszlo-thaiopensource-jing:jar:1.0:runtime
[INFO] | \- org.openlaszlo:openlaszlo-lps:jar:3.2:compile
[INFO] +- org.springframework:spring:jar:1.2.3:compile
[INFO] +- commons-logging:commons-logging:jar:1.0.4:compile
[INFO] +- commons-configuration:commons-configuration:jar:1.3:compile
[INFO] | +- commons-collections:commons-collections:jar:3.1:compile (version
managed from 2.0)
[INFO] | +- commons-logging:commons-logging-api:jar:1.0.4:compile
[INFO] | +- commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
[INFO] | +- commons-codec:commons-codec:jar:1.3:compile
[INFO] | +- commons-jxpath:commons-jxpath:jar:1.2:compile
[INFO] | | +- xerces:xerces:jar:1.2.3:compile
[INFO] | | \- ant:ant-optional:jar:1.5.1:compile
[INFO] | +- xerces:xercesImpl:jar:2.8.1:compile (version managed from 2.2.1)
[INFO] | +- xalan:xalan:jar:2.7.0:compile
[INFO] | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] +- javax.transaction:jta:jar:1.1:runtime>
[INFO] +- javax.servlet:servlet-api:jar:2.4-20040521:provided
[INFO] +- javax.xml:jaxrpc-api:jar:1.1:runtime
[INFO] +- org.springframework:spring-mock:jar:1.2.3:test
[INFO] | +- org.springframework:spring-jdbc:jar:1.2.3:test
[INFO] | | +- org.springframework:spring-dao:jar:1.2.3:test
[INFO] | | | \- jotm:jotm:jar:2.0.10:test
[INFO] | | | +- jotm:jotm_jrmp_stubs:jar:2.0.10:test
[INFO] | | | +- javax.resource:connector:jar:1.0:test
[INFO] | | | +- org.objectweb.carol:carol:jar:2.0.5:test
[INFO] | | | \- howl:howl-logger:jar:0.1.11:test
[INFO] | | +- org.springframework:spring-beans:jar:1.2.3:test
[INFO] | | | +- org.springframework:spring-core:jar:1.2.3:test
[INFO] | | | \- cglib:cglib:jar:2.1_2:test
[INFO] | | +- c3p0:c3p0:jar:0.9.0:test
[INFO] | | \- com.experlog:xapool:jar:1.5.0:test
[INFO] | \- org.springframework:spring-web:jar:1.2.3:test
[INFO] | +- javax.faces:jsf-api:jar:1.1:test
[INFO] | +- javax.servlet:jsp-api:jar:2.0:test
[INFO] | +- org.springframework:spring-context:jar:1.2.3:test
[INFO] | | +- org.springframework:spring-aop:jar:1.2.3:test
[INFO] | | | +- aopalliance:aopalliance:jar:1.0:test
[INFO] | | | +- commons-attributes:commons-attributes-api:jar:2.1:test
[INFO] | | | | +- ant:ant:jar:1.6.2:test (version managed from 1.5)
[INFO] | | | | \- qdox:qdox:jar:1.5:test
[INFO] | | | +-
commons-attributes:commons-attributes-compiler:jar:2.1:test
[INFO] | | | | \- com.sun:tools:jar:1.4.2:system
[INFO] | | | \- com.jamonapi:jamon:jar:1.0:test
[INFO] | | +- velocity:velocity:jar:1.4:test
[INFO] | | | \- velocity:velocity-dep:jar:1.4:test
[INFO] | | +- freemarker:freemarker:jar:2.3.3:test
[INFO] | | \- jasperreports:jasperreports:jar:1.0.0:test
[INFO] | +- struts:struts:jar:1.2.7:compile (scope managed from test)
[INFO] | | +- commons-chain:commons-chain:jar:1.0:compile
[INFO] | | +- commons-fileupload:commons-fileupload:jar:1.0:compile
[INFO] | | +- commons-validator:commons-validator:jar:1.3.1:compile
(version managed from 1.1.4)
[INFO] | | \- oro:oro:jar:2.0.8:compile
[INFO] | +- com.servlets:cos:jar:05Nov2002:test
[INFO] | +- taglibs:standard:jar:1.0.6:test
[INFO] | \- javax.servlet:jstl:jar:1.1.2:compile (version managed from 1.0;
scope managed from test)
[INFO] +- commons-discovery:commons-discovery:jar:0.2:compile
[INFO] +- axis:axis-saaj:jar:1.2:compile
[INFO] +- axis:axis-wsdl4j:jar:1.5.1:compile
-----------------
So it seems that the reason is:
[INFO] +- org.openlaszlo:openlaszlo:pom:3.2:compile
[INFO] | +- axis:axis:jar:1.4:runtime (version managed from 1.2.1; scope
managed from compile)
For whatever reason Maven uses axis 1.4 instead of 1.2.1, and this then wants
commons-httpclient 3.0
But in the openlazlo pom I definied:
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
<version>1.2.1</version>
</dependency>
I even tried <version>[1.2.1]</version>, which then fails:
No versions are present in the repository for the artifact with a range [1.2.1,1
.2.1]
axis:axis:jar:null
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
...
This is really weird! It DOES exist on repo1, and it even exists in my local
repo. Last but not least, if you have a look at:
http://repo1.maven.org/maven2/axis/axis/1.4/axis-1.4.pom
That pom doesn't say a word about "commons-httpclient" - at all!!!
I am hopeless... :-(
Stefanie
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]