You should try removing the reference to xbean from your project.xml and
maven.xml.
* remove the <dependency> with xbean-spring from the project.xml
* remove the postGoal name="java:compile" element from maven.xml
XBean is not really used in ServiceMix 1.1, so you can safely remove
this dependency.
Cheers,
Guillaume Nodet
Peter Smith wrote:
I am trying to build ServiceMix 1.1 from the source code download but
I get error as follows
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download drools-all-jdk1.4-2.1.jar.
1761K downloaded
Attempting to download xbean-spring-1.0-SNAPSHOT.jar.
WARNING: Failed to download xbean-spring-1.0-SNAPSHOT.jar.
Attempting to download annogen-0.1.0.jar.
242K downloaded
Attempting to download jencks-all-1.1.jar.
449K downloaded
Attempting to download activemq-3.2.jar.
3364K downloaded
Attempting to download activemq-ra-3.2.jar.
71K downloaded
Attempting to download activecluster-1.1-SNAPSHOT.jar.
Attempting to download activesoap-1.0-SNAPSHOT.jar.
Attempting to download xfire-core-1.0-M5.jar.
232K downloaded
Attempting to download xfire-aegis-1.0-M5.jar.
73K downloaded
Attempting to download xfire-spring-1.0-M5.jar.
14K downloaded
Attempting to download yom-1.0-alpha-2.jar.
51K downloaded
The build cannot continue because of the following unsatisfied
dependency:
xbean-spring-1.0-SNAPSHOT.jar (try downloading from http://www.gbean.org)
Total time: 5 minutes 50 seconds
Finished at: Fri Oct 28 17:09:47 EST 2005
===============
I am just a maven novice so I have no idea what is going on.
But it seems suspicious to me that the build.xml has this line
<get dest="${libdir}/xbean-spring-1.0-SNAPSHOT.jar"
usetimestamp="true" ignoreerrors="true"
src="http://dist.codehaus.org/xbean/jars/xbean-spring-1.0-SNAPSHOT.jar">
But in http://dist.codehaus.org/xbean/jars/
<http://dist.codehaus.org/xbean/jars/>there is no
xbean-spring-1.0-SNAPSHOT.jar. There is however a
xbean-spring-2.0-SNAPSHOT.jar
What's up?
Thanks
Peter.