Forum Home » Fuse Distributions » Fuse ESB

Thread: servicemix-osgi-camel-archetype for ESB 4.2

 
This question is answered.


Permlink Replies: 1 - Last Post: Feb 16, 2010 2:47 PM Last Post By: joeluo
thygesen

Posts: 31
Registered: 04/04/09
servicemix-osgi-camel-archetype for ESB 4.2
Posted: Feb 16, 2010 1:42 PM
 
  Click to reply to this thread Reply
Documentation http://fusesource.com/docs/esb/4.2/deploy_osgi/index.html refers to some maven archetypes... But I cannot get them to work.

mvn archetype:create
-DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-osgi-camel-archetype
-DarchetypeVersion=2.2.0-fuse-01-00
-DgroupId=GroupId
-DartifactId=ArtifactId
-Dversion=Version

Extract from build:

ERROR BUILD FAILURE
INFO
INFO The desired archetype does not exist (org.apache.servicemix.tooling:servicemix-osgi-camel-archetype:2.2.0-fuse-01-00)

Would be nice if they worked.. but until then I'll just copy paste from camel examples.

brgds
Peter

BTW Thank you for your great work and effort on ESB 4.2 :)

Edited by: thygesen on Feb 16, 2010 1:42 PM
joeluo

Posts: 120
Registered: 03/14/08
Re: servicemix-osgi-camel-archetype for ESB 4.2
Posted: Feb 16, 2010 2:46 PM   in response to: thygesen in response to: thygesen
Correct
  Click to reply to this thread Reply
The latest version for servicemix-osgi-camel-archetype is 2010.01.0-fuse-01-00. See http://repo.fusesource.com/maven2/org/apache/servicemix/tooling/servicemix-osgi-camel-archetype/. So give it a try with command below:

mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-osgi-camel-archetype -DarchetypeVersion=2010.01.0-fuse-01-00 -DremoteRepositories=http://repo.fusesource.com/maven2 -DgroupId=com.mycompany.test -DartifactId=camel_archetype_test -Dversion=1.0-SNAPSHOT