Tuesday, April 21, 2009

AppleFinderService not found

I was building Axis2 from source, as I had to build WSO2 Carbon from the source.

$ svn co http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/ axis2

$ cd axis2
Then as mentioned in the documents,
$ cd modules/tool/axis2-mar-maven-plugin
$ mvn clean install
$ cd ../axis2-aar-maven-plugin/
$ mvn clean install
$ cd ../../..

Back at the root level,
$ mvn clean install -Dmaven.test.skip=true

But when building axis2, it failed - JAXWS Integration module gave an embedded error saying that target/test-classes/servicesjars/AppleFinderService not found.
To resolve this, I had to Comment the line
modules/jaxws-integration
from axis2/pom.xml
before building axis2.

Then Axis2 was built successfully.
$ mvn clean install -Dmaven.test.skip=true

I used Chintana Wilamuna’s weblog as my reference in building Carbon.

0 comments: