L.S.,

That is caused by a problem with an XBean pom.xml file in the public repository, which is being used by ServiceMix. One way to solve it is by editing the pom.xml file for xbean-server 3.3 in your local repository, but we have also added the missing dependencies to our own repository, so if you add http://svn.apache.org/repos/asf/servicemix/m2-repo/ as a maven repository, you should get this build working again.

Regards,

Gert

Ihor Lozinsky wrote:
Thursday 14 August 2008 13:06:57 James Strachan написав:
e using different camel versions to the one used by smx

I can not build SU with dependency to servicemix-camel-3.2.1

I got the next error list [code] Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/xbean/xbean-kernel/3.3-SNAPSHOT/xbean-kernel-3.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.xbean -DartifactId=xbean-classloader -Dversion=3.3-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.xbean -DartifactId=xbean-classloader -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.apache.servicemix.tutorial.camel:router-camel-su:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-core:jar:3.2.2
        3) org.apache.xbean:xbean-server:jar:3.3
        4) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT

2) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.xbean -DartifactId=xbean-kernel -Dversion=3.3-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.xbean -DartifactId=xbean-kernel -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.apache.servicemix.tutorial.camel:router-camel-su:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-core:jar:3.2.2
        3) org.apache.xbean:xbean-server:jar:3.3
        4) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
org.apache.servicemix.tutorial.camel:router-camel-su:jbi-service-unit:1.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
  central (http://repo1.maven.org/maven2)
[/code]


Reply via email to