When I try to build the SA of the tutorial section 2.6 I get the error 'Failed to resolve artifacts'.
I have created a camel SU and a JMS SU as described, using the archetypes and updating the relevant files. And I have updated the SA pom.xml file to include the dependencies. But when I run 'mvn install' I get the errors seen below. Looking at http://servicemix.apache.org/dist/servicemix-3.3-SNAPSHOT/site/assemblies/apache-servicemix-web/dependencies.html I failed to find the jar (xbean-classloader is wrong version, xbean-kernel I couldnt find) files needed to manually install...? [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.xbean -DartifactId=xbean-cla ssloader -Dversion=3.3-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.xbean -DartifactId=xbean-class loader -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] - DrepositoryId=[id] Path to dependency: 1) org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0 -SNAPSHOT 2) org.apache.servicemix:servicemix-core:jar:3.2.2 3) org.apache.xbean:xbean-server:jar:3.3 4) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT 2) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.xbean -DartifactId=xbean-ker nel -Dversion=3.3-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.xbean -DartifactId=xbean-kerne l -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] Path to dependency: 1) org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0 -SNAPSHOT 2) org.apache.servicemix:servicemix-core:jar:3.2.2 3) org.apache.xbean:xbean-server:jar:3.3 4) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT ---------- 2 required artifacts are missing. for artifact: org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository), central (http://repo1.maven.org/maven2) -- View this message in context: http://www.nabble.com/Cannot-resolve-artifacts-when-building-Tutorial-tp20550129p20550129.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
