I'm trying to build the trunk from /java after a mvn clean... and i'm
getting some issues and would like to see if anyone have an idea on how to
solve this...
This looks similar to what Ignacio were experiencing in the thread :
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg07869.html
I'm getting the following issues :
[WARNING] POM for 'axis2:axis2-kernel:pom:SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
java.lang.NoSuchMethodError:
org.apache.ws.commons.schema.XmlSchemaCollection.mapNamespace
(Ljava/lang/String;Ljava/lang/String;)V
at
org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(
WSDLToAxisServiceBuilder.java:130)
I have tried to partially clean maven local repository, with not much
success...
Here is full log :
[WARNING] Unable to get resource from repository apache.m1 (
http://people.apache.org/repository)
[INFO] snapshot axis2:axis2-kernel:SNAPSHOT: checking for updates from
apache-nightly-repository
[INFO] snapshot axis2:axis2-kernel:SNAPSHOT: checking for updates from
apache.m1
[WARNING] POM for 'axis2:axis2-kernel:pom:SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'axis2:axis2-kernel:pom:SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for 'axis2:axis2-kernel:pom:SNAPSHOT:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\DEV\Projects\Tuscany\source\java\sca\bindings\binding.axis2\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.tuscany.binding.axis2.Axis2ServiceTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec
Running org.apache.tuscany.binding.axis2.Axis2ReferenceTestCase
log4j:WARN No appenders could be found for logger (
org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.686 sec
<<< FAILURE!
testInvokeService(org.apache.tuscany.binding.axis2.Axis2ReferenceTestCase)
Time elapsed: 1.686 sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.ws.commons.schema.XmlSchemaCollection.mapNamespace
(Ljava/lang/String;Ljava/lang/String;)V
at
org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(
WSDLToAxisServiceBuilder.java:130)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements
(WSDL11ToAxisServiceBuilder.java:1557)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:200)
at
org.apache.axis2.description.AxisService.createClientSideAxisService(
AxisService.java:1144)
at
org.apache.tuscany.binding.axis2.Axis2Reference.createServiceClient(
Axis2Reference.java:100)
at org.apache.tuscany.binding.axis2.Axis2Reference.<init>(
Axis2Reference.java:70)
at
org.apache.tuscany.binding.axis2.Axis2ReferenceTestCase.createAxis2Reference
(Axis2ReferenceTestCase.java:75)
at
org.apache.tuscany.binding.axis2.Axis2ReferenceTestCase.testInvokeService(
Axis2ReferenceTestCase.java:46)
Results :
Tests in error:
testInvokeService(org.apache.tuscany.binding.axis2.Axis2ReferenceTestCase)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 34 seconds
[INFO] Finished at: Fri Sep 15 21:46:37 PDT 2006
[INFO] Final Memory: 22M/40M
[INFO]
------------------------------------------------------------------------
- Luciano