On Nov 16, 2007 11:06 AM, Gordon Dickens <[EMAIL PROTECTED]> 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)

When a project graduates from the Incubator, all the resources get
moved out of the Incubator and into a to a Top Level Project. This
includes the mailing lists, website, etc. and the Subversion repo
which was hosting some artifacts for the build. For example, the woden
artifacts are now located here:

http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/woden/woden/1.0.0M6/

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/

Make sure to change the URL for both the repository and the pluginRepository.

I'm rebuilding now as well to test this.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Reply via email to