Hey,
 I know it is a silly question but I'm facing the following problem:
when I'm trying to build axis-1.5.1 from the source with maven2 (mvn
install as in /1/) it fails due to it could not download the dependencies.

 - See:

http://ws.zones.apache.org/repository2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom
[INFO] Unable to find resource
'org.apache.maven.shared:file-management:pom:1.2' in repository ws-zones
(http://ws.zones.apache.org/repository2)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom
Downloading:
http://ws.zones.apache.org/repository2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
[INFO] Unable to find resource
'org.apache.maven.shared:maven-shared-io:pom:1.1' in repository ws-zones
(http://ws.zones.apache.org/repository2)
Downloading:
http://ws.zones.apache.org/repository2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
[INFO] Unable to find resource
'org.apache.maven.shared:maven-shared-io:pom:1.1' in repository
apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
[INFO] Unable to find resource
'org.apache.maven.shared:maven-shared-io:pom:1.1' in repository
tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository)
Downloading:
http://repo1.maven.org/eclipse/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
[INFO] Unable to find resource
'org.apache.maven.shared:maven-shared-io:pom:1.1' in repository
eclipse-repo (http://repo1.maven.org/eclipse)
etc. ...

 - afterwards it stops with:


[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

error: error reading
/home/kadmin/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar;
error in opening zip file
error: error reading
/home/kadmin/.m2/repository/org/apache/ws/commons/axiom/axiom-impl/1.2.8/axiom-impl-1.2.8.jar;
error in opening zip file
error: error reading

I guess I'm using a wrong repository although I did not change anything
of the defaults coming along with axis2-1.5.1-src.zip.

This leads me to another question,
 how did you set up your axis2 build environment?


(I'm aware of Maven HowTos, eg.
http://maven.apache.org/run-maven/index.html and
http://ws.apache.org/axis2/maven-help.html /1/, but they didn't helped
me further)

Thanks and Regards,
 Patrick

Reply via email to