Hello Everybody,
I was going through service mix tutorial available in the link
http://servicemix.apache.org/31-starting-a-new-project.html
After creating the POM.xml, executed the following maven commands
successfully:
- mvn archetype:create
-DarchetypeArtifactId=servicemix-camel-service-unit
-DarchetypeGroupId=org.apache.servicemix.tooling
-DartifactId=tutorial-camel-su
- mvn archetype:create
-DarchetypeArtifactId=servicemix-service-assembly
-DarchetypeGroupId=org.apache.servicemix.tooling
-DartifactId=tutorial-camel-sa
also added the SU as a dependency in the SA Pom.xml successfully
but on executing the command mvn install
I get the following error:
Missing:
----------
1) 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
----------
1 required artifact is missing.
for artifact:
org.apache.servicemix.tutorial.camel:tutorial-camel-su:jbi-service-unit:
1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
I have searched the file but was unable to find it.
Could any please give me the solution for this? Eagerly waiting for the
solution.
Thanks and Regards,
Nawaz Ahmed