[ 
https://issues.apache.org/activemq/browse/SM-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40770
 ] 

Glen Mazza commented on SM-1160:
--------------------------------

I think this is a slightly different problem because the first link you give 
tells us to:

"
You should be able to fix this in your local copy by changing the
servicemix-m2-repo URL in the root pom.xml from this:

http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo

to this:

http://svn.apache.org/repos/asf/servicemix/m2-repo/ 
"

But there is no reference to 
http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo
in the basic sample's pom.xml, causing me to think this is a different problem.



> Basic sample pom.xml has repo errors
> ------------------------------------
>
>                 Key: SM-1160
>                 URL: https://issues.apache.org/activemq/browse/SM-1160
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 3.2
>         Environment: Ubuntu Linux
>            Reporter: Glen Mazza
>            Assignee: Bruce Snyder
>            Priority: Minor
>
> The pom.xml in the basic sample needs updating.
> Using the latest 3.2 ServiceMix download on Ubuntu Linux, I cannot get the 
> "basic" ServiceMix sample to work out-of-the-box.  Running "mvn 
> jbi:embeddedServicemix" as the instructions say 
> (http://servicemix.apache.org/basic.html) is returning the following error 
> message below.
> This problem has occurred elsewhere:
> http://www.nabble.com/ServiceMix-Dependencies-not-found-tf4822980s12049.html#a13798573
> Error message:
> ....
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
> Downloading: 
> http://repository.codehaus.org/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-soap/3.2/servicemix-soap-3.2.jar
> 90K downloaded
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.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=org.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=org.opensaml -DartifactId=opensaml \
>           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
>   Path to dependency: 
>         1) org.apache.servicemix.samples:basic:jar:3.2
>         2) org.apache.servicemix:servicemix-jms:jar:3.2
>         3) org.apache.servicemix:servicemix-shared:jar:3.2
>         4) org.apache.servicemix:servicemix-soap:jar:3.2
>         5) org.opensaml:opensaml:jar:1.1
> 2) 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.samples:basic:jar:3.2
>         2) org.apache.servicemix:servicemix-jms:jar:3.2
>         3) org.apache.servicemix:servicemix-shared:jar:3.2
>         4) org.apache.servicemix:servicemix-soap2:jar:3.2
>         5) org.apache.woden:woden:jar:1.0.0M6
> ----------
> 2 required artifacts are missing.
> for artifact: 
>   org.apache.servicemix.samples:basic:jar:3.2
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   servicemix-m2-repo 
> (http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo),
>   codehaus (http://repository.codehaus.org),
>   apache-incubating (http://people.apache.org/repo/m2-incubating-repository),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache.incubating (http://people.apache.org/repo/m2-incubating-repository)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to