Guillaume On Friday 13 April 2007 11:19, tog wrote: > The first problem was solved using thorsten's hint, I added the > version of the plugin in parent/pom.xml and that solved my problem.
I just committed that change to hopefully figure out what the apache continuum is complaining about. > The other problem was on my side but I got a new one ! I build on a > Linux box using 1.5.0_11. It looks like you're caught between a couple of merges I did yesterday. The <init>(Lorg/apache/cxf/service/model/ServiceInfo;)V stuff was added yesterday. I would suggest a top level: mvn clean svn up mvn -Pfastinstall to just clean it all out and start fresh. Dan > > Regards > Guillaume > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running > org.apache.cxf.tools.java2wsdl.generator.WSDLGeneratorFactoryTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 > sec Running > org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBu >ilderTest Tests run: 14, Failures: 0, Errors: 1, Skipped: 12, Time > elapsed: 1.993 sec <<< FAILURE! > testRPCLit( > org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBu >ilderTest) Time elapsed: 1.797 sec <<< ERROR! > java.lang.NoSuchMethodError: org.apache.cxf.wsdl11.ServiceWSDLBuilder > .<init>(Lorg/apache/cxf/service/model/ServiceInfo;)V > at > org.apache.cxf.tools.java2wsdl.generator.wsdl11.WSDL11Generator.genera >te( WSDL11Generator.java:40) > at > org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBu >ilderTest.testRPCLit (JaxwsServiceBuilderTest.java:94) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.junit.internal.runners.TestMethodRunner.executeMethodBody( > TestMethodRunner.java:99) > at org.junit.internal.runners.TestMethodRunner.runUnprotected( > TestMethodRunner.java:81) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestMethodRunner.runMethod( > TestMethodRunner.java:75) > at org.junit.internal.runners.TestMethodRunner.run( > TestMethodRunner.java:45) > at > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod( > TestClassMethodsRunner.java:66) > at org.junit.internal.runners.TestClassMethodsRunner.run( > TestClassMethodsRunner.java:35) > at > org.junit.internal.runners.TestClassRunner$1.runUnprotected( > TestClassRunner.java:42) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestClassRunner.run( > TestClassRunner.java:52) > at org.apache.maven.surefire.junit4.JUnit4TestSet.execute( > JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest >Set( AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:125) > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:290) > at org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:818) > > Running org.apache.cxf.tools.java2wsdl.processor.JavaToProcessorTest > Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.149 > sec <<< FAILURE! > testSimpleClass(org.apache.cxf.tools.java2wsdl.processor.JavaToProcess >orTest) Time elapsed: 0.099 sec <<< ERROR! > java.lang.NoSuchMethodError: org.apache.cxf.wsdl11.ServiceWSDLBuilder > .<init>(Lorg/apache/cxf/service/model/ServiceInfo;)V > at > org.apache.cxf.tools.java2wsdl.generator.wsdl11.WSDL11Generator.genera >te( WSDL11Generator.java:40) > at > org.apache.cxf.tools.java2wsdl.generator.wsdl11.WSDL11Generator.genera >te( WSDL11Generator.java:32) > at > org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.process( > JavaToProcessor.java:68) > at > org.apache.cxf.tools.java2wsdl.processor.JavaToProcessorTest.testSimpl >eClass (JavaToProcessorTest.java:51) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.junit.internal.runners.TestMethodRunner.executeMethodBody( > TestMethodRunner.java:99) > at org.junit.internal.runners.TestMethodRunner.runUnprotected( > TestMethodRunner.java:81) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestMethodRunner.runMethod( > TestMethodRunner.java:75) > at org.junit.internal.runners.TestMethodRunner.run( > TestMethodRunner.java:45) > at > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod( > TestClassMethodsRunner.java:66) > at org.junit.internal.runners.TestClassMethodsRunner.run( > TestClassMethodsRunner.java:35) > at > org.junit.internal.runners.TestClassRunner$1.runUnprotected( > TestClassRunner.java:42) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestClassRunner.run( > TestClassRunner.java:52) > at org.apache.maven.surefire.junit4.JUnit4TestSet.execute( > JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest >Set( AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:125) > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:290) > at org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:818) > > testCalculator(org.apache.cxf.tools.java2wsdl.processor.JavaToProcesso >rTest) Time elapsed: 0.034 sec <<< ERROR! > java.lang.NoSuchMethodError: org.apache.cxf.wsdl11.ServiceWSDLBuilder > .<init>(Lorg/apache/cxf/service/model/ServiceInfo;)V > at > org.apache.cxf.tools.java2wsdl.generator.wsdl11.WSDL11Generator.genera >te( WSDL11Generator.java:40) > at > org.apache.cxf.tools.java2wsdl.generator.wsdl11.WSDL11Generator.genera >te( WSDL11Generator.java:32) > at > org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.process( > JavaToProcessor.java:68) > at > org.apache.cxf.tools.java2wsdl.processor.JavaToProcessorTest.testCalcu >lator( JavaToProcessorTest.java:71) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.junit.internal.runners.TestMethodRunner.executeMethodBody( > TestMethodRunner.java:99) > at org.junit.internal.runners.TestMethodRunner.runUnprotected( > TestMethodRunner.java:81) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestMethodRunner.runMethod( > TestMethodRunner.java:75) > at org.junit.internal.runners.TestMethodRunner.run( > TestMethodRunner.java:45) > at > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod( > TestClassMethodsRunner.java:66) > at org.junit.internal.runners.TestClassMethodsRunner.run( > TestClassMethodsRunner.java:35) > at > org.junit.internal.runners.TestClassRunner$1.runUnprotected( > TestClassRunner.java:42) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected( > BeforeAndAfterRunner.java:34) > at org.junit.internal.runners.TestClassRunner.run( > TestClassRunner.java:52) > at org.apache.maven.surefire.junit4.JUnit4TestSet.execute( > JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest >Set( AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:125) > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:290) > at org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:818) > > On 4/13/07, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > On Friday 13 April 2007 08:07, tog wrote: > > > I try to build cxf out from svn and I got some minor problems (I > > > am new to maven 2). > > > > > > When just typing mvn, I got the following error: > > > > > > The 'plugin 'org.apache.maven.plugins:maven-pmd-plugin' does not > > > exist or no valid version can be found > > > > Hmm... that's not good. Do you have anything in your > > ~/.m2/settings.xml (like a mirror) that could be interfering? > > > > > What can I do to fix that ? I thought this should come > > > automatically from the maven2 repos. > > > > It definitely should. However, it's possible that your > > ~/.m2/repository has some corrupt metadata. You could try "rm -rf" > > the > > org/apache/maven/plugins directory to force it to re-resolve them > > all. > > > > > When going with maven -Pfastinstall except is usually fine except > > > with the latest revision for which I get this: > > > > Hmm.. that's not good. Could you run with "-X" and see if > > additional information is spit out? > > > > Also, what platform/OS are you on? > > > > > > -- > > J. Daniel Kulp > > Principal Engineer > > IONA > > P: 781-902-8727 C: 508-380-7194 > > [EMAIL PROTECTED] > > http://www.dankulp.com/blog -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
