This is a recent thing that is happening. We have an older dependency on
jencks, and jencks pom specifies a maven repository url that we no longer
maintain. Unfortunately, a domain squatter now owns servicemix.org and is
serving up html in place of requested jar files. You will have to clean out
your maven repo, or at least grep for "trucks" or some unique text like that
from the http://servicemix.org web page and remove any found files. No, I
am not kidding. :-(
We'll have to fix the SMX 3 branches of this issue, but in the mean time,
you can try adding this to your higher level poms to fake maven out of
attempting the bad url. If you see that "error opening zip file" message
this is most likely the cause.
<!--This is a hack to short circuit the jencks 2.1 problem with
servicemix.org repo
It can probably be deleted if we update to jencks 2.2 in
ServiceMix 3.3.x -->
<repository>
<id>servicemix-repo</id>
<name>ServiceMix Repository</name>
<url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
Let me know if this works out for you.
Thanks,
Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org
On Thu, Sep 24, 2009 at 2:59 PM, Brian Nielsen <[email protected]> wrote:
> Hi ServiceMixers
>
> Since I've had problems running some of the samples I wanted to build it
> all from source, but unfortunately I've run it some other problems. Any
> Ideas as howto work around this?
>
> Sysinfo
>
> /opt/apache-maven-2.2.1/bin/mvn -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.5.0_09
> Java home: /opt/jdk1.5.0_09/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.27.30-170.2.82.fc10.x86_64" arch: "i386"
> Family: "unix"
>
> I ends with the error
>
> error: error reading
> /home/<user>/.m2/repository/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar;
> error in opening zip file
>
> and before the following warnings come
>
> Here's the warnings
> [WARNING] POM for 'commons-pool:commons-pool:pom:1.3:runtime' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.springframework:spring-dao:pom:2.0.6:runtime' is
> invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.springframework:spring-support:pom:2.0.6:runtime' is
> invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'commons-collections:commons-collections:pom:2.1:runtime'
> is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'commons-pool:commons-pool:pom:1.2:runtime' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'xerces:xerces:pom:2.0.2:runtime' is invalid.
> Its dependencies (if any) will NOT be available to the current build.
> Downloading:
> http://repository.apache.org/snapshots/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository
> apache.snapshots (http://repository.apache.org/snapshots)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository servicemix.m2 (
> http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository
> apache.incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
> http://repository.codehaus.org/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository codehaus (
> http://repository.codehaus.org)
> Downloading:
> http://download.java.net/maven/1/org.springframework/jars/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository java.net (
> http://download.java.net/maven/1)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository
> servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> [INFO] Unable to find resource
> 'org.springframework:spring-support:jar:2.0.6' in repository
> apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
> http://servicemix.org/m2-repo/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> 8K downloaded (spring-support-2.0.6.jar)
>
>
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '1559863a375499e55c9adee606c51a69e546b69a'; remote = '<!DOCTYPE' - RETRYING
> Downloading:
> http://servicemix.org/m2-repo/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar
> 8K downloaded (spring-support-2.0.6.jar)
>
>
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '1559863a375499e55c9adee606c51a69e546b69a'; remote = '<!DOCTYPE' - IGNORING
>
>
>
> Brgds
> Brian
>
>