You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by zaone84 <sp...@libero.it> on 2010/06/30 10:33:00 UTC

unable to create servicemix-mail archetype

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.

Re: unable to create servicemix-mail archetype

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,

Unfortunately, we never did a release of the archetypes version 2009.01. 
This archetype is only available as version 2008.01 though, so you should be
able to use that archetype and afterwards update the component version to
2009.01 in the generated pom.xml file.

Regards,



-----
Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/unable-to-create-servicemix-mail-archetype-tp512045p512615.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.