You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by sou <so...@gmail.com> on 2010/08/27 14:59:29 UTC

problem with camel

i'm using a SMX project usin the tutorial but i have this problems that
stopped me.

C:\maven\p1>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   SMX-Camel :: Tutorial
[INFO]   A Camel based JBI Service Unit
[INFO]   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 SMX-Camel :: Tutorial
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\maven\p1\pom.xml to
C:\Users\souhaiel\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT
.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building A Camel based JBI Service Unit
[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-re
pository)
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-rep
o)
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-reposi
tory)
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:
C:\maven\p1\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to
C:\maven\p1\tutorial-camel-su\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

error: error reading
C:\Users\souhaiel\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
error in opening zip file
error: error reading
C:\Users\souhaiel\.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: 24 seconds
[INFO] Finished at: Fri Aug 27 04:01:21 GMT+01:00 2010
[INFO] Final Memory: 25M/60M

is there any  ideas please  and thank
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/problem-with-camel-tp2739945p2739945.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: problem with camel

Posted by sou <so...@gmail.com>.
i do  like you say but the problem still be.
this provlem is the 3.1  of tutorial
i tired to run  servicemix 4.2.0 but i didn't understand haow it work so
prefered using 3.3.1
it may be a confusion between the two versions ?
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/problem-with-camel-tp2739945p2800403.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: problem with camel

Posted by Willem Jiang <wi...@gmail.com>.
Hi sou,

You need to deleted the spring-support-2.0.6.jar and xerces-2.0.2.jar, 
as they are not valid jars.

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

Willem

sou wrote:
> thanks for reply,
> I checked the xerces-2.0.2.jar  file   it's size is 11Ko and there is also a  
> " xerces-2.0.2.xml"
> Do you think that deleting this file may solve problem.?
> Please more détails if possible because  it's a  completly new thing for me


Re: problem with camel

Posted by sou <so...@gmail.com>.
thanks for reply,
I checked the xerces-2.0.2.jar  file   it's size is 11Ko and there is also a  
" xerces-2.0.2.xml"
Do you think that deleting this file may solve problem.?
Please more détails if possible because  it's a  completly new thing for me
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/problem-with-camel-tp2739945p2740256.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: problem with camel

Posted by Hadrian Zbarcea <hz...@gmail.com>.
Hi,

Can you please check that you have a correct version of 
C:\Users\souhaiel\.m2\repository\xerces\xerces\2.0.2\xerces-2.0.2.jar
in your maven repository. Sometimes maven messes up downloads (but it's extremely rare)
in which case you can just delete it and try again.

You could also have gotten it from a repo that uses redirects (more likely) and that file could be an 
html file actually, who knows. Looking at that file and its size maybe, will help you figure out
what the problem is.

I hope this helps,
Hadrian

On Aug 27, 2010, at 8:59 AM, sou wrote:

> 
> i'm using a SMX project usin the tutorial but i have this problems that
> stopped me.
> 
> C:\maven\p1>mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   SMX-Camel :: Tutorial
> [INFO]   A Camel based JBI Service Unit
> [INFO]   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 SMX-Camel :: Tutorial
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\maven\p1\pom.xml to
> C:\Users\souhaiel\.m2\repository\org\apache\servicemix\tutorial\camel\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT
> .pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building A Camel based JBI Service Unit
> [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-re
> pository)
> 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-rep
> o)
> 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-reposi
> tory)
> 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:
> C:\maven\p1\tutorial-camel-su\target\classes\META-INF\maven\dependencies.properties
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to
> C:\maven\p1\tutorial-camel-su\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> error: error reading
> C:\Users\souhaiel\.m2\repository\org\springframework\spring-support\2.0.6\spring-support-2.0.6.jar;
> error in opening zip file
> error: error reading
> C:\Users\souhaiel\.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: 24 seconds
> [INFO] Finished at: Fri Aug 27 04:01:21 GMT+01:00 2010
> [INFO] Final Memory: 25M/60M
> 
> is there any  ideas please  and thank
> -- 
> View this message in context: http://servicemix.396122.n5.nabble.com/problem-with-camel-tp2739945p2739945.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.