To answer myself

I downloaded this file

http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/servicemix-service-engine/3.0.1-incubating/servicemix-service-engine-3.0.1-incubating.jar

and put into my local maven repository at

C:\Documents and
Settings\username\.m2\repository\org\apache\servicemix\tooling\servicemix-service-engine\3.1-incubating-SNAPSHOT

I then used this as the archetypeId

-DarchetypeVersion=3.0.1-incubating


Prem wrote:
> 
> Hello
> 
> I am trying to create the HelloWorld SE tutorial from
> http://goopen.org/confluence/display/SM/Hello+World+-+SE
> 
> But I'm having trouble with the first maven command:
> mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
> -DarchetypeArtifactId=servicemix-service-engine
> -DarchetypeVersion=3.0-incubating
> -DgroupId=org.apache.servicemix.samples.helloWorldSE
> -DartifactId=hello-world-SE
> 
> 
>  this is the output after running the command
> 
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/tooling/servicemix-service-engine/3
> .0-incubating/servicemix-service-engine-3.0-incubating.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.servicemix.tooling
> ArtifactId: servicemix-service-engine
> Version: 3.0-incubating
> 
> Reason: Unable to download the artifact from any repository
> 
> Try downloading the file manually from the project website.
> 
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.servicemix.tooling
> -DartifactId=servicemix-service
> -engine \
>         -Dversion=3.0-incubating -Dpackaging=jar -Dfile=/path/to/file
> 
> 
>  
> org.apache.servicemix.tooling:servicemix-service-engine:jar:3.0-incubating
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Nov 09 11:10:52 EST 2006
> [INFO] Final Memory: 4M/8M
> [INFO]
> ------------------------------------------------------------------------
> 
> I also tried using the 3.0.1 development snapshots, same problem, can
> somebody please suggest anything that might resolve this problem.
> 
> Thanks,
> Prem
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-creating-the-HelloWorld-Archetype-tf2602589s12049.html#a7346475
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to