You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jonathan Bender <jo...@gmx.de> on 2009/10/19 21:02:24 UTC

Build/Compilation Failure and Warnings

Hello,

I'm learning Servicemix by going through the tutorials. Chapter 1 and 2 are successfully done, but right now, I have 2 problems and I'm grateful for any advice:

1. General question: Even if the examples from chapter 1 and 2 worked, I always get warnings of the type "Its dependencies (if any) will NOT be available to the current build." and "Unable to find resource...". Is that a problem, which may even be the reason for my next issue?

2. The servicemix-camel example in chapter 3 just won't work: I followed the steps for creating the tutorial-camel-su and tutorial-camel-sa projects and set the dependency in the SA's pom.xml-file.
When building the projects with the command "mvn install" from parent directory, I get the error message. Since I'm not sure, which part of the build log-output you need, here is the whole log output:


D:\...\Maven Projects\Tutorial_Camel>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tutorial :: Camel
[INFO]   Tutorial :: Camel SU
[INFO]   Tutorial :: Camel SA
[WARNING] POM for 'org.springframework:spring-beans: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-core:pom:2.0.6: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 'org.springframework:spring-context: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-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 'xerces:xerces:pom:2.0.2:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial :: Camel
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing D:\...\Maven Projects\Tutorial_Camel\pom.xml to C:\...\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial :: Camel SU
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 1 resource
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/org.apache.santuario/poms/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository java.net (http://download.java.net/maven/1)
Downloading: http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/)
Downloading: http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository maven2 (http://repo1.maven.org/maven2/)
Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
[INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository central (http://repo1.maven.org/maven2)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/bouncycastle/poms/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository java.net (http://download.java.net/maven/1)
Downloading: http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/)
Downloading: http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository maven2 (http://repo1.maven.org/maven2/)
Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
[INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository central (http://repo1.maven.org/maven2)
[WARNING] POM for 'commons-logging:commons-logging:pom:1.0.4:provided' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.1.1:provided' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0.1:provided' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-pool:commons-pool:pom:1.3:provided' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-collections:commons-collections:pom:2.1:provided' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [jbi:generate-depends-file {execution: default-generate-depends-file}]
[INFO] Created: D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

error: error reading C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file

error: error reading C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
error: error reading C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in opening zip file

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Mon Oct 19 20:29:20 CEST 2009
[INFO] Final Memory: 24M/43M
[INFO] ------------------------------------------------------------------------
-- 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: Build/Compilation Failure and Warnings

Posted by Milos <mi...@zesium.com>.
Hi Johnatan
I don't know are you still in this problem, but, being noob, I have also
came to same problem. And I think I have solved it, cowboy style... Just, go
and download manually each jar and pom file needed, and copy it into the .m2
folder, on the appropriate place. Works for me.

Hope this will be helpful
Milos


Jonathan Bender wrote:
> 
> ok, last attempt. Can anyone provide further help with my problem?
> 
> -------- Original-Nachricht --------
>> Datum: Mon, 26 Oct 2009 09:11:19 +0100
>> Von: "Jonathan Bender" <jo...@gmx.de>
>> An: users@servicemix.apache.org
>> Betreff: Re: Build/Compilation Failure and Warnings
> 
>> I'm still not able to get it running. Was it wrong to add the
>> repository-snippet to the parent pom.xml? (see last post)
>> 
>> 
>> -------- Original-Nachricht --------
>> > Datum: Wed, 21 Oct 2009 15:39:52 +0200
>> > Von: "Jonathan Bender" <jo...@gmx.de>
>> > An: users@servicemix.apache.org
>> > Betreff: Re: Build/Compilation Failure and Warnings
>> 
>> > I have to admit, the problem is still not solved: Here is what I've
>> done: 
>> > Adding the <repository>-snippet (from your linked solution) to pom.xml
>> in
>> > parent directory "...\Maven Projects\Tutorial_Camel", which now looks
>> like
>> > this:
>> > 
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <project xmlns="http://maven.apache.org/POM/4.0.0"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > http://maven.apache.org/maven-v4_0_0.xsd">
>> >   <modelVersion>4.0.0</modelVersion>
>> >   <groupId>org.apache.servicemix.tutorial.camel</groupId>
>> >   <artifactId>parent</artifactId>
>> >   <version>1.0-SNAPSHOT</version>
>> >   <packaging>pom</packaging>
>> >   <name>Tutorial :: Camel</name>
>> >   <url>http://servicemix.apache.org</url>
>> >   
>> >   <repositories>
>> >     <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>   
>> >   </repositories>
>> >   
>> >   <modules>
>> >     <module>tutorial-camel-su</module>
>> >     <module>tutorial-camel-sa</module>
>> >   </modules>
>> > </project>
>> > 
>> > 
>> > The parent directory "Tutorial_Camel" contains the subdirectories
>> > "tutorial-camel-su" and "tutorial-camel-sa", created by the mvn
>> archetype:create
>> > command. So, in the end, only the command "mvn install" from parent
>> directory
>> > is left to be done and that should be it, right?
>> > 
>> > -> Do I always get the same results with the commands "mvn install" and
>> > "mvn jbi:projectDeploy"? Maybe I should try to deploy/install the SU
>> and
>> SA
>> > with the latter command? 
>> > -> While the output still shows a lot of errors/warnings of type
>> "Unable
>> > to find resource ... in repository ...", the output shows a different
>> reason
>> > for the build error, compared to the outputs before. Again, here is an
>> > excerpt:
>> > 
>> > [INFO] Scanning for projects...
>> > [INFO] Reactor build order: 
>> > [INFO]   Tutorial :: Camel
>> > [INFO]   Tutorial :: Camel SU
>> > [INFO]   Tutorial :: Camel SA
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
>> > [INFO] Unable to find resource
>> > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
>> repository
>> apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
>> > 4/6K6/6K6K downloaded  (jbi-maven-plugin-3.2.3.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
>> > [INFO] Unable to find resource
>> > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
>> > 2/2K2K downloaded  (tooling-3.2.3.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
>> > [INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3'
>> in
>> > repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
>> > 4/7K7/7K7K downloaded  (parent-3.2.3.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
>> > [INFO] Unable to find resource
>> > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
>> >
>> 4/89K8/89K12/89K13/89K17/89K21/89K25/89K29/89K32/89K35/89K39/89K41/89K45/89K49/89K52/89K56/89K57/89K61/89K62/89K66/89K70/89K74/89K75/89K79/89K83/89K87/89K89/89K89K
>> > downloaded  (servicemix-3.2.3.pom)
>> > Downloading:
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
>> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
>> > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
>> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
>> > apache-incubating
>> (http://people.apache.org/repo/m2-incubating-repository)
>> > Downloading:
>> > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
>> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
>> > codehaus (http://repository.codehaus.org)
>> > Downloading:
>> http://download.java.net/maven/1/org.apache/poms/apache-1.pom
>> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
>> > java.net (http://download.java.net/maven/1)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
>> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
>> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
>> > 3/3K3K downloaded  (apache-1.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
>> > [INFO] Unable to find resource
>> > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in
>> repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
>> >
>> 4/109K8/109K9/109K13/109K17/109K19/109K23/109K27/109K29/109K30/109K34/109K37/109K41/109K45/109K46/109K50/109K54/109K58/109K60/109K64/109K66/109K69/109K73/109K74/109K76/109K78/109K82/109K86/109K87/109K88/109K92/109K93/109K94/109K98/109K102/109K103/109K105/109K106/109K109/109K109K
>> > downloaded  (jbi-maven-plugin-3.2.3.jar)
>> > 
>> > .....
>> > 
>> > [INFO] Unable to find resource
>> > 'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9' in repository
>> apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
>> >
>> 4/153K8/153K8/153K9/153K13/153K17/153K18/153K19/153K23/153K27/153K28/153K29/153K33/153K37/153K37/153K41/153K45/153K47/153K50/153K54/153K58/153K60/153K63/153K64/153K68/153K72/153K73/153K76/153K80/153K84/153K88/153K92/153K94/153K98/153K102/153K103/153K105/153K108/153K112/153K116/153K116/153K117/153K121/153K125/153K127/153K131/153K135/153K139/153K140/153K141/153K145/153K146/153K150/153K153/153K153K
>> > downloaded  (plexus-archiver-1.0-alpha-9.jar)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
>> > [INFO] Unable to find resource
>> > 'org.codehaus.plexus:plexus-io:jar:1.0-alpha-1' in repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
>> > 4/11K8/11K10/11K11/11K11K downloaded  (plexus-io-1.0-alpha-1.jar)
>> > [INFO] [jar:jar {execution: default-jar}]
>> > [INFO] Building jar: D:\Informatik\Programmierung\Maven
>> >
>> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar
>> > [INFO] [jbi:jbi-service-unit {execution: default-jbi-service-unit}]
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/logkit/logkit/1.0.1/logkit-1.0.1.pom
>> > [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
>> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo//logkit/logkit/1.0.1/logkit-1.0.1.pom
>> > [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
>> > servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
>> > Downloading:
>> > http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
>> > 147/147b147b downloaded  (logkit-1.0.1.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
>> > [INFO] Unable to find resource
>> > 'avalon-framework:avalon-framework:pom:4.1.3' in repository apache
>> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
>> > [INFO] Unable to find resource
>> > 'avalon-framework:avalon-framework:pom:4.1.3' in repository
>> servicemix-repo
>> > (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
>> > 167/167b167b downloaded  (avalon-framework-4.1.3.pom)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
>> > [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
>> > repository apache
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > Downloading:
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo//javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
>> > [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
>> > repository servicemix-repo
>> > (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
>> > Downloading:
>> >
>> http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
>> > 156/156b156b downloaded  (servlet-api-2.3.pom)
>> > [INFO] Resolving
>> org.apache.servicemix:servicemix-camel:jar:3.2.3:compile
>> > [INFO] Resolving org.apache.camel:camel-core:jar:1.4.0:compile
>> > [INFO] Resolving org.apache.camel:camel-spring:jar:1.4.0:compile
>> > [INFO] Resolving org.springframework:spring-core:jar:2.5.5:compile
>> > [INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
>> > [INFO] Resolving org.springframework:spring-context:jar:2.0.8:compile
>> > [INFO] Resolving aopalliance:aopalliance:jar:1.0:compile
>> > [INFO] Resolving org.springframework:spring-beans:jar:2.0.8:compile
>> > [INFO] Resolving org.springframework:spring-aop:jar:2.5.5:compile
>> > [INFO] Resolving
>> org.apache.servicemix:servicemix-shared:jar:3.2.3:compile
>> > [INFO] Resolving
>> org.apache.servicemix:servicemix-common:jar:3.2.3:compile
>> > [INFO] Resolving wsdl4j:wsdl4j:jar:1.6.2:compile
>> > [INFO] Resolving
>> org.apache.servicemix:servicemix-soap:jar:3.2.3:compile
>> > [INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
>> > [INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
>> > [INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
>> > [INFO] Resolving
>> org.apache.servicemix:servicemix-soap2:jar:3.2.3:compile
>> > [INFO] Resolving org.apache.ws.security:wss4j:jar:1.5.4:compile
>> > [INFO] Resolving org.apache.santuario:xmlsec:jar:1.4.0:compile
>> > [INFO] Resolving opensaml:opensaml:jar:1.1:compile
>> > [INFO] Resolving org.apache.axis:axis-ant:jar:1.4:compile
>> > [INFO] Resolving xalan:xalan:jar:2.7.0:compile
>> > [INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
>> > [INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
>> > [INFO] Resolving junit:junit:jar:3.8.1:compile
>> > [INFO] Resolving bouncycastle:bcprov-jdk13:jar:132:compile
>> > [INFO] Resolving
>> org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile
>> > [INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
>> > [INFO] Resolving log4j:log4j:jar:1.2.12:compile
>> > [INFO] Resolving org.springframework:spring-remoting:jar:2.0.8:compile
>> > [WARNING] Resolved artifact
>> > org.springframework:spring-core:jar:2.5.5:compile has a different
>> version from that in dependency management
>> > org.springframework:spring-core:jar:2.0.6:provided, overriding
>> dependency management
>> > [WARNING] Resolved artifact
>> > org.springframework:spring-beans:jar:2.0.8:compile has a different
>> version from that in dependency management
>> > org.springframework:spring-beans:jar:2.0.6:provided, overriding
>> dependency management
>> > [WARNING] Resolved artifact
>> > commons-logging:commons-logging:jar:1.1:compile has a different version
>> from that in dependency management
>> > commons-logging:commons-logging:jar:1.0.4:provided, overriding
>> dependency management
>> > [WARNING] Resolved artifact
>> > org.springframework:spring-context:jar:2.0.8:compile has a different
>> version from that in dependency management
>> > org.springframework:spring-context:jar:2.0.6:provided, overriding
>> dependency
>> > management
>> > [INFO] Including: log4j:log4j:jar:1.2.12:compile
>> > [INFO] Including: commons-logging:commons-logging:jar:1.1:compile
>> > [INFO] Including: aopalliance:aopalliance:jar:1.0:compile
>> > [INFO] Including: xalan:xalan:jar:2.7.0:compile
>> > [INFO] Including: org.springframework:spring-aop:jar:2.5.5:compile
>> > [INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
>> > [INFO] Including: org.springframework:spring-beans:jar:2.0.8:compile
>> > [INFO] Including: org.springframework:spring-core:jar:2.5.5:compile
>> > [INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
>> > [INFO] Including: org.springframework:spring-context:jar:2.0.8:compile
>> > [INFO] Including: junit:junit:jar:3.8.1:compile
>> > [INFO] Generating service unit D:\Informatik\Programmierung\Maven
>> >
>> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
>> > [INFO] Building jar: D:\Informatik\Programmierung\Maven
>> >
>> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
>> > [INFO] [install:install {execution: default-install}]
>> > [INFO] Installing D:\Informatik\Programmierung\Maven
>> >
>> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar
>> to
>> > C:\Dokumente und
>> >
>> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.jar
>> > [INFO] Installing D:\Informatik\Programmierung\Maven
>> >
>> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
>> to
>> > C:\Dokumente und
>> >
>> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.zip
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Building Tutorial :: Camel SA
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] snapshot
>> > org.apache.servicemix.tooling.camel:tutorial-camel-su:1.0-SNAPSHOT:
>> checking for updates from apache.snapshots
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.pom
>> > [INFO] Unable to find resource
>> >
>> 'org.apache.servicemix.tooling.camel:tutorial-camel-su:pom:1.0-SNAPSHOT'
>> in repository apache.snapshots
>> > (http://people.apache.org/repo/m2-snapshot-repository)
>> > Downloading:
>> >
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.jar
>> > [INFO] Unable to find resource
>> >
>> 'org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT'
>> in repository apache.snapshots
>> > (http://people.apache.org/repo/m2-snapshot-repository)
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Failed to resolve artifact.
>> > 
>> > Missing:
>> > ----------
>> > 1)
>> org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
>> > 
>> >   Try downloading the file manually from the project website.
>> > 
>> >   Then, install it using the command: 
>> >       mvn install:install-file
>> > -DgroupId=org.apache.servicemix.tooling.camel
>> -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file
>> > 
>> >   Alternatively, if you host your own repository you can deploy the
>> file
>> > there: 
>> >       mvn deploy:deploy-file
>> -DgroupId=org.apache.servicemix.tooling.camel
>> > -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> > 
>> >   Path to dependency: 
>> >   	1)
>> >
>> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
>> >   	2)
>> > org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
>> > 
>> > ----------
>> > 1 required artifact is missing.
>> > 
>> > for artifact: 
>> >  
>> >
>> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
>> > 
>> > from the specified remote repositories:
>> >   apache.snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository),
>> >   central (http://repo1.maven.org/maven2),
>> >   servicemix-repo
>> (http://svn.apache.org/repos/asf/servicemix/m2-repo/),
>> >   apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > 
>> > 
>> > 
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] For more information, run Maven with the -e switch
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 16 minutes 28 seconds
>> > [INFO] Finished at: Wed Oct 21 15:34:13 CEST 2009
>> > [INFO] Final Memory: 26M/47M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > -------- Original-Nachricht --------
>> > > Datum: Tue, 20 Oct 2009 16:17:40 -0600
>> > > Von: Chris Custine <ch...@gmail.com>
>> > > An: users@servicemix.apache.org
>> > > Betreff: Re: Build/Compilation Failure and Warnings
>> > 
>> > > Sorry about that, I meant to post a permalink directly to my message. 
>> > > Here
>> > > is the link:
>> > >
>> >
>> http://www.nabble.com/Problem-building-apache-servicemix-3.3.1-from-source---spring-support-2.0.6.jar-tt25602583ef12049.html#a25603368
>> > > 
>> > > This problem started happening very recently and is due to a 3rd
>> party
>> > jar
>> > > file and its maven metadata which points to a non-existent maven
>> > > repository.  This is fixed in smx3 trunk and we will be releasing
>> 3.3.2
>> > > with
>> > > this fix very soon.  We will update the docs with the new 3.3.2
>> version
>> > > when
>> > > we get the release out.  Until then, the fix I mention in the above
>> > email
>> > > thread should get things working 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 Tue, Oct 20, 2009 at 3:46 PM, Jonathan Bender
>> > > <jo...@gmx.de>wrote:
>> > > 
>> > > > > This message has the only known fix that I could make work.  Add
>> it
>> > to
>> > > > the topmost pom.xml in your project heirarchy and it should hide
>> the
>> > bad
>> > > > repo.
>> > > >
>> > > > Which message do you mean? The snippet from Gert, suggesting to add
>> > > > dependencyManagement?
>> > > >
>> > > > After all, this is an issue, which would have to concern anybody,
>> who
>> > > tries
>> > > > to learn Servicemix by means of the tutorial. I just want to follow
>> > the
>> > > > tutorial and cannot believe that my problem concerning the example
>> in
>> > > > http://servicemix.apache.org/31-starting-a-new-project.html is of
>> such
>> > > > special type, since I used the newest (prominent linked) Servicemix
>> > > files
>> > > > (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try
>> > anything
>> > > > special...
>> > > >
>> > > >
>> > > > -------- Original-Nachricht --------
>> > > > > Datum: Tue, 20 Oct 2009 11:55:12 -0600
>> > > > > Von: Chris Custine <ch...@gmail.com>
>> > > > > An: users@servicemix.apache.org
>> > > > > Betreff: Re: Build/Compilation Failure and Warnings
>> > > >
>> > > > > Unfortunately, the dependencyManagement declaration is not even
>> > > enough.
>> > > > > Maven resolves the older dependency anyway and adds its
>> repository
>> > > > entries
>> > > > > to its internal list even if it is excluded or specifically set
>> in
>> > > > > dependencyManagement.  These fixes keep it from being used for
>> > > > > compilation,
>> > > > > etc. but do not remove its repository declaration from the
>> internal
>> > > list.
>> > > > > This message has the only known fix that I could make work.  Add
>> it
>> > to
>> > > > the
>> > > > > topmost pom.xml in your project heirarchy and it should hide the
>> bad
>> > > > repo.
>> > > > > Of course you will still have to clean your maven repo before you
>> > try
>> > > it
>> > > > > as
>> > > > > well.
>> > > > >
>> > > > >
>> http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
>> > > > >
>> > > > > 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
>> > > > > <gert.vanthienen@gmail.com
>> > > > > > wrote:
>> > > > >
>> > > > > > Jonathan,
>> > > > > >
>> > > > > > You should be able to use a <dependencyManagement> section in
>> your
>> > > > > > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as
>> a
>> > > > > > workaround until the fixes get released.  Something like
>> > > > > > <dependencyManagement>
>> > > > > >    <dependencies>
>> > > > > >      <dependency>
>> > > > > >          <groupId>org.jencks</groupId>
>> > > > > >          <artifactId>jencks</artifactId>
>> > > > > >          <version>2.2/version>
>> > > > > >      </dependency>
>> > > > > >  </dependencies>
>> > > > > > </dependencyManagement>
>> > > > > >
>> > > > > > Regards,
>> > > > > >
>> > > > > > Gert Vanthienen
>> > > > > > ------------------------
>> > > > > > Open Source SOA: http://fusesource.com
>> > > > > > Blog: http://gertvanthienen.blogspot.com/
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
>> > > > > > > Indeed, the .jar-file is an HTML-File.
>> > > > > > > I deleted all files in ...\.m2\repository and run: mvn
>> install
>> > > (from
>> > > > > > Project-Directory) - without success as the output shows. Any
>> > idea,
>> > > > what
>> > > > > to
>> > > > > > do next?
>> > > > > > >
>> > > > > > > Excerpt of output:
>> > > > > > >
>> > > > > > > [INFO] Scanning for projects...
>> > > > > > > [INFO] Reactor build order:
>> > > > > > > [INFO]   Tutorial :: Camel
>> > > > > > > [INFO]   Tutorial :: Camel SU
>> > > > > > > [INFO]   Tutorial :: Camel SA
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
>> > > > repository
>> > > > > > apache
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
>> > > > > > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository
>> > > apache
>> > > > (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
>> > > > > > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > 'org.apache.servicemix:parent:pom:3.2.3'
>> > > > > > in repository apache (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
>> > > > > > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository
>> apache
>> > (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
>> > > > > > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K
>> > > 30/89K
>> > > > > > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K
>> > > 53/89K
>> > > > > 56/89K
>> > > > > > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K
>> > > 87/89K
>> > > > > 88/89K
>> > > > > > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
>> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
>> > > > repository
>> > > > > > servicemix-m2-repo
>> > > (http://svn.apache.org/repos/asf/servicemix/m2-repo
>> > > > )
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
>> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
>> > > > repository
>> > > > > > apache-incubating
>> > > > > (http://people.apache.org/repo/m2-incubating-repository)
>> > > > > > > Downloading:
>> > > > > > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
>> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
>> > > > repository
>> > > > > > codehaus (http://repository.codehaus.org)
>> > > > > > > Downloading:
>> > > > > > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
>> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
>> > > > repository
>> > > > > > java.net (http://download.java.net/maven/1)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
>> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
>> > > > repository
>> > > > > > apache
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
>> > > > > > > 3/3K 3K downloaded  (apache-1.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
>> > > > > > > [INFO] Unable to find resource
>> > > > > >
>> > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3'
>> > > in
>> > > > > > repository apache (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
>> > > > > > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K
>> > > 29/109K
>> > > > > > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K
>> > > 60/109K
>> > > > > > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K
>> > > 84/109K
>> > > > > > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K
>> 105/109K
>> > > > > 108/109K
>> > > > > > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
>> apache
>> > (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
>> > > > > > servicemix-m2-repo
>> > > (http://svn.apache.org/repos/asf/servicemix/m2-repo
>> > > > )
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
>> > > > > > apache-incubating
>> > > > > (http://people.apache.org/repo/m2-incubating-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
>> > codehaus
>> > > (
>> > > > > > http://repository.codehaus.org)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
>> > java.net
>> > > (
>> > > > > > http://download.java.net/maven/1)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
>> > > > > > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > 'org.apache.maven:maven:pom:2.0.1'
>> > > in
>> > > > > > repository apache (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > 'org.apache.maven:maven:pom:2.0.1'
>> > > in
>> > > > > > repository servicemix-m2-repo (
>> > > > > > http://svn.apache.org/repos/asf/servicemix/m2-repo)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > 'org.apache.maven:maven:pom:2.0.1'
>> > > in
>> > > > > > repository apache-incubating (
>> > > > > > http://people.apache.org/repo/m2-incubating-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > 'org.apache.maven:maven:pom:2.0.1'
>> > > in
>> > > > > > repository codehaus (http://repository.codehaus.org)
>> > > > > > > Downloading:
>> > > > > >
>> > >
>> http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > 'org.apache.maven:maven:pom:2.0.1'
>> > > in
>> > > > > > repository java.net (http://download.java.net/maven/1)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
>> > > > > > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
>> > > > > > > [INFO] Unable to find resource
>> > > > > 'org.apache.maven:maven-project:pom:2.0.1'
>> > > > > > in repository apache (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > >
>> > > > > > > .....
>> > > > > > >
>> > > > > > >
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in
>> repository
>> > > > apache
>> > > > > (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
>> > > > > > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
>> > > > > >  (plexus-compiler-api-1.5.3.jar)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in
>> > > repository
>> > > > > apache
>> > > > > > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
>> > > > > > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
>> > > > > > > [INFO] Unable to find resource
>> > > > > > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in
>> > repository
>> > > > > apache (
>> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> > > > > > > Downloading:
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
>> > > > > > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
>> > > > > >  (plexus-compiler-javac-1.5.3.jar)
>> > > > > > > [INFO] [compiler:compile {execution: default-compile}]
>> > > > > > > [INFO] Compiling 1 source file to D:\...\Maven
>> > > > > > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
>> > > > > > > [INFO]
>> > > > > >
>> > > >
>> >
>> ------------------------------------------------------------------------
>> > > > > > > [ERROR] BUILD FAILURE
>> > > > > > > [INFO]
>> > > > > >
>> > > >
>> >
>> ------------------------------------------------------------------------
>> > > > > > > [INFO] Compilation failure
>> > > > > > >
>> > > > > > > error: error reading
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
>> > > > > > error in opening zip file
>> > > > > > > error: error reading
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
>> > > > > > error in opening zip file
>> > > > > > > error: error reading
>> > > > > > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar;
>> error
>> > in
>> > > > > opening
>> > > > > > zip file
>> > > > > > >
>> > > > > > > [INFO]
>> > > > > >
>> > > >
>> >
>> ------------------------------------------------------------------------
>> > > > > > > [INFO] For more information, run Maven with the -e switch
>> > > > > > > [INFO]
>> > > > > >
>> > > >
>> >
>> ------------------------------------------------------------------------
>> > > > > > > [INFO] Total time: 12 minutes 12 seconds
>> > > > > > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
>> > > > > > > [INFO] Final Memory: 24M/43M
>> > > > > > > [INFO]
>> > > > > >
>> > > >
>> >
>> ------------------------------------------------------------------------
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > > -------- Original-Nachricht --------
>> > > > > > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
>> > > > > > >> Von: "Greg Lucas" <gr...@gmail.com>
>> > > > > > >> An: users@servicemix.apache.org
>> > > > > > >> Betreff: Re: Build/Compilation Failure and Warnings
>> > > > > > >
>> > > > > > >> Jonathan Bender wrote:
>> > > > > > >> > @Greg: I'm not sure, if I got you right: Do you mean the
>> > > > > > download-links
>> > > > > > >> > of e.g. the pom-files are invalid, so that necessary
>> > pom-files
>> > > are
>> > > > > > >> > missing, which leads to the build error? And does Jenks
>> 2.2
>> > > > contain
>> > > > > > the
>> > > > > > >> > components servicemix-common, servicemix-eip,
>> servicemix-jms
>> > > plus
>> > > > > the
>> > > > > > >> > correct download-links?
>> > > > > > >>
>> > > > > > >> Not quite. Assuming you haven't already deleted it, take a
>> look
>> > > at
>> > > > > one
>> > > > > > of
>> > > > > > >> the files it complained about, e.g.
>> > > > > > >>
>> > > > > > >>
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
>> > > > > > >>
>> > > > > > >> I suspect if you look at that file with a text editor it is
>> > > actually
>> > > > > an
>> > > > > > >> HTML file, not a jar. The issue we had with jencks 2.1 is
>> that
>> > > its
>> > > > > pom
>> > > > > > has
>> > > > > > >>
>> > > > > > >> a reference to a repository URL that is no longer valid but
>> > that
>> > > > does
>> > > > > > not
>> > > > > > >> result in an HTTP 404 when maven tries to download from it.
>> So
>> > > > rather
>> > > > > > than
>> > > > > > >>
>> > > > > > >> giving up and trying another repo, maven happily downloads
>> the
>> > > HTML
>> > > > > > >> content served up and saves it as the desired artifact.
>> > > > > > >>
>> > > > > > >> The first step as Gert suggested is to delete or rename your
>> > > local
>> > > > > repo
>> > > > > > >> and try again to see if you end up in the same state.
>> > > > > > >>
>> > > > > > >> --
>> > > > > > >> Greg
>> > > > > > >
>> > > > > > > --
>> > > > > > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
>> > > > > > > http://portal.gmx.net/de/go/dsl02
>> > > > > > >
>> > > > > >
>> > > >
>> > > > --
>> > > > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>> Firefox
>> > > 3.5
>> > > > -
>> > > > sicherer, schneller und einfacher!
>> > http://portal.gmx.net/de/go/chbrowser
>> > > >
>> > 
>> > -- 
>> > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
>> 3.5
>> > -
>> > sicherer, schneller und einfacher!
>> http://portal.gmx.net/de/go/chbrowser
>> 
>> -- 
>> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> -- 
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
> -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
> 
> 

-- 
View this message in context: http://old.nabble.com/Build-Compilation-Failure-and-Warnings-tp25963716p28460210.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
ok, last attempt. Can anyone provide further help with my problem?

-------- Original-Nachricht --------
> Datum: Mon, 26 Oct 2009 09:11:19 +0100
> Von: "Jonathan Bender" <jo...@gmx.de>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> I'm still not able to get it running. Was it wrong to add the
> repository-snippet to the parent pom.xml? (see last post)
> 
> 
> -------- Original-Nachricht --------
> > Datum: Wed, 21 Oct 2009 15:39:52 +0200
> > Von: "Jonathan Bender" <jo...@gmx.de>
> > An: users@servicemix.apache.org
> > Betreff: Re: Build/Compilation Failure and Warnings
> 
> > I have to admit, the problem is still not solved: Here is what I've
> done: 
> > Adding the <repository>-snippet (from your linked solution) to pom.xml
> in
> > parent directory "...\Maven Projects\Tutorial_Camel", which now looks
> like
> > this:
> > 
> > <?xml version="1.0" encoding="UTF-8"?>
> > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/maven-v4_0_0.xsd">
> >   <modelVersion>4.0.0</modelVersion>
> >   <groupId>org.apache.servicemix.tutorial.camel</groupId>
> >   <artifactId>parent</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >   <packaging>pom</packaging>
> >   <name>Tutorial :: Camel</name>
> >   <url>http://servicemix.apache.org</url>
> >   
> >   <repositories>
> >     <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>   
> >   </repositories>
> >   
> >   <modules>
> >     <module>tutorial-camel-su</module>
> >     <module>tutorial-camel-sa</module>
> >   </modules>
> > </project>
> > 
> > 
> > The parent directory "Tutorial_Camel" contains the subdirectories
> > "tutorial-camel-su" and "tutorial-camel-sa", created by the mvn
> archetype:create
> > command. So, in the end, only the command "mvn install" from parent
> directory
> > is left to be done and that should be it, right?
> > 
> > -> Do I always get the same results with the commands "mvn install" and
> > "mvn jbi:projectDeploy"? Maybe I should try to deploy/install the SU and
> SA
> > with the latter command? 
> > -> While the output still shows a lot of errors/warnings of type "Unable
> > to find resource ... in repository ...", the output shows a different
> reason
> > for the build error, compared to the outputs before. Again, here is an
> > excerpt:
> > 
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order: 
> > [INFO]   Tutorial :: Camel
> > [INFO]   Tutorial :: Camel SU
> > [INFO]   Tutorial :: Camel SA
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository
> apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > 4/6K6/6K6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > 2/2K2K downloaded  (tooling-3.2.3.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > [INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3'
> in
> > repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > 4/7K7/7K7K downloaded  (parent-3.2.3.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > [INFO] Unable to find resource
> > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> >
> 4/89K8/89K12/89K13/89K17/89K21/89K25/89K29/89K32/89K35/89K39/89K41/89K45/89K49/89K52/89K56/89K57/89K61/89K62/89K66/89K70/89K74/89K75/89K79/89K83/89K87/89K89/89K89K
> > downloaded  (servicemix-3.2.3.pom)
> > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository)
> > Downloading:
> > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > codehaus (http://repository.codehaus.org)
> > Downloading:
> http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > java.net (http://download.java.net/maven/1)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > 3/3K3K downloaded  (apache-1.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in
> repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> >
> 4/109K8/109K9/109K13/109K17/109K19/109K23/109K27/109K29/109K30/109K34/109K37/109K41/109K45/109K46/109K50/109K54/109K58/109K60/109K64/109K66/109K69/109K73/109K74/109K76/109K78/109K82/109K86/109K87/109K88/109K92/109K93/109K94/109K98/109K102/109K103/109K105/109K106/109K109/109K109K
> > downloaded  (jbi-maven-plugin-3.2.3.jar)
> > 
> > .....
> > 
> > [INFO] Unable to find resource
> > 'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9' in repository
> apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
> >
> 4/153K8/153K8/153K9/153K13/153K17/153K18/153K19/153K23/153K27/153K28/153K29/153K33/153K37/153K37/153K41/153K45/153K47/153K50/153K54/153K58/153K60/153K63/153K64/153K68/153K72/153K73/153K76/153K80/153K84/153K88/153K92/153K94/153K98/153K102/153K103/153K105/153K108/153K112/153K116/153K116/153K117/153K121/153K125/153K127/153K131/153K135/153K139/153K140/153K141/153K145/153K146/153K150/153K153/153K153K
> > downloaded  (plexus-archiver-1.0-alpha-9.jar)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
> > [INFO] Unable to find resource
> > 'org.codehaus.plexus:plexus-io:jar:1.0-alpha-1' in repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
> > 4/11K8/11K10/11K11/11K11K downloaded  (plexus-io-1.0-alpha-1.jar)
> > [INFO] [jar:jar {execution: default-jar}]
> > [INFO] Building jar: D:\Informatik\Programmierung\Maven
> >
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar
> > [INFO] [jbi:jbi-service-unit {execution: default-jbi-service-unit}]
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/logkit/logkit/1.0.1/logkit-1.0.1.pom
> > [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo//logkit/logkit/1.0.1/logkit-1.0.1.pom
> > [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
> > servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> > Downloading:
> > http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
> > 147/147b147b downloaded  (logkit-1.0.1.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> > [INFO] Unable to find resource
> > 'avalon-framework:avalon-framework:pom:4.1.3' in repository apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> > [INFO] Unable to find resource
> > 'avalon-framework:avalon-framework:pom:4.1.3' in repository
> servicemix-repo
> > (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> > Downloading:
> >
> http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> > 167/167b167b downloaded  (avalon-framework-4.1.3.pom)
> > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> > [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
> > repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo//javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> > [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
> > repository servicemix-repo
> > (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> > Downloading:
> >
> http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> > 156/156b156b downloaded  (servlet-api-2.3.pom)
> > [INFO] Resolving
> org.apache.servicemix:servicemix-camel:jar:3.2.3:compile
> > [INFO] Resolving org.apache.camel:camel-core:jar:1.4.0:compile
> > [INFO] Resolving org.apache.camel:camel-spring:jar:1.4.0:compile
> > [INFO] Resolving org.springframework:spring-core:jar:2.5.5:compile
> > [INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
> > [INFO] Resolving org.springframework:spring-context:jar:2.0.8:compile
> > [INFO] Resolving aopalliance:aopalliance:jar:1.0:compile
> > [INFO] Resolving org.springframework:spring-beans:jar:2.0.8:compile
> > [INFO] Resolving org.springframework:spring-aop:jar:2.5.5:compile
> > [INFO] Resolving
> org.apache.servicemix:servicemix-shared:jar:3.2.3:compile
> > [INFO] Resolving
> org.apache.servicemix:servicemix-common:jar:3.2.3:compile
> > [INFO] Resolving wsdl4j:wsdl4j:jar:1.6.2:compile
> > [INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.3:compile
> > [INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
> > [INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
> > [INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
> > [INFO] Resolving
> org.apache.servicemix:servicemix-soap2:jar:3.2.3:compile
> > [INFO] Resolving org.apache.ws.security:wss4j:jar:1.5.4:compile
> > [INFO] Resolving org.apache.santuario:xmlsec:jar:1.4.0:compile
> > [INFO] Resolving opensaml:opensaml:jar:1.1:compile
> > [INFO] Resolving org.apache.axis:axis-ant:jar:1.4:compile
> > [INFO] Resolving xalan:xalan:jar:2.7.0:compile
> > [INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
> > [INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
> > [INFO] Resolving junit:junit:jar:3.8.1:compile
> > [INFO] Resolving bouncycastle:bcprov-jdk13:jar:132:compile
> > [INFO] Resolving
> org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile
> > [INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
> > [INFO] Resolving log4j:log4j:jar:1.2.12:compile
> > [INFO] Resolving org.springframework:spring-remoting:jar:2.0.8:compile
> > [WARNING] Resolved artifact
> > org.springframework:spring-core:jar:2.5.5:compile has a different
> version from that in dependency management
> > org.springframework:spring-core:jar:2.0.6:provided, overriding
> dependency management
> > [WARNING] Resolved artifact
> > org.springframework:spring-beans:jar:2.0.8:compile has a different
> version from that in dependency management
> > org.springframework:spring-beans:jar:2.0.6:provided, overriding
> dependency management
> > [WARNING] Resolved artifact
> > commons-logging:commons-logging:jar:1.1:compile has a different version
> from that in dependency management
> > commons-logging:commons-logging:jar:1.0.4:provided, overriding
> dependency management
> > [WARNING] Resolved artifact
> > org.springframework:spring-context:jar:2.0.8:compile has a different
> version from that in dependency management
> > org.springframework:spring-context:jar:2.0.6:provided, overriding
> dependency
> > management
> > [INFO] Including: log4j:log4j:jar:1.2.12:compile
> > [INFO] Including: commons-logging:commons-logging:jar:1.1:compile
> > [INFO] Including: aopalliance:aopalliance:jar:1.0:compile
> > [INFO] Including: xalan:xalan:jar:2.7.0:compile
> > [INFO] Including: org.springframework:spring-aop:jar:2.5.5:compile
> > [INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
> > [INFO] Including: org.springframework:spring-beans:jar:2.0.8:compile
> > [INFO] Including: org.springframework:spring-core:jar:2.5.5:compile
> > [INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
> > [INFO] Including: org.springframework:spring-context:jar:2.0.8:compile
> > [INFO] Including: junit:junit:jar:3.8.1:compile
> > [INFO] Generating service unit D:\Informatik\Programmierung\Maven
> >
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
> > [INFO] Building jar: D:\Informatik\Programmierung\Maven
> >
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
> > [INFO] [install:install {execution: default-install}]
> > [INFO] Installing D:\Informatik\Programmierung\Maven
> >
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar to
> > C:\Dokumente und
> >
> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.jar
> > [INFO] Installing D:\Informatik\Programmierung\Maven
> >
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip to
> > C:\Dokumente und
> >
> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.zip
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Tutorial :: Camel SA
> > [INFO]    task-segment: [install]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] snapshot
> > org.apache.servicemix.tooling.camel:tutorial-camel-su:1.0-SNAPSHOT:
> checking for updates from apache.snapshots
> > Downloading:
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.pom
> > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling.camel:tutorial-camel-su:pom:1.0-SNAPSHOT'
> in repository apache.snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> > Downloading:
> >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.jar
> > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT'
> in repository apache.snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> > 
> > Missing:
> > ----------
> > 1)
> org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
> > 
> >   Try downloading the file manually from the project website.
> > 
> >   Then, install it using the command: 
> >       mvn install:install-file
> > -DgroupId=org.apache.servicemix.tooling.camel
> -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> > 
> >   Alternatively, if you host your own repository you can deploy the file
> > there: 
> >       mvn deploy:deploy-file
> -DgroupId=org.apache.servicemix.tooling.camel
> > -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> > 
> >   Path to dependency: 
> >   	1)
> >
> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
> >   	2)
> > org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
> > 
> > ----------
> > 1 required artifact is missing.
> > 
> > for artifact: 
> >  
> >
> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
> > 
> > from the specified remote repositories:
> >   apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
> >   central (http://repo1.maven.org/maven2),
> >   servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/),
> >   apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > 
> > 
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 16 minutes 28 seconds
> > [INFO] Finished at: Wed Oct 21 15:34:13 CEST 2009
> > [INFO] Final Memory: 26M/47M
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > 
> > 
> > 
> > 
> > 
> > -------- Original-Nachricht --------
> > > Datum: Tue, 20 Oct 2009 16:17:40 -0600
> > > Von: Chris Custine <ch...@gmail.com>
> > > An: users@servicemix.apache.org
> > > Betreff: Re: Build/Compilation Failure and Warnings
> > 
> > > Sorry about that, I meant to post a permalink directly to my message. 
> > > Here
> > > is the link:
> > >
> >
> http://www.nabble.com/Problem-building-apache-servicemix-3.3.1-from-source---spring-support-2.0.6.jar-tt25602583ef12049.html#a25603368
> > > 
> > > This problem started happening very recently and is due to a 3rd party
> > jar
> > > file and its maven metadata which points to a non-existent maven
> > > repository.  This is fixed in smx3 trunk and we will be releasing
> 3.3.2
> > > with
> > > this fix very soon.  We will update the docs with the new 3.3.2
> version
> > > when
> > > we get the release out.  Until then, the fix I mention in the above
> > email
> > > thread should get things working 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 Tue, Oct 20, 2009 at 3:46 PM, Jonathan Bender
> > > <jo...@gmx.de>wrote:
> > > 
> > > > > This message has the only known fix that I could make work.  Add
> it
> > to
> > > > the topmost pom.xml in your project heirarchy and it should hide the
> > bad
> > > > repo.
> > > >
> > > > Which message do you mean? The snippet from Gert, suggesting to add
> > > > dependencyManagement?
> > > >
> > > > After all, this is an issue, which would have to concern anybody,
> who
> > > tries
> > > > to learn Servicemix by means of the tutorial. I just want to follow
> > the
> > > > tutorial and cannot believe that my problem concerning the example
> in
> > > > http://servicemix.apache.org/31-starting-a-new-project.html is of
> such
> > > > special type, since I used the newest (prominent linked) Servicemix
> > > files
> > > > (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try
> > anything
> > > > special...
> > > >
> > > >
> > > > -------- Original-Nachricht --------
> > > > > Datum: Tue, 20 Oct 2009 11:55:12 -0600
> > > > > Von: Chris Custine <ch...@gmail.com>
> > > > > An: users@servicemix.apache.org
> > > > > Betreff: Re: Build/Compilation Failure and Warnings
> > > >
> > > > > Unfortunately, the dependencyManagement declaration is not even
> > > enough.
> > > > > Maven resolves the older dependency anyway and adds its repository
> > > > entries
> > > > > to its internal list even if it is excluded or specifically set in
> > > > > dependencyManagement.  These fixes keep it from being used for
> > > > > compilation,
> > > > > etc. but do not remove its repository declaration from the
> internal
> > > list.
> > > > > This message has the only known fix that I could make work.  Add
> it
> > to
> > > > the
> > > > > topmost pom.xml in your project heirarchy and it should hide the
> bad
> > > > repo.
> > > > > Of course you will still have to clean your maven repo before you
> > try
> > > it
> > > > > as
> > > > > well.
> > > > >
> > > > >
> http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
> > > > >
> > > > > 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
> > > > > <gert.vanthienen@gmail.com
> > > > > > wrote:
> > > > >
> > > > > > Jonathan,
> > > > > >
> > > > > > You should be able to use a <dependencyManagement> section in
> your
> > > > > > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as
> a
> > > > > > workaround until the fixes get released.  Something like
> > > > > > <dependencyManagement>
> > > > > >    <dependencies>
> > > > > >      <dependency>
> > > > > >          <groupId>org.jencks</groupId>
> > > > > >          <artifactId>jencks</artifactId>
> > > > > >          <version>2.2/version>
> > > > > >      </dependency>
> > > > > >  </dependencies>
> > > > > > </dependencyManagement>
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Gert Vanthienen
> > > > > > ------------------------
> > > > > > Open Source SOA: http://fusesource.com
> > > > > > Blog: http://gertvanthienen.blogspot.com/
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > > > > > > Indeed, the .jar-file is an HTML-File.
> > > > > > > I deleted all files in ...\.m2\repository and run: mvn install
> > > (from
> > > > > > Project-Directory) - without success as the output shows. Any
> > idea,
> > > > what
> > > > > to
> > > > > > do next?
> > > > > > >
> > > > > > > Excerpt of output:
> > > > > > >
> > > > > > > [INFO] Scanning for projects...
> > > > > > > [INFO] Reactor build order:
> > > > > > > [INFO]   Tutorial :: Camel
> > > > > > > [INFO]   Tutorial :: Camel SU
> > > > > > > [INFO]   Tutorial :: Camel SA
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
> > > > repository
> > > > > > apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository
> > > apache
> > > > (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.servicemix:parent:pom:3.2.3'
> > > > > > in repository apache (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository
> apache
> > (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K
> > > 30/89K
> > > > > > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K
> > > 53/89K
> > > > > 56/89K
> > > > > > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K
> > > 87/89K
> > > > > 88/89K
> > > > > > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > > repository
> > > > > > servicemix-m2-repo
> > > (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > > > )
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > > repository
> > > > > > apache-incubating
> > > > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > > > Downloading:
> > > > > > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > > repository
> > > > > > codehaus (http://repository.codehaus.org)
> > > > > > > Downloading:
> > > > > > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > > repository
> > > > > > java.net (http://download.java.net/maven/1)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > > repository
> > > > > > apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > > > > > > 3/3K 3K downloaded  (apache-1.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > > > [INFO] Unable to find resource
> > > > > >
> > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3'
> > > in
> > > > > > repository apache (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K
> > > 29/109K
> > > > > > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K
> > > 60/109K
> > > > > > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K
> > > 84/109K
> > > > > > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K
> 105/109K
> > > > > 108/109K
> > > > > > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> apache
> > (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > > > servicemix-m2-repo
> > > (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > > > )
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > > > apache-incubating
> > > > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > codehaus
> > > (
> > > > > > http://repository.codehaus.org)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > java.net
> > > (
> > > > > > http://download.java.net/maven/1)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven:pom:2.0.1'
> > > in
> > > > > > repository apache (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven:pom:2.0.1'
> > > in
> > > > > > repository servicemix-m2-repo (
> > > > > > http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven:pom:2.0.1'
> > > in
> > > > > > repository apache-incubating (
> > > > > > http://people.apache.org/repo/m2-incubating-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven:pom:2.0.1'
> > > in
> > > > > > repository codehaus (http://repository.codehaus.org)
> > > > > > > Downloading:
> > > > > >
> > > http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven:pom:2.0.1'
> > > in
> > > > > > repository java.net (http://download.java.net/maven/1)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-project:pom:2.0.1'
> > > > > > in repository apache (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > >
> > > > > > > .....
> > > > > > >
> > > > > > >
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in
> repository
> > > > apache
> > > > > (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
> > > > > >  (plexus-compiler-api-1.5.3.jar)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in
> > > repository
> > > > > apache
> > > > > > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > > > [INFO] Unable to find resource
> > > > > > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in
> > repository
> > > > > apache (
> > > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
> > > > > >  (plexus-compiler-javac-1.5.3.jar)
> > > > > > > [INFO] [compiler:compile {execution: default-compile}]
> > > > > > > [INFO] Compiling 1 source file to D:\...\Maven
> > > > > > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > > [ERROR] BUILD FAILURE
> > > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > > [INFO] Compilation failure
> > > > > > >
> > > > > > > error: error reading
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> > > > > > error in opening zip file
> > > > > > > error: error reading
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> > > > > > error in opening zip file
> > > > > > > error: error reading
> > > > > > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar;
> error
> > in
> > > > > opening
> > > > > > zip file
> > > > > > >
> > > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > > [INFO] For more information, run Maven with the -e switch
> > > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > > [INFO] Total time: 12 minutes 12 seconds
> > > > > > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > > > > > > [INFO] Final Memory: 24M/43M
> > > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------- Original-Nachricht --------
> > > > > > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> > > > > > >> Von: "Greg Lucas" <gr...@gmail.com>
> > > > > > >> An: users@servicemix.apache.org
> > > > > > >> Betreff: Re: Build/Compilation Failure and Warnings
> > > > > > >
> > > > > > >> Jonathan Bender wrote:
> > > > > > >> > @Greg: I'm not sure, if I got you right: Do you mean the
> > > > > > download-links
> > > > > > >> > of e.g. the pom-files are invalid, so that necessary
> > pom-files
> > > are
> > > > > > >> > missing, which leads to the build error? And does Jenks 2.2
> > > > contain
> > > > > > the
> > > > > > >> > components servicemix-common, servicemix-eip,
> servicemix-jms
> > > plus
> > > > > the
> > > > > > >> > correct download-links?
> > > > > > >>
> > > > > > >> Not quite. Assuming you haven't already deleted it, take a
> look
> > > at
> > > > > one
> > > > > > of
> > > > > > >> the files it complained about, e.g.
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> > > > > > >>
> > > > > > >> I suspect if you look at that file with a text editor it is
> > > actually
> > > > > an
> > > > > > >> HTML file, not a jar. The issue we had with jencks 2.1 is
> that
> > > its
> > > > > pom
> > > > > > has
> > > > > > >>
> > > > > > >> a reference to a repository URL that is no longer valid but
> > that
> > > > does
> > > > > > not
> > > > > > >> result in an HTTP 404 when maven tries to download from it.
> So
> > > > rather
> > > > > > than
> > > > > > >>
> > > > > > >> giving up and trying another repo, maven happily downloads
> the
> > > HTML
> > > > > > >> content served up and saves it as the desired artifact.
> > > > > > >>
> > > > > > >> The first step as Gert suggested is to delete or rename your
> > > local
> > > > > repo
> > > > > > >> and try again to see if you end up in the same state.
> > > > > > >>
> > > > > > >> --
> > > > > > >> Greg
> > > > > > >
> > > > > > > --
> > > > > > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > > > > > > http://portal.gmx.net/de/go/dsl02
> > > > > > >
> > > > > >
> > > >
> > > > --
> > > > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
> Firefox
> > > 3.5
> > > > -
> > > > sicherer, schneller und einfacher!
> > http://portal.gmx.net/de/go/chbrowser
> > > >
> > 
> > -- 
> > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> 3.5
> > -
> > sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
> 
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
I'm still not able to get it running. Was it wrong to add the repository-snippet to the parent pom.xml? (see last post)


-------- Original-Nachricht --------
> Datum: Wed, 21 Oct 2009 15:39:52 +0200
> Von: "Jonathan Bender" <jo...@gmx.de>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> I have to admit, the problem is still not solved: Here is what I've done: 
> Adding the <repository>-snippet (from your linked solution) to pom.xml in
> parent directory "...\Maven Projects\Tutorial_Camel", which now looks like
> this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>org.apache.servicemix.tutorial.camel</groupId>
>   <artifactId>parent</artifactId>
>   <version>1.0-SNAPSHOT</version>
>   <packaging>pom</packaging>
>   <name>Tutorial :: Camel</name>
>   <url>http://servicemix.apache.org</url>
>   
>   <repositories>
>     <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>   
>   </repositories>
>   
>   <modules>
>     <module>tutorial-camel-su</module>
>     <module>tutorial-camel-sa</module>
>   </modules>
> </project>
> 
> 
> The parent directory "Tutorial_Camel" contains the subdirectories
> "tutorial-camel-su" and "tutorial-camel-sa", created by the mvn archetype:create
> command. So, in the end, only the command "mvn install" from parent directory
> is left to be done and that should be it, right?
> 
> -> Do I always get the same results with the commands "mvn install" and
> "mvn jbi:projectDeploy"? Maybe I should try to deploy/install the SU and SA
> with the latter command? 
> -> While the output still shows a lot of errors/warnings of type "Unable
> to find resource ... in repository ...", the output shows a different reason
> for the build error, compared to the outputs before. Again, here is an
> excerpt:
> 
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Tutorial :: Camel
> [INFO]   Tutorial :: Camel SU
> [INFO]   Tutorial :: Camel SA
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> 4/6K6/6K6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> 2/2K2K downloaded  (tooling-3.2.3.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> [INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3' in
> repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> 4/7K7/7K7K downloaded  (parent-3.2.3.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> 4/89K8/89K12/89K13/89K17/89K21/89K25/89K29/89K32/89K35/89K39/89K41/89K45/89K49/89K52/89K56/89K57/89K61/89K62/89K66/89K70/89K74/89K75/89K79/89K83/89K87/89K89/89K89K
> downloaded  (servicemix-3.2.3.pom)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
> http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> java.net (http://download.java.net/maven/1)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> 3/3K3K downloaded  (apache-1.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> 4/109K8/109K9/109K13/109K17/109K19/109K23/109K27/109K29/109K30/109K34/109K37/109K41/109K45/109K46/109K50/109K54/109K58/109K60/109K64/109K66/109K69/109K73/109K74/109K76/109K78/109K82/109K86/109K87/109K88/109K92/109K93/109K94/109K98/109K102/109K103/109K105/109K106/109K109/109K109K
> downloaded  (jbi-maven-plugin-3.2.3.jar)
> 
> .....
> 
> [INFO] Unable to find resource
> 'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
> 4/153K8/153K8/153K9/153K13/153K17/153K18/153K19/153K23/153K27/153K28/153K29/153K33/153K37/153K37/153K41/153K45/153K47/153K50/153K54/153K58/153K60/153K63/153K64/153K68/153K72/153K73/153K76/153K80/153K84/153K88/153K92/153K94/153K98/153K102/153K103/153K105/153K108/153K112/153K116/153K116/153K117/153K121/153K125/153K127/153K131/153K135/153K139/153K140/153K141/153K145/153K146/153K150/153K153/153K153K
> downloaded  (plexus-archiver-1.0-alpha-9.jar)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
> [INFO] Unable to find resource
> 'org.codehaus.plexus:plexus-io:jar:1.0-alpha-1' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
> 4/11K8/11K10/11K11/11K11K downloaded  (plexus-io-1.0-alpha-1.jar)
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: D:\Informatik\Programmierung\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar
> [INFO] [jbi:jbi-service-unit {execution: default-jbi-service-unit}]
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/logkit/logkit/1.0.1/logkit-1.0.1.pom
> [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//logkit/logkit/1.0.1/logkit-1.0.1.pom
> [INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository
> servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
> 147/147b147b downloaded  (logkit-1.0.1.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> [INFO] Unable to find resource
> 'avalon-framework:avalon-framework:pom:4.1.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> [INFO] Unable to find resource
> 'avalon-framework:avalon-framework:pom:4.1.3' in repository servicemix-repo
> (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
> 167/167b167b downloaded  (avalon-framework-4.1.3.pom)
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
> repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> [INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in
> repository servicemix-repo
> (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
> 156/156b156b downloaded  (servlet-api-2.3.pom)
> [INFO] Resolving org.apache.servicemix:servicemix-camel:jar:3.2.3:compile
> [INFO] Resolving org.apache.camel:camel-core:jar:1.4.0:compile
> [INFO] Resolving org.apache.camel:camel-spring:jar:1.4.0:compile
> [INFO] Resolving org.springframework:spring-core:jar:2.5.5:compile
> [INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
> [INFO] Resolving org.springframework:spring-context:jar:2.0.8:compile
> [INFO] Resolving aopalliance:aopalliance:jar:1.0:compile
> [INFO] Resolving org.springframework:spring-beans:jar:2.0.8:compile
> [INFO] Resolving org.springframework:spring-aop:jar:2.5.5:compile
> [INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.3:compile
> [INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.3:compile
> [INFO] Resolving wsdl4j:wsdl4j:jar:1.6.2:compile
> [INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.3:compile
> [INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
> [INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
> [INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
> [INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.3:compile
> [INFO] Resolving org.apache.ws.security:wss4j:jar:1.5.4:compile
> [INFO] Resolving org.apache.santuario:xmlsec:jar:1.4.0:compile
> [INFO] Resolving opensaml:opensaml:jar:1.1:compile
> [INFO] Resolving org.apache.axis:axis-ant:jar:1.4:compile
> [INFO] Resolving xalan:xalan:jar:2.7.0:compile
> [INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
> [INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
> [INFO] Resolving junit:junit:jar:3.8.1:compile
> [INFO] Resolving bouncycastle:bcprov-jdk13:jar:132:compile
> [INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile
> [INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
> [INFO] Resolving log4j:log4j:jar:1.2.12:compile
> [INFO] Resolving org.springframework:spring-remoting:jar:2.0.8:compile
> [WARNING] Resolved artifact
> org.springframework:spring-core:jar:2.5.5:compile has a different version from that in dependency management
> org.springframework:spring-core:jar:2.0.6:provided, overriding dependency management
> [WARNING] Resolved artifact
> org.springframework:spring-beans:jar:2.0.8:compile has a different version from that in dependency management
> org.springframework:spring-beans:jar:2.0.6:provided, overriding dependency management
> [WARNING] Resolved artifact
> commons-logging:commons-logging:jar:1.1:compile has a different version from that in dependency management
> commons-logging:commons-logging:jar:1.0.4:provided, overriding dependency management
> [WARNING] Resolved artifact
> org.springframework:spring-context:jar:2.0.8:compile has a different version from that in dependency management
> org.springframework:spring-context:jar:2.0.6:provided, overriding dependency
> management
> [INFO] Including: log4j:log4j:jar:1.2.12:compile
> [INFO] Including: commons-logging:commons-logging:jar:1.1:compile
> [INFO] Including: aopalliance:aopalliance:jar:1.0:compile
> [INFO] Including: xalan:xalan:jar:2.7.0:compile
> [INFO] Including: org.springframework:spring-aop:jar:2.5.5:compile
> [INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
> [INFO] Including: org.springframework:spring-beans:jar:2.0.8:compile
> [INFO] Including: org.springframework:spring-core:jar:2.5.5:compile
> [INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
> [INFO] Including: org.springframework:spring-context:jar:2.0.8:compile
> [INFO] Including: junit:junit:jar:3.8.1:compile
> [INFO] Generating service unit D:\Informatik\Programmierung\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
> [INFO] Building jar: D:\Informatik\Programmierung\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing D:\Informatik\Programmierung\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar to
> C:\Dokumente und
> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.jar
> [INFO] Installing D:\Informatik\Programmierung\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip to
> C:\Dokumente und
> Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.zip
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Tutorial :: Camel SA
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] snapshot
> org.apache.servicemix.tooling.camel:tutorial-camel-su:1.0-SNAPSHOT: checking for updates from apache.snapshots
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.tooling.camel:tutorial-camel-su:pom:1.0-SNAPSHOT' in repository apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT' in repository apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file
> -DgroupId=org.apache.servicemix.tooling.camel -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file
> there: 
>       mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling.camel
> -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1)
> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
>   	2)
> org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>  
> org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   central (http://repo1.maven.org/maven2),
>   servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/),
>   apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> 
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16 minutes 28 seconds
> [INFO] Finished at: Wed Oct 21 15:34:13 CEST 2009
> [INFO] Final Memory: 26M/47M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> 
> 
> 
> 
> -------- Original-Nachricht --------
> > Datum: Tue, 20 Oct 2009 16:17:40 -0600
> > Von: Chris Custine <ch...@gmail.com>
> > An: users@servicemix.apache.org
> > Betreff: Re: Build/Compilation Failure and Warnings
> 
> > Sorry about that, I meant to post a permalink directly to my message. 
> > Here
> > is the link:
> >
> http://www.nabble.com/Problem-building-apache-servicemix-3.3.1-from-source---spring-support-2.0.6.jar-tt25602583ef12049.html#a25603368
> > 
> > This problem started happening very recently and is due to a 3rd party
> jar
> > file and its maven metadata which points to a non-existent maven
> > repository.  This is fixed in smx3 trunk and we will be releasing 3.3.2
> > with
> > this fix very soon.  We will update the docs with the new 3.3.2 version
> > when
> > we get the release out.  Until then, the fix I mention in the above
> email
> > thread should get things working 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 Tue, Oct 20, 2009 at 3:46 PM, Jonathan Bender
> > <jo...@gmx.de>wrote:
> > 
> > > > This message has the only known fix that I could make work.  Add it
> to
> > > the topmost pom.xml in your project heirarchy and it should hide the
> bad
> > > repo.
> > >
> > > Which message do you mean? The snippet from Gert, suggesting to add
> > > dependencyManagement?
> > >
> > > After all, this is an issue, which would have to concern anybody, who
> > tries
> > > to learn Servicemix by means of the tutorial. I just want to follow
> the
> > > tutorial and cannot believe that my problem concerning the example in
> > > http://servicemix.apache.org/31-starting-a-new-project.html is of such
> > > special type, since I used the newest (prominent linked) Servicemix
> > files
> > > (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try
> anything
> > > special...
> > >
> > >
> > > -------- Original-Nachricht --------
> > > > Datum: Tue, 20 Oct 2009 11:55:12 -0600
> > > > Von: Chris Custine <ch...@gmail.com>
> > > > An: users@servicemix.apache.org
> > > > Betreff: Re: Build/Compilation Failure and Warnings
> > >
> > > > Unfortunately, the dependencyManagement declaration is not even
> > enough.
> > > > Maven resolves the older dependency anyway and adds its repository
> > > entries
> > > > to its internal list even if it is excluded or specifically set in
> > > > dependencyManagement.  These fixes keep it from being used for
> > > > compilation,
> > > > etc. but do not remove its repository declaration from the internal
> > list.
> > > > This message has the only known fix that I could make work.  Add it
> to
> > > the
> > > > topmost pom.xml in your project heirarchy and it should hide the bad
> > > repo.
> > > > Of course you will still have to clean your maven repo before you
> try
> > it
> > > > as
> > > > well.
> > > >
> > > > http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
> > > >
> > > > 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
> > > > <gert.vanthienen@gmail.com
> > > > > wrote:
> > > >
> > > > > Jonathan,
> > > > >
> > > > > You should be able to use a <dependencyManagement> section in your
> > > > > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
> > > > > workaround until the fixes get released.  Something like
> > > > > <dependencyManagement>
> > > > >    <dependencies>
> > > > >      <dependency>
> > > > >          <groupId>org.jencks</groupId>
> > > > >          <artifactId>jencks</artifactId>
> > > > >          <version>2.2/version>
> > > > >      </dependency>
> > > > >  </dependencies>
> > > > > </dependencyManagement>
> > > > >
> > > > > Regards,
> > > > >
> > > > > Gert Vanthienen
> > > > > ------------------------
> > > > > Open Source SOA: http://fusesource.com
> > > > > Blog: http://gertvanthienen.blogspot.com/
> > > > >
> > > > >
> > > > >
> > > > > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > > > > > Indeed, the .jar-file is an HTML-File.
> > > > > > I deleted all files in ...\.m2\repository and run: mvn install
> > (from
> > > > > Project-Directory) - without success as the output shows. Any
> idea,
> > > what
> > > > to
> > > > > do next?
> > > > > >
> > > > > > Excerpt of output:
> > > > > >
> > > > > > [INFO] Scanning for projects...
> > > > > > [INFO] Reactor build order:
> > > > > > [INFO]   Tutorial :: Camel
> > > > > > [INFO]   Tutorial :: Camel SU
> > > > > > [INFO]   Tutorial :: Camel SA
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
> > > repository
> > > > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository
> > apache
> > > (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > > [INFO] Unable to find resource
> > > > 'org.apache.servicemix:parent:pom:3.2.3'
> > > > > in repository apache (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache
> (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K
> > 30/89K
> > > > > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K
> > 53/89K
> > > > 56/89K
> > > > > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K
> > 87/89K
> > > > 88/89K
> > > > > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > repository
> > > > > servicemix-m2-repo
> > (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > > )
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > repository
> > > > > apache-incubating
> > > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > > Downloading:
> > > > > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > repository
> > > > > codehaus (http://repository.codehaus.org)
> > > > > > Downloading:
> > > > > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > repository
> > > > > java.net (http://download.java.net/maven/1)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > > repository
> > > > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > > > > > 3/3K 3K downloaded  (apache-1.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > > [INFO] Unable to find resource
> > > > >
> 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3'
> > in
> > > > > repository apache (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K
> > 29/109K
> > > > > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K
> > 60/109K
> > > > > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K
> > 84/109K
> > > > > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K
> > > > 108/109K
> > > > > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache
> (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > > servicemix-m2-repo
> > (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > > )
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > > apache-incubating
> > > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> codehaus
> > (
> > > > > http://repository.codehaus.org)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> java.net
> > (
> > > > > http://download.java.net/maven/1)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> 'org.apache.maven:maven:pom:2.0.1'
> > in
> > > > > repository apache (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> 'org.apache.maven:maven:pom:2.0.1'
> > in
> > > > > repository servicemix-m2-repo (
> > > > > http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> 'org.apache.maven:maven:pom:2.0.1'
> > in
> > > > > repository apache-incubating (
> > > > > http://people.apache.org/repo/m2-incubating-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> 'org.apache.maven:maven:pom:2.0.1'
> > in
> > > > > repository codehaus (http://repository.codehaus.org)
> > > > > > Downloading:
> > > > >
> > http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> 'org.apache.maven:maven:pom:2.0.1'
> > in
> > > > > repository java.net (http://download.java.net/maven/1)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-project:pom:2.0.1'
> > > > > in repository apache (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > >
> > > > > > .....
> > > > > >
> > > > > >
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > > [INFO] Unable to find resource
> > > > > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository
> > > apache
> > > > (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
> > > > >  (plexus-compiler-api-1.5.3.jar)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > > [INFO] Unable to find resource
> > > > > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in
> > repository
> > > > apache
> > > > > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > > [INFO] Unable to find resource
> > > > > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in
> repository
> > > > apache (
> > > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > > Downloading:
> > > > >
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
> > > > >  (plexus-compiler-javac-1.5.3.jar)
> > > > > > [INFO] [compiler:compile {execution: default-compile}]
> > > > > > [INFO] Compiling 1 source file to D:\...\Maven
> > > > > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > [ERROR] BUILD FAILURE
> > > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > [INFO] Compilation failure
> > > > > >
> > > > > > error: error reading
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> > > > > error in opening zip file
> > > > > > error: error reading
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> > > > > error in opening zip file
> > > > > > error: error reading
> > > > > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error
> in
> > > > opening
> > > > > zip file
> > > > > >
> > > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > [INFO] For more information, run Maven with the -e switch
> > > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > [INFO] Total time: 12 minutes 12 seconds
> > > > > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > > > > > [INFO] Final Memory: 24M/43M
> > > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > -------- Original-Nachricht --------
> > > > > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> > > > > >> Von: "Greg Lucas" <gr...@gmail.com>
> > > > > >> An: users@servicemix.apache.org
> > > > > >> Betreff: Re: Build/Compilation Failure and Warnings
> > > > > >
> > > > > >> Jonathan Bender wrote:
> > > > > >> > @Greg: I'm not sure, if I got you right: Do you mean the
> > > > > download-links
> > > > > >> > of e.g. the pom-files are invalid, so that necessary
> pom-files
> > are
> > > > > >> > missing, which leads to the build error? And does Jenks 2.2
> > > contain
> > > > > the
> > > > > >> > components servicemix-common, servicemix-eip, servicemix-jms
> > plus
> > > > the
> > > > > >> > correct download-links?
> > > > > >>
> > > > > >> Not quite. Assuming you haven't already deleted it, take a look
> > at
> > > > one
> > > > > of
> > > > > >> the files it complained about, e.g.
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> > > > > >>
> > > > > >> I suspect if you look at that file with a text editor it is
> > actually
> > > > an
> > > > > >> HTML file, not a jar. The issue we had with jencks 2.1 is that
> > its
> > > > pom
> > > > > has
> > > > > >>
> > > > > >> a reference to a repository URL that is no longer valid but
> that
> > > does
> > > > > not
> > > > > >> result in an HTTP 404 when maven tries to download from it. So
> > > rather
> > > > > than
> > > > > >>
> > > > > >> giving up and trying another repo, maven happily downloads the
> > HTML
> > > > > >> content served up and saves it as the desired artifact.
> > > > > >>
> > > > > >> The first step as Gert suggested is to delete or rename your
> > local
> > > > repo
> > > > > >> and try again to see if you end up in the same state.
> > > > > >>
> > > > > >> --
> > > > > >> Greg
> > > > > >
> > > > > > --
> > > > > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > > > > > http://portal.gmx.net/de/go/dsl02
> > > > > >
> > > > >
> > >
> > > --
> > > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> > 3.5
> > > -
> > > sicherer, schneller und einfacher!
> http://portal.gmx.net/de/go/chbrowser
> > >
> 
> -- 
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
> -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
I have to admit, the problem is still not solved: Here is what I've done: 
Adding the <repository>-snippet (from your linked solution) to pom.xml in parent directory "...\Maven Projects\Tutorial_Camel", which now looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.servicemix.tutorial.camel</groupId>
  <artifactId>parent</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Tutorial :: Camel</name>
  <url>http://servicemix.apache.org</url>
  
  <repositories>
    <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>   
  </repositories>
  
  <modules>
    <module>tutorial-camel-su</module>
    <module>tutorial-camel-sa</module>
  </modules>
</project>


The parent directory "Tutorial_Camel" contains the subdirectories "tutorial-camel-su" and "tutorial-camel-sa", created by the mvn archetype:create command. So, in the end, only the command "mvn install" from parent directory is left to be done and that should be it, right?

-> Do I always get the same results with the commands "mvn install" and "mvn jbi:projectDeploy"? Maybe I should try to deploy/install the SU and SA with the latter command? 
-> While the output still shows a lot of errors/warnings of type "Unable to find resource ... in repository ...", the output shows a different reason for the build error, compared to the outputs before. Again, here is an excerpt:

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Tutorial :: Camel
[INFO]   Tutorial :: Camel SU
[INFO]   Tutorial :: Camel SA
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
4/6K6/6K6K downloaded  (jbi-maven-plugin-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
2/2K2K downloaded  (tooling-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
4/7K7/7K7K downloaded  (parent-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
4/89K8/89K12/89K13/89K17/89K21/89K25/89K29/89K32/89K35/89K39/89K41/89K45/89K49/89K52/89K56/89K57/89K61/89K62/89K66/89K70/89K74/89K75/89K79/89K83/89K87/89K89/89K89K downloaded  (servicemix-3.2.3.pom)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/org.apache/poms/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository java.net (http://download.java.net/maven/1)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3/3K3K downloaded  (apache-1.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
[INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
4/109K8/109K9/109K13/109K17/109K19/109K23/109K27/109K29/109K30/109K34/109K37/109K41/109K45/109K46/109K50/109K54/109K58/109K60/109K64/109K66/109K69/109K73/109K74/109K76/109K78/109K82/109K86/109K87/109K88/109K92/109K93/109K94/109K98/109K102/109K103/109K105/109K106/109K109/109K109K downloaded  (jbi-maven-plugin-3.2.3.jar)

.....

[INFO] Unable to find resource 'org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
4/153K8/153K8/153K9/153K13/153K17/153K18/153K19/153K23/153K27/153K28/153K29/153K33/153K37/153K37/153K41/153K45/153K47/153K50/153K54/153K58/153K60/153K63/153K64/153K68/153K72/153K73/153K76/153K80/153K84/153K88/153K92/153K94/153K98/153K102/153K103/153K105/153K108/153K112/153K116/153K116/153K117/153K121/153K125/153K127/153K131/153K135/153K139/153K140/153K141/153K145/153K146/153K150/153K153/153K153K downloaded  (plexus-archiver-1.0-alpha-9.jar)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-io:jar:1.0-alpha-1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
4/11K8/11K10/11K11/11K11K downloaded  (plexus-io-1.0-alpha-1.jar)
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: D:\Informatik\Programmierung\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar
[INFO] [jbi:jbi-service-unit {execution: default-jbi-service-unit}]
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/logkit/logkit/1.0.1/logkit-1.0.1.pom
[INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo//logkit/logkit/1.0.1/logkit-1.0.1.pom
[INFO] Unable to find resource 'logkit:logkit:pom:1.0.1' in repository servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
147/147b147b downloaded  (logkit-1.0.1.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
[INFO] Unable to find resource 'avalon-framework:avalon-framework:pom:4.1.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
[INFO] Unable to find resource 'avalon-framework:avalon-framework:pom:4.1.3' in repository servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
167/167b167b downloaded  (avalon-framework-4.1.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
[INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo//javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
[INFO] Unable to find resource 'javax.servlet:servlet-api:pom:2.3' in repository servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
156/156b156b downloaded  (servlet-api-2.3.pom)
[INFO] Resolving org.apache.servicemix:servicemix-camel:jar:3.2.3:compile
[INFO] Resolving org.apache.camel:camel-core:jar:1.4.0:compile
[INFO] Resolving org.apache.camel:camel-spring:jar:1.4.0:compile
[INFO] Resolving org.springframework:spring-core:jar:2.5.5:compile
[INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
[INFO] Resolving org.springframework:spring-context:jar:2.0.8:compile
[INFO] Resolving aopalliance:aopalliance:jar:1.0:compile
[INFO] Resolving org.springframework:spring-beans:jar:2.0.8:compile
[INFO] Resolving org.springframework:spring-aop:jar:2.5.5:compile
[INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.3:compile
[INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.3:compile
[INFO] Resolving wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.3:compile
[INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
[INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
[INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.3:compile
[INFO] Resolving org.apache.ws.security:wss4j:jar:1.5.4:compile
[INFO] Resolving org.apache.santuario:xmlsec:jar:1.4.0:compile
[INFO] Resolving opensaml:opensaml:jar:1.1:compile
[INFO] Resolving org.apache.axis:axis-ant:jar:1.4:compile
[INFO] Resolving xalan:xalan:jar:2.7.0:compile
[INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
[INFO] Resolving junit:junit:jar:3.8.1:compile
[INFO] Resolving bouncycastle:bcprov-jdk13:jar:132:compile
[INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile
[INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
[INFO] Resolving log4j:log4j:jar:1.2.12:compile
[INFO] Resolving org.springframework:spring-remoting:jar:2.0.8:compile
[WARNING] Resolved artifact org.springframework:spring-core:jar:2.5.5:compile has a different version from that in dependency management org.springframework:spring-core:jar:2.0.6:provided, overriding dependency management
[WARNING] Resolved artifact org.springframework:spring-beans:jar:2.0.8:compile has a different version from that in dependency management org.springframework:spring-beans:jar:2.0.6:provided, overriding dependency management
[WARNING] Resolved artifact commons-logging:commons-logging:jar:1.1:compile has a different version from that in dependency management commons-logging:commons-logging:jar:1.0.4:provided, overriding dependency management
[WARNING] Resolved artifact org.springframework:spring-context:jar:2.0.8:compile has a different version from that in dependency management org.springframework:spring-context:jar:2.0.6:provided, overriding dependency management
[INFO] Including: log4j:log4j:jar:1.2.12:compile
[INFO] Including: commons-logging:commons-logging:jar:1.1:compile
[INFO] Including: aopalliance:aopalliance:jar:1.0:compile
[INFO] Including: xalan:xalan:jar:2.7.0:compile
[INFO] Including: org.springframework:spring-aop:jar:2.5.5:compile
[INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Including: org.springframework:spring-beans:jar:2.0.8:compile
[INFO] Including: org.springframework:spring-core:jar:2.5.5:compile
[INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
[INFO] Including: org.springframework:spring-context:jar:2.0.8:compile
[INFO] Including: junit:junit:jar:3.8.1:compile
[INFO] Generating service unit D:\Informatik\Programmierung\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
[INFO] Building jar: D:\Informatik\Programmierung\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip
[INFO] [install:install {execution: default-install}]
[INFO] Installing D:\Informatik\Programmierung\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.jar to C:\Dokumente und Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.jar
[INFO] Installing D:\Informatik\Programmierung\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\tutorial-camel-su-1.0-SNAPSHOT.zip to C:\Dokumente und Einstellungen\jaypee80\.m2\repository\org\apache\servicemix\tutorial\camel\tutorial-camel-su\1.0-SNAPSHOT\tutorial-camel-su-1.0-SNAPSHOT.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial :: Camel SA
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.apache.servicemix.tooling.camel:tutorial-camel-su:1.0-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.apache.servicemix.tooling.camel:tutorial-camel-su:pom:1.0-SNAPSHOT' in repository apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT' in repository apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.servicemix.tooling.camel -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling.camel -DartifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT
  	2) org.apache.servicemix.tooling.camel:tutorial-camel-su:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  org.apache.servicemix.tutorial.camel:tutorial-camel-sa:jbi-service-assembly:1.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  servicemix-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo/),
  apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 minutes 28 seconds
[INFO] Finished at: Wed Oct 21 15:34:13 CEST 2009
[INFO] Final Memory: 26M/47M
[INFO] ------------------------------------------------------------------------






-------- Original-Nachricht --------
> Datum: Tue, 20 Oct 2009 16:17:40 -0600
> Von: Chris Custine <ch...@gmail.com>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> Sorry about that, I meant to post a permalink directly to my message. 
> Here
> is the link:
> http://www.nabble.com/Problem-building-apache-servicemix-3.3.1-from-source---spring-support-2.0.6.jar-tt25602583ef12049.html#a25603368
> 
> This problem started happening very recently and is due to a 3rd party jar
> file and its maven metadata which points to a non-existent maven
> repository.  This is fixed in smx3 trunk and we will be releasing 3.3.2
> with
> this fix very soon.  We will update the docs with the new 3.3.2 version
> when
> we get the release out.  Until then, the fix I mention in the above email
> thread should get things working 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 Tue, Oct 20, 2009 at 3:46 PM, Jonathan Bender
> <jo...@gmx.de>wrote:
> 
> > > This message has the only known fix that I could make work.  Add it to
> > the topmost pom.xml in your project heirarchy and it should hide the bad
> > repo.
> >
> > Which message do you mean? The snippet from Gert, suggesting to add
> > dependencyManagement?
> >
> > After all, this is an issue, which would have to concern anybody, who
> tries
> > to learn Servicemix by means of the tutorial. I just want to follow the
> > tutorial and cannot believe that my problem concerning the example in
> > http://servicemix.apache.org/31-starting-a-new-project.html is of such
> > special type, since I used the newest (prominent linked) Servicemix
> files
> > (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try anything
> > special...
> >
> >
> > -------- Original-Nachricht --------
> > > Datum: Tue, 20 Oct 2009 11:55:12 -0600
> > > Von: Chris Custine <ch...@gmail.com>
> > > An: users@servicemix.apache.org
> > > Betreff: Re: Build/Compilation Failure and Warnings
> >
> > > Unfortunately, the dependencyManagement declaration is not even
> enough.
> > > Maven resolves the older dependency anyway and adds its repository
> > entries
> > > to its internal list even if it is excluded or specifically set in
> > > dependencyManagement.  These fixes keep it from being used for
> > > compilation,
> > > etc. but do not remove its repository declaration from the internal
> list.
> > > This message has the only known fix that I could make work.  Add it to
> > the
> > > topmost pom.xml in your project heirarchy and it should hide the bad
> > repo.
> > > Of course you will still have to clean your maven repo before you try
> it
> > > as
> > > well.
> > >
> > > http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
> > >
> > > 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
> > > <gert.vanthienen@gmail.com
> > > > wrote:
> > >
> > > > Jonathan,
> > > >
> > > > You should be able to use a <dependencyManagement> section in your
> > > > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
> > > > workaround until the fixes get released.  Something like
> > > > <dependencyManagement>
> > > >    <dependencies>
> > > >      <dependency>
> > > >          <groupId>org.jencks</groupId>
> > > >          <artifactId>jencks</artifactId>
> > > >          <version>2.2/version>
> > > >      </dependency>
> > > >  </dependencies>
> > > > </dependencyManagement>
> > > >
> > > > Regards,
> > > >
> > > > Gert Vanthienen
> > > > ------------------------
> > > > Open Source SOA: http://fusesource.com
> > > > Blog: http://gertvanthienen.blogspot.com/
> > > >
> > > >
> > > >
> > > > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > > > > Indeed, the .jar-file is an HTML-File.
> > > > > I deleted all files in ...\.m2\repository and run: mvn install
> (from
> > > > Project-Directory) - without success as the output shows. Any idea,
> > what
> > > to
> > > > do next?
> > > > >
> > > > > Excerpt of output:
> > > > >
> > > > > [INFO] Scanning for projects...
> > > > > [INFO] Reactor build order:
> > > > > [INFO]   Tutorial :: Camel
> > > > > [INFO]   Tutorial :: Camel SU
> > > > > [INFO]   Tutorial :: Camel SA
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
> > repository
> > > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository
> apache
> > (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > [INFO] Unable to find resource
> > > 'org.apache.servicemix:parent:pom:3.2.3'
> > > > in repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K
> 30/89K
> > > > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K
> 53/89K
> > > 56/89K
> > > > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K
> 87/89K
> > > 88/89K
> > > > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > repository
> > > > servicemix-m2-repo
> (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > )
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > repository
> > > > apache-incubating
> > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > Downloading:
> > > > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > repository
> > > > codehaus (http://repository.codehaus.org)
> > > > > Downloading:
> > > > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > repository
> > > > java.net (http://download.java.net/maven/1)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> > repository
> > > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > > > > 3/3K 3K downloaded  (apache-1.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3'
> in
> > > > repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K
> 29/109K
> > > > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K
> 60/109K
> > > > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K
> 84/109K
> > > > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K
> > > 108/109K
> > > > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > servicemix-m2-repo
> (http://svn.apache.org/repos/asf/servicemix/m2-repo
> > )
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > > apache-incubating
> > > (http://people.apache.org/repo/m2-incubating-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus
> (
> > > > http://repository.codehaus.org)
> > > > > Downloading:
> > > >
> > >
> >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net
> (
> > > > http://download.java.net/maven/1)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1'
> in
> > > > repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1'
> in
> > > > repository servicemix-m2-repo (
> > > > http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1'
> in
> > > > repository apache-incubating (
> > > > http://people.apache.org/repo/m2-incubating-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1'
> in
> > > > repository codehaus (http://repository.codehaus.org)
> > > > > Downloading:
> > > >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1'
> in
> > > > repository java.net (http://download.java.net/maven/1)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-project:pom:2.0.1'
> > > > in repository apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > >
> > > > > .....
> > > > >
> > > > >
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > [INFO] Unable to find resource
> > > > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository
> > apache
> > > (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
> > > >  (plexus-compiler-api-1.5.3.jar)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > [INFO] Unable to find resource
> > > > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in
> repository
> > > apache
> > > > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > > > > Downloading:
> > > >
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > [INFO] Unable to find resource
> > > > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository
> > > apache (
> > > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > > Downloading:
> > > >
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
> > > >  (plexus-compiler-javac-1.5.3.jar)
> > > > > [INFO] [compiler:compile {execution: default-compile}]
> > > > > [INFO] Compiling 1 source file to D:\...\Maven
> > > > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > > [ERROR] BUILD FAILURE
> > > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] Compilation failure
> > > > >
> > > > > error: error reading
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> > > > error in opening zip file
> > > > > error: error reading
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> > > > error in opening zip file
> > > > > error: error reading
> > > > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in
> > > opening
> > > > zip file
> > > > >
> > > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] For more information, run Maven with the -e switch
> > > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] Total time: 12 minutes 12 seconds
> > > > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > > > > [INFO] Final Memory: 24M/43M
> > > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > -------- Original-Nachricht --------
> > > > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> > > > >> Von: "Greg Lucas" <gr...@gmail.com>
> > > > >> An: users@servicemix.apache.org
> > > > >> Betreff: Re: Build/Compilation Failure and Warnings
> > > > >
> > > > >> Jonathan Bender wrote:
> > > > >> > @Greg: I'm not sure, if I got you right: Do you mean the
> > > > download-links
> > > > >> > of e.g. the pom-files are invalid, so that necessary pom-files
> are
> > > > >> > missing, which leads to the build error? And does Jenks 2.2
> > contain
> > > > the
> > > > >> > components servicemix-common, servicemix-eip, servicemix-jms
> plus
> > > the
> > > > >> > correct download-links?
> > > > >>
> > > > >> Not quite. Assuming you haven't already deleted it, take a look
> at
> > > one
> > > > of
> > > > >> the files it complained about, e.g.
> > > > >>
> > > > >>
> > > >
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> > > > >>
> > > > >> I suspect if you look at that file with a text editor it is
> actually
> > > an
> > > > >> HTML file, not a jar. The issue we had with jencks 2.1 is that
> its
> > > pom
> > > > has
> > > > >>
> > > > >> a reference to a repository URL that is no longer valid but that
> > does
> > > > not
> > > > >> result in an HTTP 404 when maven tries to download from it. So
> > rather
> > > > than
> > > > >>
> > > > >> giving up and trying another repo, maven happily downloads the
> HTML
> > > > >> content served up and saves it as the desired artifact.
> > > > >>
> > > > >> The first step as Gert suggested is to delete or rename your
> local
> > > repo
> > > > >> and try again to see if you end up in the same state.
> > > > >>
> > > > >> --
> > > > >> Greg
> > > > >
> > > > > --
> > > > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > > > > http://portal.gmx.net/de/go/dsl02
> > > > >
> > > >
> >
> > --
> > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> 3.5
> > -
> > sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
> >

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

Re: Build/Compilation Failure and Warnings

Posted by Chris Custine <ch...@gmail.com>.
Sorry about that, I meant to post a permalink directly to my message.  Here
is the link:
http://www.nabble.com/Problem-building-apache-servicemix-3.3.1-from-source---spring-support-2.0.6.jar-tt25602583ef12049.html#a25603368

This problem started happening very recently and is due to a 3rd party jar
file and its maven metadata which points to a non-existent maven
repository.  This is fixed in smx3 trunk and we will be releasing 3.3.2 with
this fix very soon.  We will update the docs with the new 3.3.2 version when
we get the release out.  Until then, the fix I mention in the above email
thread should get things working 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 Tue, Oct 20, 2009 at 3:46 PM, Jonathan Bender <jo...@gmx.de>wrote:

> > This message has the only known fix that I could make work.  Add it to
> the topmost pom.xml in your project heirarchy and it should hide the bad
> repo.
>
> Which message do you mean? The snippet from Gert, suggesting to add
> dependencyManagement?
>
> After all, this is an issue, which would have to concern anybody, who tries
> to learn Servicemix by means of the tutorial. I just want to follow the
> tutorial and cannot believe that my problem concerning the example in
> http://servicemix.apache.org/31-starting-a-new-project.html is of such
> special type, since I used the newest (prominent linked) Servicemix files
> (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try anything
> special...
>
>
> -------- Original-Nachricht --------
> > Datum: Tue, 20 Oct 2009 11:55:12 -0600
> > Von: Chris Custine <ch...@gmail.com>
> > An: users@servicemix.apache.org
> > Betreff: Re: Build/Compilation Failure and Warnings
>
> > Unfortunately, the dependencyManagement declaration is not even enough.
> > Maven resolves the older dependency anyway and adds its repository
> entries
> > to its internal list even if it is excluded or specifically set in
> > dependencyManagement.  These fixes keep it from being used for
> > compilation,
> > etc. but do not remove its repository declaration from the internal list.
> > This message has the only known fix that I could make work.  Add it to
> the
> > topmost pom.xml in your project heirarchy and it should hide the bad
> repo.
> > Of course you will still have to clean your maven repo before you try it
> > as
> > well.
> >
> > http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
> >
> > 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
> > <gert.vanthienen@gmail.com
> > > wrote:
> >
> > > Jonathan,
> > >
> > > You should be able to use a <dependencyManagement> section in your
> > > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
> > > workaround until the fixes get released.  Something like
> > > <dependencyManagement>
> > >    <dependencies>
> > >      <dependency>
> > >          <groupId>org.jencks</groupId>
> > >          <artifactId>jencks</artifactId>
> > >          <version>2.2/version>
> > >      </dependency>
> > >  </dependencies>
> > > </dependencyManagement>
> > >
> > > Regards,
> > >
> > > Gert Vanthienen
> > > ------------------------
> > > Open Source SOA: http://fusesource.com
> > > Blog: http://gertvanthienen.blogspot.com/
> > >
> > >
> > >
> > > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > > > Indeed, the .jar-file is an HTML-File.
> > > > I deleted all files in ...\.m2\repository and run: mvn install (from
> > > Project-Directory) - without success as the output shows. Any idea,
> what
> > to
> > > do next?
> > > >
> > > > Excerpt of output:
> > > >
> > > > [INFO] Scanning for projects...
> > > > [INFO] Reactor build order:
> > > > [INFO]   Tutorial :: Camel
> > > > [INFO]   Tutorial :: Camel SU
> > > > [INFO]   Tutorial :: Camel SA
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in
> repository
> > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache
> (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > [INFO] Unable to find resource
> > 'org.apache.servicemix:parent:pom:3.2.3'
> > > in repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K 30/89K
> > > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K 53/89K
> > 56/89K
> > > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K 87/89K
> > 88/89K
> > > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > > > Downloading:
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> repository
> > > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo
> )
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> repository
> > > apache-incubating
> > (http://people.apache.org/repo/m2-incubating-repository)
> > > > Downloading:
> > > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> repository
> > > codehaus (http://repository.codehaus.org)
> > > > Downloading:
> > > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> repository
> > > java.net (http://download.java.net/maven/1)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in
> repository
> > > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > > > 3/3K 3K downloaded  (apache-1.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > [INFO] Unable to find resource
> > > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in
> > > repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K 29/109K
> > > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K 60/109K
> > > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K 84/109K
> > > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K
> > 108/109K
> > > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo
> )
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > > apache-incubating
> > (http://people.apache.org/repo/m2-incubating-repository)
> > > > Downloading:
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus (
> > > http://repository.codehaus.org)
> > > > Downloading:
> > >
> >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > > > [INFO] Unable to find resource
> > > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net (
> > > http://download.java.net/maven/1)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > > repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > > repository servicemix-m2-repo (
> > > http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > > repository apache-incubating (
> > > http://people.apache.org/repo/m2-incubating-repository)
> > > > Downloading:
> > >
> >
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > > repository codehaus (http://repository.codehaus.org)
> > > > Downloading:
> > > http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > > repository java.net (http://download.java.net/maven/1)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-project:pom:2.0.1'
> > > in repository apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > >
> > > > .....
> > > >
> > > >
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > [INFO] Unable to find resource
> > > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository
> apache
> > (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
> > >  (plexus-compiler-api-1.5.3.jar)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > [INFO] Unable to find resource
> > > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in repository
> > apache
> > > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > [INFO] Unable to find resource
> > > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository
> > apache (
> > > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > > Downloading:
> > >
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
> > >  (plexus-compiler-javac-1.5.3.jar)
> > > > [INFO] [compiler:compile {execution: default-compile}]
> > > > [INFO] Compiling 1 source file to D:\...\Maven
> > > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > > [ERROR] BUILD FAILURE
> > > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > > [INFO] Compilation failure
> > > >
> > > > error: error reading
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> > > error in opening zip file
> > > > error: error reading
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> > > error in opening zip file
> > > > error: error reading
> > > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in
> > opening
> > > zip file
> > > >
> > > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > > [INFO] For more information, run Maven with the -e switch
> > > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > > [INFO] Total time: 12 minutes 12 seconds
> > > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > > > [INFO] Final Memory: 24M/43M
> > > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------- Original-Nachricht --------
> > > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> > > >> Von: "Greg Lucas" <gr...@gmail.com>
> > > >> An: users@servicemix.apache.org
> > > >> Betreff: Re: Build/Compilation Failure and Warnings
> > > >
> > > >> Jonathan Bender wrote:
> > > >> > @Greg: I'm not sure, if I got you right: Do you mean the
> > > download-links
> > > >> > of e.g. the pom-files are invalid, so that necessary pom-files are
> > > >> > missing, which leads to the build error? And does Jenks 2.2
> contain
> > > the
> > > >> > components servicemix-common, servicemix-eip, servicemix-jms plus
> > the
> > > >> > correct download-links?
> > > >>
> > > >> Not quite. Assuming you haven't already deleted it, take a look at
> > one
> > > of
> > > >> the files it complained about, e.g.
> > > >>
> > > >>
> > >
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> > > >>
> > > >> I suspect if you look at that file with a text editor it is actually
> > an
> > > >> HTML file, not a jar. The issue we had with jencks 2.1 is that its
> > pom
> > > has
> > > >>
> > > >> a reference to a repository URL that is no longer valid but that
> does
> > > not
> > > >> result in an HTTP 404 when maven tries to download from it. So
> rather
> > > than
> > > >>
> > > >> giving up and trying another repo, maven happily downloads the HTML
> > > >> content served up and saves it as the desired artifact.
> > > >>
> > > >> The first step as Gert suggested is to delete or rename your local
> > repo
> > > >> and try again to see if you end up in the same state.
> > > >>
> > > >> --
> > > >> Greg
> > > >
> > > > --
> > > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > > > http://portal.gmx.net/de/go/dsl02
> > > >
> > >
>
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
> -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
>

Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
> This message has the only known fix that I could make work.  Add it to the topmost pom.xml in your project heirarchy and it should hide the bad repo.

Which message do you mean? The snippet from Gert, suggesting to add dependencyManagement?

After all, this is an issue, which would have to concern anybody, who tries to learn Servicemix by means of the tutorial. I just want to follow the tutorial and cannot believe that my problem concerning the example in http://servicemix.apache.org/31-starting-a-new-project.html is of such special type, since I used the newest (prominent linked) Servicemix files (ver. 3.3.1) and Maven files(ver. 2.2.1) and didn't do and try anything special...


-------- Original-Nachricht --------
> Datum: Tue, 20 Oct 2009 11:55:12 -0600
> Von: Chris Custine <ch...@gmail.com>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> Unfortunately, the dependencyManagement declaration is not even enough.
> Maven resolves the older dependency anyway and adds its repository entries
> to its internal list even if it is excluded or specifically set in
> dependencyManagement.  These fixes keep it from being used for
> compilation,
> etc. but do not remove its repository declaration from the internal list.
> This message has the only known fix that I could make work.  Add it to the
> topmost pom.xml in your project heirarchy and it should hide the bad repo.
> Of course you will still have to clean your maven repo before you try it
> as
> well.
> 
> http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583
> 
> 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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen
> <gert.vanthienen@gmail.com
> > wrote:
> 
> > Jonathan,
> >
> > You should be able to use a <dependencyManagement> section in your
> > root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
> > workaround until the fixes get released.  Something like
> > <dependencyManagement>
> >    <dependencies>
> >      <dependency>
> >          <groupId>org.jencks</groupId>
> >          <artifactId>jencks</artifactId>
> >          <version>2.2/version>
> >      </dependency>
> >  </dependencies>
> > </dependencyManagement>
> >
> > Regards,
> >
> > Gert Vanthienen
> > ------------------------
> > Open Source SOA: http://fusesource.com
> > Blog: http://gertvanthienen.blogspot.com/
> >
> >
> >
> > 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > > Indeed, the .jar-file is an HTML-File.
> > > I deleted all files in ...\.m2\repository and run: mvn install (from
> > Project-Directory) - without success as the output shows. Any idea, what
> to
> > do next?
> > >
> > > Excerpt of output:
> > >
> > > [INFO] Scanning for projects...
> > > [INFO] Reactor build order:
> > > [INFO]   Tutorial :: Camel
> > > [INFO]   Tutorial :: Camel SU
> > > [INFO]   Tutorial :: Camel SA
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository
> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > [INFO] Unable to find resource
> 'org.apache.servicemix:parent:pom:3.2.3'
> > in repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > [INFO] Unable to find resource
> > 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K 30/89K
> > 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K 53/89K
> 56/89K
> > 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K 87/89K
> 88/89K
> > 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository)
> > > Downloading:
> > http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > codehaus (http://repository.codehaus.org)
> > > Downloading:
> > http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > java.net (http://download.java.net/maven/1)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> > http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > > 3/3K 3K downloaded  (apache-1.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > [INFO] Unable to find resource
> > 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in
> > repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K 29/109K
> > 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K 60/109K
> > 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K 84/109K
> > 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K
> 108/109K
> > 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> > apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository)
> > > Downloading:
> >
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus (
> > http://repository.codehaus.org)
> > > Downloading:
> >
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > > [INFO] Unable to find resource
> > 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net (
> > http://download.java.net/maven/1)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > repository servicemix-m2-repo (
> > http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > repository apache-incubating (
> > http://people.apache.org/repo/m2-incubating-repository)
> > > Downloading:
> >
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > repository codehaus (http://repository.codehaus.org)
> > > Downloading:
> > http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> > repository java.net (http://download.java.net/maven/1)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > > [INFO] Unable to find resource
> 'org.apache.maven:maven-project:pom:2.0.1'
> > in repository apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > >
> > > .....
> > >
> > >
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > [INFO] Unable to find resource
> > 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository apache
> (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
> >  (plexus-compiler-api-1.5.3.jar)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > [INFO] Unable to find resource
> > 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in repository
> apache
> > (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > > Downloading:
> >
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > [INFO] Unable to find resource
> > 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository
> apache (
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
> >  (plexus-compiler-javac-1.5.3.jar)
> > > [INFO] [compiler:compile {execution: default-compile}]
> > > [INFO] Compiling 1 source file to D:\...\Maven
> > Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [ERROR] BUILD FAILURE
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] Compilation failure
> > >
> > > error: error reading
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> > error in opening zip file
> > > error: error reading
> >
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> > error in opening zip file
> > > error: error reading
> > C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in
> opening
> > zip file
> > >
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] Total time: 12 minutes 12 seconds
> > > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > > [INFO] Final Memory: 24M/43M
> > > [INFO]
> > ------------------------------------------------------------------------
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------- Original-Nachricht --------
> > >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> > >> Von: "Greg Lucas" <gr...@gmail.com>
> > >> An: users@servicemix.apache.org
> > >> Betreff: Re: Build/Compilation Failure and Warnings
> > >
> > >> Jonathan Bender wrote:
> > >> > @Greg: I'm not sure, if I got you right: Do you mean the
> > download-links
> > >> > of e.g. the pom-files are invalid, so that necessary pom-files are
> > >> > missing, which leads to the build error? And does Jenks 2.2 contain
> > the
> > >> > components servicemix-common, servicemix-eip, servicemix-jms plus
> the
> > >> > correct download-links?
> > >>
> > >> Not quite. Assuming you haven't already deleted it, take a look at
> one
> > of
> > >> the files it complained about, e.g.
> > >>
> > >>
> >
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> > >>
> > >> I suspect if you look at that file with a text editor it is actually
> an
> > >> HTML file, not a jar. The issue we had with jencks 2.1 is that its
> pom
> > has
> > >>
> > >> a reference to a repository URL that is no longer valid but that does
> > not
> > >> result in an HTTP 404 when maven tries to download from it. So rather
> > than
> > >>
> > >> giving up and trying another repo, maven happily downloads the HTML
> > >> content served up and saves it as the desired artifact.
> > >>
> > >> The first step as Gert suggested is to delete or rename your local
> repo
> > >> and try again to see if you end up in the same state.
> > >>
> > >> --
> > >> Greg
> > >
> > > --
> > > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > > http://portal.gmx.net/de/go/dsl02
> > >
> >

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

Re: Build/Compilation Failure and Warnings

Posted by Chris Custine <ch...@gmail.com>.
Unfortunately, the dependencyManagement declaration is not even enough.
Maven resolves the older dependency anyway and adds its repository entries
to its internal list even if it is excluded or specifically set in
dependencyManagement.  These fixes keep it from being used for compilation,
etc. but do not remove its repository declaration from the internal list.
This message has the only known fix that I could make work.  Add it to the
topmost pom.xml in your project heirarchy and it should hide the bad repo.
Of course you will still have to clean your maven repo before you try it as
well.

http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25602583

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 Tue, Oct 20, 2009 at 11:24 AM, Gert Vanthienen <gert.vanthienen@gmail.com
> wrote:

> Jonathan,
>
> You should be able to use a <dependencyManagement> section in your
> root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
> workaround until the fixes get released.  Something like
> <dependencyManagement>
>    <dependencies>
>      <dependency>
>          <groupId>org.jencks</groupId>
>          <artifactId>jencks</artifactId>
>          <version>2.2/version>
>      </dependency>
>  </dependencies>
> </dependencyManagement>
>
> Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
>
>
> 2009/10/20 Jonathan Bender <jo...@gmx.de>:
> > Indeed, the .jar-file is an HTML-File.
> > I deleted all files in ...\.m2\repository and run: mvn install (from
> Project-Directory) - without success as the output shows. Any idea, what to
> do next?
> >
> > Excerpt of output:
> >
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Tutorial :: Camel
> > [INFO]   Tutorial :: Camel SU
> > [INFO]   Tutorial :: Camel SA
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> > 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> > 2/2K 2K downloaded  (tooling-3.2.3.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > [INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3'
> in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> > 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > [INFO] Unable to find resource
> 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> > 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K 30/89K
> 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K 53/89K 56/89K
> 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K 87/89K 88/89K
> 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> > Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> > Downloading:
> http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> codehaus (http://repository.codehaus.org)
> > Downloading:
> http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> java.net (http://download.java.net/maven/1)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> > [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > 3/3K 3K downloaded  (apache-1.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > [INFO] Unable to find resource
> 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in
> repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> > 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K 29/109K
> 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K 60/109K
> 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K 84/109K
> 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K 108/109K
> 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > [INFO] Unable to find resource
> 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > [INFO] Unable to find resource
> 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > [INFO] Unable to find resource
> 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository
> apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> > Downloading:
> http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > [INFO] Unable to find resource
> 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus (
> http://repository.codehaus.org)
> > Downloading:
> http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> > [INFO] Unable to find resource
> 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net (
> http://download.java.net/maven/1)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> > 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> repository servicemix-m2-repo (
> http://svn.apache.org/repos/asf/servicemix/m2-repo)
> > Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> repository apache-incubating (
> http://people.apache.org/repo/m2-incubating-repository)
> > Downloading:
> http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> repository codehaus (http://repository.codehaus.org)
> > Downloading:
> http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in
> repository java.net (http://download.java.net/maven/1)
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> > 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> > [INFO] Unable to find resource 'org.apache.maven:maven-project:pom:2.0.1'
> in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> >
> > .....
> >
> >
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > [INFO] Unable to find resource
> 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> > 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded
>  (plexus-compiler-api-1.5.3.jar)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > [INFO] Unable to find resource
> 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in repository apache
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> > 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> > Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > [INFO] Unable to find resource
> 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository apache (
> http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> > Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> > 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded
>  (plexus-compiler-javac-1.5.3.jar)
> > [INFO] [compiler:compile {execution: default-compile}]
> > [INFO] Compiling 1 source file to D:\...\Maven
> Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> > error: error reading
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;
> error in opening zip file
> > error: error reading
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> error in opening zip file
> > error: error reading
> C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in opening
> zip file
> >
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 12 minutes 12 seconds
> > [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> > [INFO] Final Memory: 24M/43M
> > [INFO]
> ------------------------------------------------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> >> Von: "Greg Lucas" <gr...@gmail.com>
> >> An: users@servicemix.apache.org
> >> Betreff: Re: Build/Compilation Failure and Warnings
> >
> >> Jonathan Bender wrote:
> >> > @Greg: I'm not sure, if I got you right: Do you mean the
> download-links
> >> > of e.g. the pom-files are invalid, so that necessary pom-files are
> >> > missing, which leads to the build error? And does Jenks 2.2 contain
> the
> >> > components servicemix-common, servicemix-eip, servicemix-jms plus the
> >> > correct download-links?
> >>
> >> Not quite. Assuming you haven't already deleted it, take a look at one
> of
> >> the files it complained about, e.g.
> >>
> >>
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> >>
> >> I suspect if you look at that file with a text editor it is actually an
> >> HTML file, not a jar. The issue we had with jencks 2.1 is that its pom
> has
> >>
> >> a reference to a repository URL that is no longer valid but that does
> not
> >> result in an HTTP 404 when maven tries to download from it. So rather
> than
> >>
> >> giving up and trying another repo, maven happily downloads the HTML
> >> content served up and saves it as the desired artifact.
> >>
> >> The first step as Gert suggested is to delete or rename your local repo
> >> and try again to see if you end up in the same state.
> >>
> >> --
> >> Greg
> >
> > --
> > Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> > http://portal.gmx.net/de/go/dsl02
> >
>

Re: Build/Compilation Failure and Warnings

Posted by Gert Vanthienen <ge...@gmail.com>.
Jonathan,

You should be able to use a <dependencyManagement> section in your
root pom.xml to enforce the use of jencks 2.2 instead of 2.1 as a
workaround until the fixes get released.  Something like
<dependencyManagement>
    <dependencies>
      <dependency>
          <groupId>org.jencks</groupId>
          <artifactId>jencks</artifactId>
          <version>2.2/version>
      </dependency>
  </dependencies>
</dependencyManagement>

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/10/20 Jonathan Bender <jo...@gmx.de>:
> Indeed, the .jar-file is an HTML-File.
> I deleted all files in ...\.m2\repository and run: mvn install (from Project-Directory) - without success as the output shows. Any idea, what to do next?
>
> Excerpt of output:
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Tutorial :: Camel
> [INFO]   Tutorial :: Camel SU
> [INFO]   Tutorial :: Camel SA
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> [INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
> 4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> [INFO] Unable to find resource 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
> 2/2K 2K downloaded  (tooling-3.2.3.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> [INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
> 4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> [INFO] Unable to find resource 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
> 4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K 30/89K 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K 53/89K 56/89K 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K 87/89K 88/89K 89/89K 89K downloaded  (servicemix-3.2.3.pom)
> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/org.apache/poms/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
> [INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> 3/3K 3K downloaded  (apache-1.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> [INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
> 4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K 29/109K 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K 60/109K 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K 84/109K 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K 108/109K 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
> 643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
> 4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-project:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>
> .....
>
>
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> [INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> 4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded  (plexus-compiler-api-1.5.3.jar)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> [INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> 4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> [INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> 4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded  (plexus-compiler-javac-1.5.3.jar)
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> error: error reading C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
> error: error reading C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
> error: error reading C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in opening zip file
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 12 seconds
> [INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
> [INFO] Final Memory: 24M/43M
> [INFO] ------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> -------- Original-Nachricht --------
>> Datum: Mon, 19 Oct 2009 19:00:25 -0400
>> Von: "Greg Lucas" <gr...@gmail.com>
>> An: users@servicemix.apache.org
>> Betreff: Re: Build/Compilation Failure and Warnings
>
>> Jonathan Bender wrote:
>> > @Greg: I'm not sure, if I got you right: Do you mean the download-links
>> > of e.g. the pom-files are invalid, so that necessary pom-files are
>> > missing, which leads to the build error? And does Jenks 2.2 contain the
>> > components servicemix-common, servicemix-eip, servicemix-jms plus the
>> > correct download-links?
>>
>> Not quite. Assuming you haven't already deleted it, take a look at one of
>> the files it complained about, e.g.
>>
>> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
>>
>> I suspect if you look at that file with a text editor it is actually an
>> HTML file, not a jar. The issue we had with jencks 2.1 is that its pom has
>>
>> a reference to a repository URL that is no longer valid but that does not
>> result in an HTTP 404 when maven tries to download from it. So rather than
>>
>> giving up and trying another repo, maven happily downloads the HTML
>> content served up and saves it as the desired artifact.
>>
>> The first step as Gert suggested is to delete or rename your local repo
>> and try again to see if you end up in the same state.
>>
>> --
>> Greg
>
> --
> Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
> http://portal.gmx.net/de/go/dsl02
>

Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
Indeed, the .jar-file is an HTML-File. 
I deleted all files in ...\.m2\repository and run: mvn install (from Project-Directory) - without success as the output shows. Any idea, what to do next? 

Excerpt of output:

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Tutorial :: Camel
[INFO]   Tutorial :: Camel SU
[INFO]   Tutorial :: Camel SA
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.pom
4/6K 6/6K 6K downloaded  (jbi-maven-plugin-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix.tooling:tooling:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/tooling/3.2.3/tooling-3.2.3.pom
2/2K 2K downloaded  (tooling-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix:parent:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/parent/3.2.3/parent-3.2.3.pom
4/7K 7/7K 7K downloaded  (parent-3.2.3.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
[INFO] Unable to find resource 'org.apache.servicemix:servicemix:pom:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.2.3/servicemix-3.2.3.pom
4/89K 8/89K 12/89K 12/89K 15/89K 17/89K 21/89K 25/89K 26/89K 30/89K 31/89K 32/89K 35/89K 36/89K 40/89K 41/89K 45/89K 47/89K 49/89K 53/89K 56/89K 57/89K 61/89K 62/89K 66/89K 70/89K 72/89K 75/89K 79/89K 83/89K 87/89K 88/89K 89/89K 89K downloaded  (servicemix-3.2.3.pom)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/org.apache/poms/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository java.net (http://download.java.net/maven/1)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/apache/1/apache-1.pom
[INFO] Unable to find resource 'org.apache:apache:pom:1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3/3K 3K downloaded  (apache-1.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
[INFO] Unable to find resource 'org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.2.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.2.3/jbi-maven-plugin-3.2.3.jar
4/109K 8/109K 9/109K 13/109K 17/109K 19/109K 23/109K 27/109K 29/109K 33/109K 36/109K 40/109K 44/109K 46/109K 50/109K 54/109K 58/109K 60/109K 64/109K 66/109K 70/109K 74/109K 74/109K 78/109K 79/109K 80/109K 84/109K 88/109K 89/109K 93/109K 94/109K 98/109K 102/109K 104/109K 105/109K 108/109K 109/109K 109K downloaded  (jbi-maven-plugin-3.2.3.jar)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-plugin-api:pom:2.0.1' in repository java.net (http://download.java.net/maven/1)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
643/643b 643b downloaded  (maven-plugin-api-2.0.1.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://repository.codehaus.org/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository codehaus (http://repository.codehaus.org)
Downloading: http://download.java.net/maven/1/org.apache.maven/poms/maven-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.1' in repository java.net (http://download.java.net/maven/1)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
4/11K 8/11K 11/11K 11K downloaded  (maven-2.0.1.pom)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
[INFO] Unable to find resource 'org.apache.maven:maven-project:pom:2.0.1' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)

.....


Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-api:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
4/19K 8/19K 9/19K 13/19K 17/19K 19/19K 19K downloaded  (plexus-compiler-api-1.5.3.jar)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-manager:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
4/5K 5/5K 5K downloaded  (plexus-compiler-manager-1.5.3.jar)
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
4/13K 8/13K 12/13K 13/13K 13/13K 13K downloaded  (plexus-compiler-javac-1.5.3.jar)
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

error: error reading C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
error: error reading C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
error: error reading C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in opening zip file

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 minutes 12 seconds
[INFO] Finished at: Tue Oct 20 18:04:37 CEST 2009
[INFO] Final Memory: 24M/43M
[INFO] ------------------------------------------------------------------------












-------- Original-Nachricht --------
> Datum: Mon, 19 Oct 2009 19:00:25 -0400
> Von: "Greg Lucas" <gr...@gmail.com>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> Jonathan Bender wrote:
> > @Greg: I'm not sure, if I got you right: Do you mean the download-links 
> > of e.g. the pom-files are invalid, so that necessary pom-files are  
> > missing, which leads to the build error? And does Jenks 2.2 contain the 
> > components servicemix-common, servicemix-eip, servicemix-jms plus the  
> > correct download-links?
> 
> Not quite. Assuming you haven't already deleted it, take a look at one of 
> the files it complained about, e.g.
> 
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar
> 
> I suspect if you look at that file with a text editor it is actually an  
> HTML file, not a jar. The issue we had with jencks 2.1 is that its pom has
>  
> a reference to a repository URL that is no longer valid but that does not 
> result in an HTTP 404 when maven tries to download from it. So rather than
>  
> giving up and trying another repo, maven happily downloads the HTML  
> content served up and saves it as the desired artifact.
> 
> The first step as Gert suggested is to delete or rename your local repo  
> and try again to see if you end up in the same state.
> 
> -- 
> Greg

-- 
Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://portal.gmx.net/de/go/dsl02

Re: Build/Compilation Failure and Warnings

Posted by Greg Lucas <gr...@gmail.com>.
Jonathan Bender wrote:
> @Greg: I'm not sure, if I got you right: Do you mean the download-links  
> of e.g. the pom-files are invalid, so that necessary pom-files are  
> missing, which leads to the build error? And does Jenks 2.2 contain the  
> components servicemix-common, servicemix-eip, servicemix-jms plus the  
> correct download-links?

Not quite. Assuming you haven't already deleted it, take a look at one of  
the files it complained about, e.g.

C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar

I suspect if you look at that file with a text editor it is actually an  
HTML file, not a jar. The issue we had with jencks 2.1 is that its pom has  
a reference to a repository URL that is no longer valid but that does not  
result in an HTTP 404 when maven tries to download from it. So rather than  
giving up and trying another repo, maven happily downloads the HTML  
content served up and saves it as the desired artifact.

The first step as Gert suggested is to delete or rename your local repo  
and try again to see if you end up in the same state.

-- 
Greg

Re: Build/Compilation Failure and Warnings

Posted by Jonathan Bender <jo...@gmx.de>.
Thanks for your response!

Provided I'm not totally confused, it is version 3.3.1 from this site:
http://servicemix.apache.org/servicemix-33.html
which I thought was the most up-to-date version (besides Servicemix 4), since it's directly linked from the homepage.

@Greg: I'm not sure, if I got you right: Do you mean the download-links of e.g. the pom-files are invalid, so that necessary pom-files are missing, which leads to the build error? And does Jenks 2.2 contain the components servicemix-common, servicemix-eip, servicemix-jms plus the correct download-links?

@Gert: Again not sure, but you want me to delete all files in <user.home>/.m2/repository (-> clean repo?) and follow this with the command "mvn install"? Will try tomorrow...

Thanks again for your help!
Jonathan


-------- Original-Nachricht --------
> Datum: Mon, 19 Oct 2009 16:45:11 -0400
> Von: "Greg Lucas" <gr...@gmail.com>
> An: users@servicemix.apache.org
> Betreff: Re: Build/Compilation Failure and Warnings

> This looks like the local repository corruption that occurs when there is 
> a jencks 2.1 dependency. The jencks 2.1 pom was using an outdated  
> repository URL (http://servicemix.org/m2-repo) that leads to invalid pom  
> and jar files being downloaded.
> 
> This has been fixed for more recent versions of ServiceMix, see e.g.
>   https://issues.apache.org/activemq/browse/SMXCOMP-636
>   https://issues.apache.org/activemq/browse/SM-1899
> 
> ~ Greg
> 
> 
> 
> On Mon, 19 Oct 2009 15:29:29 -0400, Gert Vanthienen
> <ge...@gmail.com> wrote:
> 
> > Jonathan,
> >
> > Which version of ServiceMix are you targeting?  These artifact
> > versions seem to indicate you're running this with ServiceMix 3.2.x as
> > the target version.  Is it intentional to target an older version or
> > were you trying to get things running for 3.4.x or Servicemix 4.x?
> >
> > Anyway, you seem to have a lot of invalid poms in this build though.
> > Could you try moving aside your local maven repository (in
> > <user.home>/.m2/repository) and then trying again?  If would be good
> > if you could give us an excerpt of the logs you'll get when running
> > this again with a clean repo.
> >
> > Regards,
> >
> > Gert Vanthienen
> > ------------------------
> > Open Source SOA: http://fusesource.com
> > Blog: http://gertvanthienen.blogspot.com/
> >
> >
> >
> > 2009/10/19 Jonathan Bender <jo...@gmx.de>:
> >> Hello,
> >>
> >> I'm learning Servicemix by going through the tutorials. Chapter 1 and 2
>  
> >> are successfully done, but right now, I have 2 problems and I'm  
> >> grateful for any advice:
> >>
> >> 1. General question: Even if the examples from chapter 1 and 2 worked, 
> >> I always get warnings of the type "Its dependencies (if any) will NOT  
> >> be available to the current build." and "Unable to find resource...".  
> >> Is that a problem, which may even be the reason for my next issue?
> >>
> >> 2. The servicemix-camel example in chapter 3 just won't work: I  
> >> followed the steps for creating the tutorial-camel-su and  
> >> tutorial-camel-sa projects and set the dependency in the SA's  
> >> pom.xml-file.
> >> When building the projects with the command "mvn install" from parent  
> >> directory, I get the error message. Since I'm not sure, which part of  
> >> the build log-output you need, here is the whole log output:
> >>
> >>
> >> D:\...\Maven Projects\Tutorial_Camel>mvn install
> >> [INFO] Scanning for projects...
> >> [INFO] Reactor build order:
> >> [INFO]   Tutorial :: Camel
> >> [INFO]   Tutorial :: Camel SU
> >> [INFO]   Tutorial :: Camel SA
> >> [WARNING] POM for 'org.springframework:spring-beans: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-core:pom:2.0.6: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  
> >> 'org.springframework:spring-context: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-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 'xerces:xerces:pom:2.0.2:runtime' is invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] Building Tutorial :: Camel
> >> [INFO]    task-segment: [install]
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> >> [INFO] [install:install {execution: default-install}]
> >> [INFO] Installing D:\...\Maven Projects\Tutorial_Camel\pom.xml to  
> >>
> C:\...\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.pom
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] Building Tutorial :: Camel SU
> >> [INFO]    task-segment: [install]
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] [resources:resources {execution: default-resources}]
> >> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered  
> >> resources,
> >> i.e. build is platform dependent!
> >> [INFO] Copying 1 resource
> >> Downloading:  
> >>
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository apache  
> >> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> >> Downloading:  
> >>
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository servicemix-m2-repo  
> >> (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> >> Downloading:  
> >>
> http://people.apache.org/repo/m2-incubating-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository apache-incubating  
> >> (http://people.apache.org/repo/m2-incubating-repository)
> >> Downloading:  
> >>
> http://repository.codehaus.org/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository codehaus (http://repository.codehaus.org)
> >> Downloading:  
> >>
> http://download.java.net/maven/1/org.apache.santuario/poms/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository java.net (http://download.java.net/maven/1)
> >> Downloading:  
> >>
> http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository apache-ws-snapshots2  
> >> (http://ws.zones.apache.org/repository2/)
> >> Downloading:  
> >>
> http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository maven2 (http://repo1.maven.org/maven2/)
> >> Downloading:  
> >>
> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> >> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' 
> >> in repository central (http://repo1.maven.org/maven2)
> >> Downloading:  
> >>
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository apache  
> >> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> >> Downloading:  
> >>
> http://svn.apache.org/repos/asf/servicemix/m2-repo/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository servicemix-m2-repo  
> >> (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> >> Downloading:  
> >>
> http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository apache-incubating  
> >> (http://people.apache.org/repo/m2-incubating-repository)
> >> Downloading:  
> >>
> http://repository.codehaus.org/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository codehaus (http://repository.codehaus.org)
> >> Downloading:  
> >> http://download.java.net/maven/1/bouncycastle/poms/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository java.net (http://download.java.net/maven/1)
> >> Downloading:  
> >>
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository apache-ws-snapshots2  
> >> (http://ws.zones.apache.org/repository2/)
> >> Downloading:  
> >>
> http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository maven2 (http://repo1.maven.org/maven2/)
> >> Downloading:  
> >>
> http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> >> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
> >> repository central (http://repo1.maven.org/maven2)
> >> [WARNING] POM for 'commons-logging:commons-logging:pom:1.0.4:provided' 
> >> is invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [WARNING] POM for  
> >>
> 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.1.1:provided'  
> >> is invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [WARNING] POM for  
> >> 'org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0.1:provided'
>  
> >> is invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [WARNING] POM for 'commons-pool:commons-pool:pom:1.3:provided' is  
> >> invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [WARNING] POM for  
> >> 'commons-collections:commons-collections:pom:2.1:provided' is invalid.
> >>
> >> Its dependencies (if any) will NOT be available to the current build.
> >> [INFO] [jbi:generate-depends-file {execution:  
> >> default-generate-depends-file}]
> >> [INFO] Created: D:\...\Maven  
> >>
> Projects\Tutorial_Camel\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
> >> [INFO] [compiler:compile {execution: default-compile}]
> >> [INFO] Compiling 1 source file to D:\...\Maven  
> >> Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [ERROR] BUILD FAILURE
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] Compilation failure
> >>
> >> error: error reading  
> >>
> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;  
> >> error in opening zip file
> >>
> >> error: error reading  
> >>
> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;  
> >> error in opening zip file
> >> error: error reading  
> >> C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in  
> >> opening zip file
> >>
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] For more information, run Maven with the -e switch
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> [INFO] Total time: 21 seconds
> >> [INFO] Finished at: Mon Oct 19 20:29:20 CEST 2009
> >> [INFO] Final Memory: 24M/43M
> >> [INFO]  
> >>
> ------------------------------------------------------------------------
> >> --
> >> --
> >> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> >> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> >>
> 
> 
> -- 
> Greg Lucas

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: Build/Compilation Failure and Warnings

Posted by Greg Lucas <gr...@gmail.com>.
This looks like the local repository corruption that occurs when there is  
a jencks 2.1 dependency. The jencks 2.1 pom was using an outdated  
repository URL (http://servicemix.org/m2-repo) that leads to invalid pom  
and jar files being downloaded.

This has been fixed for more recent versions of ServiceMix, see e.g.
  https://issues.apache.org/activemq/browse/SMXCOMP-636
  https://issues.apache.org/activemq/browse/SM-1899

~ Greg



On Mon, 19 Oct 2009 15:29:29 -0400, Gert Vanthienen
<ge...@gmail.com> wrote:

> Jonathan,
>
> Which version of ServiceMix are you targeting?  These artifact
> versions seem to indicate you're running this with ServiceMix 3.2.x as
> the target version.  Is it intentional to target an older version or
> were you trying to get things running for 3.4.x or Servicemix 4.x?
>
> Anyway, you seem to have a lot of invalid poms in this build though.
> Could you try moving aside your local maven repository (in
> <user.home>/.m2/repository) and then trying again?  If would be good
> if you could give us an excerpt of the logs you'll get when running
> this again with a clean repo.
>
> Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
>
>
> 2009/10/19 Jonathan Bender <jo...@gmx.de>:
>> Hello,
>>
>> I'm learning Servicemix by going through the tutorials. Chapter 1 and 2  
>> are successfully done, but right now, I have 2 problems and I'm  
>> grateful for any advice:
>>
>> 1. General question: Even if the examples from chapter 1 and 2 worked,  
>> I always get warnings of the type "Its dependencies (if any) will NOT  
>> be available to the current build." and "Unable to find resource...".  
>> Is that a problem, which may even be the reason for my next issue?
>>
>> 2. The servicemix-camel example in chapter 3 just won't work: I  
>> followed the steps for creating the tutorial-camel-su and  
>> tutorial-camel-sa projects and set the dependency in the SA's  
>> pom.xml-file.
>> When building the projects with the command "mvn install" from parent  
>> directory, I get the error message. Since I'm not sure, which part of  
>> the build log-output you need, here is the whole log output:
>>
>>
>> D:\...\Maven Projects\Tutorial_Camel>mvn install
>> [INFO] Scanning for projects...
>> [INFO] Reactor build order:
>> [INFO]   Tutorial :: Camel
>> [INFO]   Tutorial :: Camel SU
>> [INFO]   Tutorial :: Camel SA
>> [WARNING] POM for 'org.springframework:spring-beans: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-core:pom:2.0.6: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  
>> 'org.springframework:spring-context: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-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 'xerces:xerces:pom:2.0.2:runtime' is invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Building Tutorial :: Camel
>> [INFO]    task-segment: [install]
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing D:\...\Maven Projects\Tutorial_Camel\pom.xml to  
>> C:\...\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.pom
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Building Tutorial :: Camel SU
>> [INFO]    task-segment: [install]
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] [resources:resources {execution: default-resources}]
>> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered  
>> resources,
>> i.e. build is platform dependent!
>> [INFO] Copying 1 resource
>> Downloading:  
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository apache  
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> Downloading:  
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository servicemix-m2-repo  
>> (http://svn.apache.org/repos/asf/servicemix/m2-repo)
>> Downloading:  
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository apache-incubating  
>> (http://people.apache.org/repo/m2-incubating-repository)
>> Downloading:  
>> http://repository.codehaus.org/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository codehaus (http://repository.codehaus.org)
>> Downloading:  
>> http://download.java.net/maven/1/org.apache.santuario/poms/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository java.net (http://download.java.net/maven/1)
>> Downloading:  
>> http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository apache-ws-snapshots2  
>> (http://ws.zones.apache.org/repository2/)
>> Downloading:  
>> http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository maven2 (http://repo1.maven.org/maven2/)
>> Downloading:  
>> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0'  
>> in repository central (http://repo1.maven.org/maven2)
>> Downloading:  
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository apache  
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>> Downloading:  
>> http://svn.apache.org/repos/asf/servicemix/m2-repo/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository servicemix-m2-repo  
>> (http://svn.apache.org/repos/asf/servicemix/m2-repo)
>> Downloading:  
>> http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository apache-incubating  
>> (http://people.apache.org/repo/m2-incubating-repository)
>> Downloading:  
>> http://repository.codehaus.org/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository codehaus (http://repository.codehaus.org)
>> Downloading:  
>> http://download.java.net/maven/1/bouncycastle/poms/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository java.net (http://download.java.net/maven/1)
>> Downloading:  
>> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository apache-ws-snapshots2  
>> (http://ws.zones.apache.org/repository2/)
>> Downloading:  
>> http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository maven2 (http://repo1.maven.org/maven2/)
>> Downloading:  
>> http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
>> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in  
>> repository central (http://repo1.maven.org/maven2)
>> [WARNING] POM for 'commons-logging:commons-logging:pom:1.0.4:provided'  
>> is invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [WARNING] POM for  
>> 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.1.1:provided'  
>> is invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [WARNING] POM for  
>> 'org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0.1:provided'  
>> is invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [WARNING] POM for 'commons-pool:commons-pool:pom:1.3:provided' is  
>> invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [WARNING] POM for  
>> 'commons-collections:commons-collections:pom:2.1:provided' is invalid.
>>
>> Its dependencies (if any) will NOT be available to the current build.
>> [INFO] [jbi:generate-depends-file {execution:  
>> default-generate-depends-file}]
>> [INFO] Created: D:\...\Maven  
>> Projects\Tutorial_Camel\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 1 source file to D:\...\Maven  
>> Projects\Tutorial_Camel\tutorial-camel-su\target\classes
>> [INFO]  
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> error: error reading  
>> C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar;  
>> error in opening zip file
>>
>> error: error reading  
>> C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;  
>> error in opening zip file
>> error: error reading  
>> C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in  
>> opening zip file
>>
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Total time: 21 seconds
>> [INFO] Finished at: Mon Oct 19 20:29:20 CEST 2009
>> [INFO] Final Memory: 24M/43M
>> [INFO]  
>> ------------------------------------------------------------------------
>> --
>> --
>> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>>


-- 
Greg Lucas

Re: Build/Compilation Failure and Warnings

Posted by Gert Vanthienen <ge...@gmail.com>.
Jonathan,

Which version of ServiceMix are you targeting?  These artifact
versions seem to indicate you're running this with ServiceMix 3.2.x as
the target version.  Is it intentional to target an older version or
were you trying to get things running for 3.4.x or Servicemix 4.x?

Anyway, you seem to have a lot of invalid poms in this build though.
Could you try moving aside your local maven repository (in
<user.home>/.m2/repository) and then trying again?  If would be good
if you could give us an excerpt of the logs you'll get when running
this again with a clean repo.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/10/19 Jonathan Bender <jo...@gmx.de>:
> Hello,
>
> I'm learning Servicemix by going through the tutorials. Chapter 1 and 2 are successfully done, but right now, I have 2 problems and I'm grateful for any advice:
>
> 1. General question: Even if the examples from chapter 1 and 2 worked, I always get warnings of the type "Its dependencies (if any) will NOT be available to the current build." and "Unable to find resource...". Is that a problem, which may even be the reason for my next issue?
>
> 2. The servicemix-camel example in chapter 3 just won't work: I followed the steps for creating the tutorial-camel-su and tutorial-camel-sa projects and set the dependency in the SA's pom.xml-file.
> When building the projects with the command "mvn install" from parent directory, I get the error message. Since I'm not sure, which part of the build log-output you need, here is the whole log output:
>
>
> D:\...\Maven Projects\Tutorial_Camel>mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Tutorial :: Camel
> [INFO]   Tutorial :: Camel SU
> [INFO]   Tutorial :: Camel SA
> [WARNING] POM for 'org.springframework:spring-beans: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-core:pom:2.0.6: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 'org.springframework:spring-context: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-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 'xerces:xerces:pom:2.0.2:runtime' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Tutorial :: Camel
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing D:\...\Maven Projects\Tutorial_Camel\pom.xml to C:\...\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Tutorial :: Camel SU
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
> i.e. build is platform dependent!
> [INFO] Copying 1 resource
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: http://repository.codehaus.org/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/org.apache.santuario/poms/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/)
> Downloading: http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository maven2 (http://repo1.maven.org/maven2/)
> Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo)
> Downloading: http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: http://repository.codehaus.org/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository codehaus (http://repository.codehaus.org)
> Downloading: http://download.java.net/maven/1/bouncycastle/poms/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/)
> Downloading: http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository maven2 (http://repo1.maven.org/maven2/)
> Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository central (http://repo1.maven.org/maven2)
> [WARNING] POM for 'commons-logging:commons-logging:pom:1.0.4:provided' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.1.1:provided' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0.1:provided' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'commons-pool:commons-pool:pom:1.3:provided' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'commons-collections:commons-collections:pom:2.1:provided' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] [jbi:generate-depends-file {execution: default-generate-depends-file}]
> [INFO] Created: D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to D:\...\Maven Projects\Tutorial_Camel\tutorial-camel-su\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> error: error reading C:\...\.m2\repository\org\springframework\spring-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>
> error: error reading C:\...\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
> error: error reading C:\...\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar; error in opening zip file
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 21 seconds
> [INFO] Finished at: Mon Oct 19 20:29:20 CEST 2009
> [INFO] Final Memory: 24M/43M
> [INFO] ------------------------------------------------------------------------
> --
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>