On 3/8/07, Bruce Snyder <[EMAIL PROTECTED]> wrote:
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
I stand corrected. It was brought to my attention that the
remoteRepositories system property can be used to point to a specific
repo via the command line. I've updated the tutorials with this note
so the command that works is as follows:
$ 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 \
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository
I just tested this after moving my local repo aside and it works correctly.
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/