Hi All,
I'm following the instructions in the Orchestration with JSR181 Tutorial
found at
http://incubator.apache.org/servicemix/orchestration-with-jsr181.html and
when executing the following maven command to create the first service unit,
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-http-consumer-service-unit
-DarchetypeVersion=3.1.1-incubating
-DgroupId=org.apache.servicemix.samples.citytime
-DartifactId=citytime-http-su
I receive the following error:
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-http-consumer-service-unit
Version: 3.1-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
-DartifactI
d=servicemix-http-consumer-service-unit \
-Dversion=3.1-incubating -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=se
rvicemix-http-consumer-service-unit \
-Dversion=3.1-incubating -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
org.apache.servicemix.tooling:servicemix-http-consumer-service-unit:jar:3.1-in
cubating
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
When executing the other maven command to create the second service unit, I
receive the following error message:
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-jsr181-wsdl-first-service-unit
Version: 3.1-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
-DartifactI
d=servicemix-jsr181-wsdl-first-service-unit \
-Dversion=3.1-incubating -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=se
rvicemix-jsr181-wsdl-first-service-unit \
-Dversion=3.1-incubating -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
org.apache.servicemix.tooling:servicemix-jsr181-wsdl-first-service-unit:jar:3.
1-incubating
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Any ideas??? Thanks.
--
View this message in context:
http://www.nabble.com/Error-when-executing-maven-in-the-Orchestration-with-JSR181-Tutorial-tf4194286s12049.html#a11928102
Sent from the ServiceMix - User mailing list archive at Nabble.com.