Thursday 14 August 2008 13:06:57 James Strachan написав: > e using different camel versions to the one used by smx
I can not build SU with dependency to servicemix-camel-3.2.1 I got the next error list [code] Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/xbean/xbean-kernel/3.3-SNAPSHOT/xbean-kernel-3.3-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [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-classloader -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-classloader -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.servicemix.tutorial.camel:router-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-kernel -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-kernel -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.servicemix.tutorial.camel:router-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.camel:router-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) [/code]
