Hi Gordon,

this is because the repository moved to a new location.
You can fix this by changing the URL for the servicemix-m2-repo in both the
repository and pluginRepository elements to:
http://svn.apache.org/repos/asf/servicemix/m2-repo/

LG
Lars




Gordon Dickens-2 wrote:
> 
> I am trying to build our application on a new system (clean repository) 
> without building ServiceMix from source.  It appears that dependencies 
> of ServiceMix components are not being found.
> 
> The build can not find:
> 
>     * woden-1.0.0M6.jar
>     * opensaml-1.1.jar
> 
> 
> 
> See the following for more detail.
> 
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-bean/3.2/servicemix-bean-3.2.jar
> 53K downloaded
> Downloading: 
> http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.jar
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.jar
> Downloading: 
> http://repository.codehaus.org/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.jar
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.jar
> Downloading:
> http://repo1.maven.org/maven2/junit/junit/4.3.1/junit-4.3.1.jar
> 104K downloaded
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-components/3.2/servicemix-components-3.2.jar
> 245K downloaded
> Downloading: 
> http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo-annotation_1.0_spe
> c-1.0.jar
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo-annotation_1.0_spec-1.0.
> jar
> Downloading: 
> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo-annotation_1.0_spec-1.0.jar
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo-annotation_1.0_spec-1.0.jar
> 11K downloaded
> Downloading: 
> http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
> Downloading: 
> http://repository.codehaus.org/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
> Downloading: 
> http://repo1.maven.org/maven2/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
> 129K downloaded
> Downloading: 
> http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/opensaml/opensaml/1.1/opensaml-1.1.jar
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/opensaml/opensaml/1.1/opensaml-1.1.jar
> Downloading: 
> http://repository.codehaus.org/org/opensaml/opensaml/1.1/opensaml-1.1.jar
> Downloading: 
> http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1/opensaml-1.1.jar
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) 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) com.mycompany.services:app_util:jar:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-bean: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) 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) com.mycompany.services:app_util:jar:1.0-SNAPSHOT
>         2) org.apache.servicemix:servicemix-bean: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 required artifacts are missing.
> 
> for artifact:
>   com.mycompany.services:app_util:jar:1.0-SNAPSHOT
> 
> 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: 18 seconds
> [INFO] Finished at: Fri Nov 16 12:55:30 EST 2007
> [INFO] Final Memory: 12M/22M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> 
> Regards,
> Gordon Dickens
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ServiceMix-Dependencies-not-found-tf4822980s12049.html#a13808085
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to