On Thu, Jun 12, 2008 at 12:16 AM, pratibhaG <[EMAIL PROTECTED]> wrote:
>
> I downloaded the source for servicemix 3.2.2 and tried to build it as
> explained in
> http://servicemix.apache.org/building.html
> It worked fine for
>
> mvn -Dmaven.test.skip=true -Pstep1 install
>
> but when I moved further for
> mvn -Dmaven.test.skip=true -Pstep2 install
>
> It gave me following error:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:jar:1.4-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.camel
> -DartifactId=camel-spring -Dversion=1.4-SNAPSHOT
> -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.camel
> -DartifactId=camel-spring -Dversion=1.4-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1)
> org.apache.servicemix:servicemix-camel:jbi-component:3.2.2-SNAPSHOT
>        2) org.apache.camel:camel-spring:jar:1.4-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.apache.servicemix:servicemix-camel:jbi-component:3.2.2-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo),
>  java.net (http://download.java.net/maven/1),
>  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>  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)
>
>
> It is missing
> org.apache.camel:camel-spring:jar:1.4-SNAPSHOT
>
> I tried to search for this artifact on above repositories as well as google,
> but could not find it.
> How can I solve this problem?
>
> Will it do if I change the dependency from camel 1.4 to 1.3 as the above
> artifact for version 1.3 is available?

This is a problem with the snapshots for Camel being deleted from the
Apache snapshots repository. What I did to work around this is to
build the camel trunk to create a 1.4 snapshot locally.

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 Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to