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?

Pratibha
-- 
View this message in context: 
http://www.nabble.com/Couldn%27t-deploy-more-than-one-servicemix-camel-service-units-tp17778184p17793223.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to