Stefan,

If you add another Maven 2 repository with URL http://svn.eu.apache.org/repos/asf/servicemix/m2-repo/ to the pom.xml, that should get the build working again. We have frozen down a 3.3-SNAPSHOTs of some artifacts there. If that still doesn't work, you can also add a <dependencyManagement/> section to make sure that you are using the 3.3 version for these artifacts.

Regards,

Gert

stlecho wrote:
I've changed the content of xbean's pom.xml and this fix worked for my
existing SU. Today I've generated a Camel-based SU (command:"mvn
archetype:create -DarchetypeArtifactId=servicemix-camel-service-unit
-DarchetypeGroupId=org.apache.servicemix.tooling
-DartifactId=tutorial-mail-su"). For this SU I'm getting the "Unable to
download the artifact from any repository" error again.

Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/xbe
an/xbean-spring/3.3-SNAPSHOT/xbean-spring-3.3-SNAPSHOT.pom
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/xbe
an/xbean/3.3-SNAPSHOT/xbean-3.3-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.xbean
ArtifactId: xbean
Version: 3.3-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.xbean:xbean:pom:3.3-SNAPSHOT

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

gnodet wrote:
We can't really fix this issue as we have no way to change an artifact
that has been already released.
I think we should update the servicemix 3.2 branch to use the latest
xbean version and that would work around the problem.

On Thu, Aug 21, 2008 at 5:04 AM, Ramon Buckland <[EMAIL PROTECTED]>
wrote:
Hi Ryan,

You problem is caused by an invalid Xbean 3.3 POM. I have detailed the
issue
here.

https://issues.apache.org/jira/browse/XBEAN-110

Until they fix it (Guillaume, can you fix that one ?) you can do the
following.

Rerun the archtetype:create maven goal again..

Edit ~/.m2/repository/org/apache/xbean/xbean/3.3/xbean-3.3.pom
(Windows: C:\Documents and
Settings\USER\.m2\repository\org\apache\xbean\xbean\3.3\xbean-3.3.pom )

and change line 61 from
     <version>3.3-SNAPSHOT</version>
to
     <version>3.3</version>

You can note the comment above which describes that it should have been
done
as part of the xbean release, but it was missed. We (they) are only human
:-)

Hope that helps
Regards
Ramon


--
View this message in context:
http://www.nabble.com/Another-Maven2-dependency-problem-for-Servicemix-3.2.2-tp19020478p19081709.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/




Reply via email to