You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Nate Marks <na...@pobox.com> on 2010/08/18 00:51:44 UTC
servicemix wsdl soap tutorial maven dependencies
Hi all,
I'm working on the servicemix tutorials and I believe I have the problem
below but adding the repositories to the root POM didn't seem to help. I'm
sure I'm missing something obvious. Any help will be appreciated:)
https://issues.apache.org/activemq/browse/SM-1160
***root POM***
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.servicemix.tutorial</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Tutorial</name>
<modules>
<module>tutorial-file-su</module>
<module>tutorial-sa</module>
<module>tutorial-jms-su</module>
<module>tutorial-camel-su</module>
</modules>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>servicemix</id>
<url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>servicemix</id>
<url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
</pluginRepository>
</pluginRepositories>
</project>
***root POM***
I get the following output when I run mvn install in the project root
***error output***
[INFO] Unable to find resource 'opensaml:opensaml:jar:1.1' in repository
maven2 (http://repo1.maven.org/maven2/)
[INFO] Unable to find resource 'org.apache.woden:woden:jar:1.0.0M6' in
repository java.net (http://download.java.net/maven/1)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) bouncycastle:bcprov-jdk15:jar:132
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=bouncycastle
-DartifactId=bcprov-jdk15 -Dversion=132 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=bouncycastle
-DartifactId=bcprov-jdk15 -Dversion=132 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
2) org.apache.servicemix:servicemix-file:jar:3.2.3
3) org.apache.servicemix:servicemix-shared:jar:3.2.3
4) org.apache.servicemix:servicemix-soap2:jar:3.2.3
5) org.apache.ws.security:wss4j:jar:1.5.4
6) bouncycastle:bcprov-jdk15:jar:132
2) opensaml:opensaml:jar:1.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=opensaml -DartifactId=opensaml
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=opensaml -DartifactId=opensaml
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
2) org.apache.servicemix:servicemix-file:jar:3.2.3
3) org.apache.servicemix:servicemix-shared:jar:3.2.3
4) org.apache.servicemix:servicemix-soap2:jar:3.2.3
5) org.apache.ws.security:wss4j:jar:1.5.4
6) opensaml:opensaml:jar:1.1
3) org.apache.woden:woden:jar:1.0.0M6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.woden -DartifactId=woden
-Dversion=1.0.0M6 -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.woden -DartifactId=woden
-Dversion=1.0.0M6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
2) org.apache.servicemix:servicemix-file:jar:3.2.3
3) org.apache.servicemix:servicemix-shared:jar:3.2.3
4) org.apache.servicemix:servicemix-soap2:jar:3.2.3
5) org.apache.woden:woden:jar:1.0.0M6
----------
3 required artifacts are missing.
for artifact:
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
from the specified remote repositories:
nexus (http://gndev-vcs-01.gndev.local:8081/nexus/content/groups/public)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Aug 17 17:47:06 GMT-05:00 2010
[INFO] Final Memory: 55M/346M
[INFO]
------------------------------------------------------------------------
*** error output***
--
View this message in context: http://servicemix.396122.n5.nabble.com/servicemix-wsdl-soap-tutorial-maven-dependencies-tp2638820p2638820.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.