Hi Nivi,
This is caused by xbean 3.3 has snapshot dependency, and xbean 3.4.3 fix it.
In the latest Servicemix snapshot, we already use the xbean 3.4.3, so
this problem should be gone.
Try with the 3.3.1 snapshot, you can download it from [1]
[1]http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/apache-servicemix/3.3.1-SNAPSHOT/
Freeman
Nivetha Shri wrote:
Hi all,
Am using servicemix3.3 and maven -2.0.9
Am new to service miz and working on the tutorials
I was able to do the first 2 tutorials without any issues.
In the 3rd tutorial, when i clean up and do the first build am getting the
following error
.................................
.................................
.................................
[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: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-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: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.
kindly help me to solve this issue.
Regards
Nivi