Hi, i follow the instructions in servicemix-mail's page, but the maven
command to create this archetype foult! the command that i do is:
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-mail-service-unit
-DarchetypeVersion=2009.01-SNAPSHOT
-DgroupId=org.apache.servicemix.samples.mailSender -DartifactId=mailSU
and the output is:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: mailSender
[INFO] task-segment: [archetype:create] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [archetype:create {execution: default-cli}]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID:
org.apache.servicemix.samples.mailSender
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/servicemix-mail-service-unit/2009.01-SNAPSHOT/servicemix-mail-service-unit-2009.01-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.servicemix.tooling:servicemix-mail-service-unit:jar:2009.01-SNAPSHOT'
in repository apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error:
org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested
org.apache.servicemix.tooling:servicemix-mail-service-unit:jar:2009.01-SNAPSHOT
download does not exist.
Unable to download the artifact from any repository
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Jun 30 10:30:58 CEST 2010
[INFO] Final Memory: 19M/173M
Indeed, also without specify the artifact version this command go well! I
have servicemix 3.3.1. Thanks if someone can help me!
--
View this message in context:
http://servicemix.396122.n5.nabble.com/unable-to-create-servicemix-mail-archetype-tp512045p512045.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.