Re: Building axis2-1.5.1 with maven2 fails, due to wrong repos?

2010-01-13 Thread Andreas Veithen
Now I remember. The problem occurs because java.net messed up their
repository. On the trunk we fixed that [1]. You will have to do the
same change to the 1.5.1 sources (or set up something in your Maven
settings.xml to override the settings in Axis2).

Andreas

[1] 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/parent/pom.xml?r1=835405&r2=835404&pathrev=835405

On Wed, Jan 13, 2010 at 14:01, Patrick Kirsch  wrote:
> Andreas Veithen schrieb:
>> Maybe it helps to empty the
>> /home/kadmin/.m2/repository/org/apache/ws/commons/axiom folder to
>> force Maven to download the corrupted artifacts again.
> Well it turns out that:
> /home/kadmin/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
> contains:
> 301 Moved Permanently
> 
> Moved Permanently
> The document has moved  href="http://download.java.net/maven/1/org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar";>here.
> 
> Apache Server at maven-repository.dev.java.net Port 443
>
> BUT, the given redirect results on the host download.java.net in 404:
>
> Not Found
> The requested object does not exist on this server. The link you
> followed is either outdated, inaccurate, or the server has been
> instructed not to let you have it.
>
> Now, I see none of the requested mirrors does provide the axiom package
> in this version 1.2.8.
> requested are: http://ws.zones.apache.org/repository2,
> http://tomcat.apache.org/dev/dist/m2-repository,
> http://repo1.maven.org/eclipse.
>
> See:
> http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
> [INFO] Unable to find resource
> 'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository ws-zones
> (http://ws.zones.apache.org/repository2)
> Downloading:
> http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
> [INFO] Unable to find resource
> 'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
> apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
> Downloading:
> http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
> [INFO] Unable to find resource
> 'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
> tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository)
> Downloading:
> http://repo1.maven.org/eclipse/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
> [INFO] Unable to find resource
> 'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
> eclipse-repo (http://repo1.maven.org/eclipse)
> Downloading:
> https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar
> 373b downloaded  (axiom-api-1.2.8.jar)
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '047b09bdb4cff4f03d94f2390bc3fa79c659ec99'; remote = ' Downloading:
> https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar
> 373b downloaded  (axiom-api-1.2.8.jar)
>
> Does anyone catches this problem?
>>
>> Andreas
> Regards,
>  Patrick
>


Re: Building axis2-1.5.1 with maven2 fails, due to wrong repos?

2010-01-13 Thread Patrick Kirsch
Andreas Veithen schrieb:
> Maybe it helps to empty the
> /home/kadmin/.m2/repository/org/apache/ws/commons/axiom folder to
> force Maven to download the corrupted artifacts again.
Well it turns out that:
/home/kadmin/.m2/repository/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
contains:
301 Moved Permanently

Moved Permanently
The document has moved http://download.java.net/maven/1/org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar";>here.

Apache Server at maven-repository.dev.java.net Port 443

BUT, the given redirect results on the host download.java.net in 404:

Not Found
The requested object does not exist on this server. The link you
followed is either outdated, inaccurate, or the server has been
instructed not to let you have it.

Now, I see none of the requested mirrors does provide the axiom package
in this version 1.2.8.
requested are: http://ws.zones.apache.org/repository2,
http://tomcat.apache.org/dev/dist/m2-repository,
http://repo1.maven.org/eclipse.

See:
http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
[INFO] Unable to find resource
'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository ws-zones
(http://ws.zones.apache.org/repository2)
Downloading:
http://ws.zones.apache.org/repository2/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
[INFO] Unable to find resource
'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
[INFO] Unable to find resource
'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository)
Downloading:
http://repo1.maven.org/eclipse/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
[INFO] Unable to find resource
'org.apache.ws.commons.axiom:axiom-api:jar:1.2.8' in repository
eclipse-repo (http://repo1.maven.org/eclipse)
Downloading:
https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar
373b downloaded  (axiom-api-1.2.8.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'047b09bdb4cff4f03d94f2390bc3fa79c659ec99'; remote = 'https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.axiom/jars/axiom-api-1.2.8.jar
373b downloaded  (axiom-api-1.2.8.jar)

Does anyone catches this problem?
> 
> Andreas
Regards,
 Patrick


Re: Building axis2-1.5.1 with maven2 fails, due to wrong repos?

2010-01-13 Thread Andreas Veithen
Maybe it helps to empty the
/home/kadmin/.m2/repository/org/apache/ws/commons/axiom folder to
force Maven to download the corrupted artifacts again.

Andreas

On Wed, Jan 13, 2010 at 12:14, Patrick Kirsch  wrote:
> 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
>