mvn archetype:create DremoteRepositories=http://repo.open.iona.com/maven2 -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-project-root -DarchetypeVersion=184.108.40.206 -DgroupId=com.disid -DartifactId=root-ws
and the error is:
Hi, in my previous post the mvn command wasn't right, so fixing to:
mvn archetype:create -DremoteRepositories=http://repo.open.iona.com/maven2 -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-project-root -DarchetypeVersion=220.127.116.11 -DgroupId=com.disid -DartifactId=root-ws
I get the following error:
Reason: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix.tooling -DartifactId=servicemix-project-root -Dversion=18.104.22.168 -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.servicemix.tooling -DartifactId=servicemix-project-root -Dversion=22.214.171.124 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
from the specified remote repositories:
Plugins and artifacts in Fuse ESB 3.4 have different version convention and they are shared between ESB 3.4 and 4.1. So please have a try with this:
mvn archetype:create -DremoteRepositories=http://repo.open.iona.com/maven2 -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-project-root -DarchetypeVersion=2009.01.0.1-fuse -DgroupId=com.disid -DartifactId=root-ws
Do you have a link that points to version conventions?
Here is the Fuse ESB 126.96.36.199-fuse release note:
http://fusesource.com/wiki/display/ProdInfo/FUSE+ESB+v3.4+Release+Notes. You will find different versions for components and plugins etc. And you could also compare them with the Fuse ESB 188.8.131.52-fuse and here is the Fuse ESB 184.108.40.206-fuse release note:
As for the archetypes, they are not part of the servicemix but seperated projects. But they have the similar version scheme as "JBI Components" which starts with year and the number of the releases in the year and then followed by minor releases.
For instance, the latest version of the cxf-bc service unit archetype currently is 2009.01.0.1-fuse: http://repo.open.iona.com/maven2/org/apache/servicemix/tooling/servicemix-cxf-bc-service-unit/2009.01.0.1-fuse/
Well .. I don't know why but http://repo.open.iona.com/maven2/org/apache/servicemix/servicemix-core/2009.01.0.1-fuse/servicemix-core-2009.01.0.1-fuse.jar doesn't exist and I think I should use http://repo.open.iona.com/maven2/org/apache/servicemix/servicemix-core/220.127.116.11-fuse/
Is that correct?
It is correct. And the servicemix-core in 18.104.22.168-fuse will have dependencies on servicemix-utils and servicemix-spec since we moved some part of code out of the servicemix-core so that they can be shared between 3.4 and 4.1. And again, you can find version scheme for the servicemix-utils and servicemix-spec from 22.214.171.124-fuse release note.