The issue is that ServiceMix releases are not published in the Maven
central repo due to Incubator policies. The solution to this is
either:

1) To point Maven to the Incubator repo as noted here:

http://incubator.apache.org/servicemix/4-examples.html#4.Examples-Mavenconfiguration

OR

2) To build ServiceMix from source as described here:

http://incubator.apache.org/servicemix/building.html

However, it appears that solution #1 will not work at this time
because Maven's archetype:create goal does not properly use repos
listed in the local settings.xml - which seems to be a bug in Maven so
I filed an issue:

http://jira.codehaus.org/browse/MNG-2862

So it looks like the only solution is to build ServiceMix from source.
This is pretty easy to accomplish and doesn't take too long even with
a clean repo. Just make sure that if you're going to use ServiceMix
3.1 that you check out the 3.1 tag from Subversion and not the trunk.
The 3.1 tag is here:

http://svn.apache.org/repos/asf/incubator/servicemix/tags/servicemix-3.1/

So make sure to check out from that URL. Once the source is built
successfully, you can run the following Maven command to create the
hello-world-bc:

$ mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-binding-component \
-DarchetypeVersion=3.1-incubating \
-DgroupId=org.apache.servicemix.samples.helloworld.bc \
-DartifactId=hello-world-bc

Please let us know if you have any questions.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to