You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by dave11 <da...@hotmail.com> on 2013/02/08 06:33:57 UTC
Maven errors while importing CXF 2.7.3 source code in eclipse
Hi All,
I want to study CXF source code. I am trying to import CXF 2.7.3 source code
in eclipse indigo. But I get following errors
No marketplace entries found to handle
buildnumber-maven-plugin:1.2:create-timestamp in Eclipse. Please see Help
for more information.
No marketplace entries found to handle Execution create-noncanonicalrev, in
api/pom.xml in Eclipse. Please see Help for more information.
No marketplace entries found to handle cxf-java2ws-plugin:2.7.3:java2ws in
Eclipse. Please see Help for more information.
No marketplace entries found to handle Execution process-classes, in
java2ws/pom.xml in Eclipse. Please see Help for more information.
No marketplace entries found to handle cxf-wadl2java-plugin:2.7.3:wadl2java
in Eclipse. Please see Help for more information.
No marketplace entries found to handle Execution generate-sources, in
jaxrs/pom.xml in Eclipse. Please see Help for more information.
No marketplace entries found to handle maven-antrun-plugin:1.7:run in
Eclipse. Please see Help for more information.
No marketplace entries found to handle Execution create-prop, in all/pom.xml
in Eclipse. Please see Help for more information.
No marketplace entries found to handle Execution create-prop, in
compatible/pom.xml in Eclipse. Please see Help for more information.
Thanks
--
View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902.html
Sent from the cxf-user mailing list archive at Nabble.com.
RE: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by dave11 <da...@hotmail.com>.
Thanks
Date: Thu, 7 Feb 2013 22:32:29 -0800
From: ml-node+s547215n5722903h38@n5.nabble.com
To: davidg.1111@hotmail.com
Subject: Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Make sure you specify a m2eclipse profile when importing.
http://cxf.apache.org/cxf-m2eclipse.html
Sent from my Galaxy S2
On Feb 8, 2013 4:34 PM, "dave11" <[hidden email]> wrote:
> Hi All,
>
> I want to study CXF source code. I am trying to import CXF 2.7.3 source
> code
> in eclipse indigo. But I get following errors
>
> No marketplace entries found to handle
> buildnumber-maven-plugin:1.2:create-timestamp in Eclipse. Please see Help
> for more information.
>
> No marketplace entries found to handle Execution create-noncanonicalrev, in
> api/pom.xml in Eclipse. Please see Help for more information.
>
> No marketplace entries found to handle cxf-java2ws-plugin:2.7.3:java2ws in
> Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution process-classes, in
> java2ws/pom.xml in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle cxf-wadl2java-plugin:2.7.3:wadl2java
> in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution generate-sources, in
> jaxrs/pom.xml in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle maven-antrun-plugin:1.7:run in
> Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution create-prop, in
> all/pom.xml
> in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution create-prop, in
> compatible/pom.xml in Eclipse. Please see Help for more information.
>
>
>
> Thanks
>
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
If you reply to this email, your message will be added to the discussion below:
http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722903.html
To unsubscribe from Maven errors while importing CXF 2.7.3 source code in eclipse, click here.
NAML
--
View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722966.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by Jason Pell <ja...@pellcorp.com>.
Make sure you specify a m2eclipse profile when importing.
http://cxf.apache.org/cxf-m2eclipse.html
Sent from my Galaxy S2
On Feb 8, 2013 4:34 PM, "dave11" <da...@hotmail.com> wrote:
> Hi All,
>
> I want to study CXF source code. I am trying to import CXF 2.7.3 source
> code
> in eclipse indigo. But I get following errors
>
> No marketplace entries found to handle
> buildnumber-maven-plugin:1.2:create-timestamp in Eclipse. Please see Help
> for more information.
>
> No marketplace entries found to handle Execution create-noncanonicalrev, in
> api/pom.xml in Eclipse. Please see Help for more information.
>
> No marketplace entries found to handle cxf-java2ws-plugin:2.7.3:java2ws in
> Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution process-classes, in
> java2ws/pom.xml in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle cxf-wadl2java-plugin:2.7.3:wadl2java
> in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution generate-sources, in
> jaxrs/pom.xml in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle maven-antrun-plugin:1.7:run in
> Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution create-prop, in
> all/pom.xml
> in Eclipse. Please see Help for more information.
>
>
> No marketplace entries found to handle Execution create-prop, in
> compatible/pom.xml in Eclipse. Please see Help for more information.
>
>
>
> Thanks
>
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
RE: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by Jason Pell <ja...@pellcorp.com>.
Yep i have had that timeout error before usually a rerun and it goes away.
On Feb 11, 2013 2:00 AM, "dave11" <da...@hotmail.com> wrote:
>
> The problem is here in the file
> cxf/rt/transports/udp/target/surefire-reports/TEST-org.apache.cxf.transport.udp.UDPTransportTest.xml,
> but I don't know fix for it.
>
> <testcase time="62.224"
> classname="org.apache.cxf.transport.udp.UDPTransportTest"
> name="testSimpleUDP"> <error message="Timed out waiting for response to
> operation {http://apache.org/hello_world}greetMe."
> type="javax.xml.ws.soap.SOAPFaultException">javax.xml.ws.soap.SOAPFaultException:
> Timed out waiting for response to operation {
> http://apache.org/hello_world}greetMe. at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155)
> at sun.proxy.$Proxy44.greetMe(Unknown Source) at
> org.apache.cxf.transport.udp.UDPTransportTest.testSimpleUDP(UDPTransportTest.java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601) at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601) at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:113)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)Caused
> by: java.io.IOException: Timed out waiting for response to operation {
> http://apache.org/hello_world}greetMe. at
> org.apache.cxf.endpoint.ClientImpl.waitResponse(ClientImpl.java:694) at
> org.apache.cxf.endpoint.ClientImpl.processResult(ClientImpl.java:620)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:539) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319) at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
> ... 34 more</error> </testcase>
>
> Thanks
> Date: Sun, 10 Feb 2013 05:35:38 -0800
> From: ml-node+s547215n5722971h46@n5.nabble.com
> To: davidg.1111@hotmail.com
> Subject: Re: Maven errors while importing CXF 2.7.3 source code in eclipse
>
>
>
> Well, as the output says, what do the files in
>
> /cxf_src/cxf/rt/transports/udp/target/surefire-reports tell you about
>
> which test failed and why? (If there are many files there, look for the
>
> one with a non-trivial file size.)
>
>
> You may wish to try "mvn clean install" to remove any potential problems
>
> from previous runs. You might also wish to build with "mvn clean
>
> install -Pfastinstall" to skip the tests. We have Jenkins run the tests
>
> continually anyway.
>
>
> Glen
>
>
> On 02/10/2013 08:13 AM, dave11 wrote:
>
> > I checked out cxf sources from svn 2.7.x-fixes branch.
>
> >
>
> > I followed this http://cxf.apache.org/setting-up-eclipse.html guide to
>
> > create eclipse workspace for it.
>
> >
>
> > Then I tried to build the code from command line following guide at
>
> > http://cxf.apache.org/building.html
> >
>
> > But when I build with
>
> >
>
> > mvn install
>
> >
>
> > I get following errors.
>
> >
>
> >
>
> >
>
> >
>
> > [INFO] BUILD FAILURE
>
> > [INFO]
>
> > ------------------------------------------------------------------------
>
> > [INFO] Total time: 30:45.219s
>
> > [INFO] Finished at: Sun Feb 10 18:31:11 IST 2013
>
> > [INFO] Final Memory: 107M/360M
>
> > [INFO]
>
> > ------------------------------------------------------------------------
>
> > [ERROR] Failed to execute goal
>
> > org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
> (default-test) on
>
> > project cxf-rt-transports-udp: There are test failures.
>
> > [ERROR]
>
> > [ERROR] Please refer to
>
> > /cxf_src/cxf/rt/transports/udp/target/surefire-reports for the individual
>
> > test results.
>
> > [ERROR] -> [Help 1]
>
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>
> > goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
>
> > (default-test) on project cxf-rt-transports-udp: There are test failures.
>
> >
>
> > Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports
> for
>
> > the individual test results.
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> > at
>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> > at
>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> > at java.lang.reflect.Method.invoke(Method.java:601)
>
> > at
>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> > at
>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> > at
>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> > at
>
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> > Caused by: org.apache.maven.plugin.MojoFailureException: There are test
>
> > failures.
>
> >
>
> > Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports
> for
>
> > the individual test results.
>
> > at
>
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
>
> > at
>
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:185)
>
> > at
>
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:159)
>
> > at
>
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:626)
>
> > at
>
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:587)
>
> > at
>
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>
> > at
>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>
> > ... 19 more
>
> > [ERROR]
>
> > [ERROR]
>
> > [ERROR] For more information about the errors and possible solutions,
> please
>
> > read the following articles:
>
> > [ERROR] [Help 1]
>
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > [ERROR]
>
> > [ERROR] After correcting the problems, you can resume the build with the
>
> > command
>
> > [ERROR] mvn <goals> -rf :cxf-rt-transports-udp
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> > View this message in context:
> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722970.html
> > Sent from the cxf-user mailing list archive at Nabble.com.
>
>
>
>
>
>
>
>
>
>
>
>
> If you reply to this email, your message will be added to
> the discussion below:
>
> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722971.html
>
>
>
> To unsubscribe from Maven errors while importing CXF 2.7.3
> source code in eclipse, click here.
>
> NAML
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722974.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
RE: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by dave11 <da...@hotmail.com>.
The problem is here in the file cxf/rt/transports/udp/target/surefire-reports/TEST-org.apache.cxf.transport.udp.UDPTransportTest.xml, but I don't know fix for it.
<testcase time="62.224" classname="org.apache.cxf.transport.udp.UDPTransportTest" name="testSimpleUDP"> <error message="Timed out waiting for response to operation {http://apache.org/hello_world}greetMe." type="javax.xml.ws.soap.SOAPFaultException">javax.xml.ws.soap.SOAPFaultException: Timed out waiting for response to operation {http://apache.org/hello_world}greetMe. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155) at sun.proxy.$Proxy44.greetMe(Unknown Source) at org.apache.cxf.transport.udp.UDPTransportTest.testSimpleUDP(UDPTransportTest.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:113) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)Caused by: java.io.IOException: Timed out waiting for response to operation {http://apache.org/hello_world}greetMe. at org.apache.cxf.endpoint.ClientImpl.waitResponse(ClientImpl.java:694) at org.apache.cxf.endpoint.ClientImpl.processResult(ClientImpl.java:620) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:539) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133) ... 34 more</error> </testcase>
Thanks
Date: Sun, 10 Feb 2013 05:35:38 -0800
From: ml-node+s547215n5722971h46@n5.nabble.com
To: davidg.1111@hotmail.com
Subject: Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Well, as the output says, what do the files in
/cxf_src/cxf/rt/transports/udp/target/surefire-reports tell you about
which test failed and why? (If there are many files there, look for the
one with a non-trivial file size.)
You may wish to try "mvn clean install" to remove any potential problems
from previous runs. You might also wish to build with "mvn clean
install -Pfastinstall" to skip the tests. We have Jenkins run the tests
continually anyway.
Glen
On 02/10/2013 08:13 AM, dave11 wrote:
> I checked out cxf sources from svn 2.7.x-fixes branch.
>
> I followed this http://cxf.apache.org/setting-up-eclipse.html guide to
> create eclipse workspace for it.
>
> Then I tried to build the code from command line following guide at
> http://cxf.apache.org/building.html
>
> But when I build with
>
> mvn install
>
> I get following errors.
>
>
>
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 30:45.219s
> [INFO] Finished at: Sun Feb 10 18:31:11 IST 2013
> [INFO] Final Memory: 107M/360M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on
> project cxf-rt-transports-udp: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /cxf_src/cxf/rt/transports/udp/target/surefire-reports for the individual
> test results.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
> (default-test) on project cxf-rt-transports-udp: There are test failures.
>
> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
> the individual test results.
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>
> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
> the individual test results.
> at
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> at
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:185)
> at
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:159)
> at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:626)
> at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:587)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 19 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :cxf-rt-transports-udp
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722970.html
> Sent from the cxf-user mailing list archive at Nabble.com.
If you reply to this email, your message will be added to the discussion below:
http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722971.html
To unsubscribe from Maven errors while importing CXF 2.7.3 source code in eclipse, click here.
NAML
--
View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722974.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by Jason Pell <ja...@pellcorp.com>.
the tests should run to success on your local however...
In the last couple of days I have noticed some build breakages that
have now only been fixed, I did not investigate further.
the build is flaky behind a proxy,
the udp tests you mentioned sometimes happen because of a timing
issue, run the build again, perhaps even with -rf to start from the
udp project,
but as glen said the -Pfastinstall might be your quickest route
Cheers
Jason
On Mon, Feb 11, 2013 at 12:34 AM, Glen Mazza <gm...@talend.com> wrote:
> Well, as the output says, what do the files in
> /cxf_src/cxf/rt/transports/udp/target/surefire-reports tell you about which
> test failed and why? (If there are many files there, look for the one with a
> non-trivial file size.)
>
> You may wish to try "mvn clean install" to remove any potential problems
> from previous runs. You might also wish to build with "mvn clean install
> -Pfastinstall" to skip the tests. We have Jenkins run the tests continually
> anyway.
>
> Glen
>
>
> On 02/10/2013 08:13 AM, dave11 wrote:
>>
>> I checked out cxf sources from svn 2.7.x-fixes branch.
>>
>> I followed this http://cxf.apache.org/setting-up-eclipse.html guide to
>> create eclipse workspace for it.
>>
>> Then I tried to build the code from command line following guide at
>> http://cxf.apache.org/building.html
>>
>> But when I build with
>>
>> mvn install
>>
>> I get following errors.
>>
>>
>>
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 30:45.219s
>> [INFO] Finished at: Sun Feb 10 18:31:11 IST 2013
>> [INFO] Final Memory: 107M/360M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test)
>> on
>> project cxf-rt-transports-udp: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /cxf_src/cxf/rt/transports/udp/target/surefire-reports for the individual
>> test results.
>> [ERROR] -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
>> (default-test) on project cxf-rt-transports-udp: There are test failures.
>>
>> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
>> the individual test results.
>> at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>> at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at
>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> at
>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> at
>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> at
>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
>> failures.
>>
>> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
>> the individual test results.
>> at
>>
>> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
>> at
>>
>> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:185)
>> at
>>
>> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:159)
>> at
>>
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:626)
>> at
>>
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:587)
>> at
>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> ... 19 more
>> [ERROR]
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please
>> read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR] mvn <goals> -rf :cxf-rt-transports-udp
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722970.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>
>
Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by Glen Mazza <gm...@talend.com>.
Well, as the output says, what do the files in
/cxf_src/cxf/rt/transports/udp/target/surefire-reports tell you about
which test failed and why? (If there are many files there, look for the
one with a non-trivial file size.)
You may wish to try "mvn clean install" to remove any potential problems
from previous runs. You might also wish to build with "mvn clean
install -Pfastinstall" to skip the tests. We have Jenkins run the tests
continually anyway.
Glen
On 02/10/2013 08:13 AM, dave11 wrote:
> I checked out cxf sources from svn 2.7.x-fixes branch.
>
> I followed this http://cxf.apache.org/setting-up-eclipse.html guide to
> create eclipse workspace for it.
>
> Then I tried to build the code from command line following guide at
> http://cxf.apache.org/building.html
>
> But when I build with
>
> mvn install
>
> I get following errors.
>
>
>
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 30:45.219s
> [INFO] Finished at: Sun Feb 10 18:31:11 IST 2013
> [INFO] Final Memory: 107M/360M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on
> project cxf-rt-transports-udp: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /cxf_src/cxf/rt/transports/udp/target/surefire-reports for the individual
> test results.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
> (default-test) on project cxf-rt-transports-udp: There are test failures.
>
> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
> the individual test results.
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>
> Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
> the individual test results.
> at
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> at
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:185)
> at
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:159)
> at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:626)
> at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:587)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 19 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :cxf-rt-transports-udp
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722970.html
> Sent from the cxf-user mailing list archive at Nabble.com.
Re: Maven errors while importing CXF 2.7.3 source code in eclipse
Posted by dave11 <da...@hotmail.com>.
I checked out cxf sources from svn 2.7.x-fixes branch.
I followed this http://cxf.apache.org/setting-up-eclipse.html guide to
create eclipse workspace for it.
Then I tried to build the code from command line following guide at
http://cxf.apache.org/building.html
But when I build with
mvn install
I get following errors.
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30:45.219s
[INFO] Finished at: Sun Feb 10 18:31:11 IST 2013
[INFO] Final Memory: 107M/360M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on
project cxf-rt-transports-udp: There are test failures.
[ERROR]
[ERROR] Please refer to
/cxf_src/cxf/rt/transports/udp/target/surefire-reports for the individual
test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test
(default-test) on project cxf-rt-transports-udp: There are test failures.
Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
the individual test results.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
Please refer to /cxf_src/cxf/rt/transports/udp/target/surefire-reports for
the individual test results.
at
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
at
org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:185)
at
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:159)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:626)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:587)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :cxf-rt-transports-udp
--
View this message in context: http://cxf.547215.n5.nabble.com/Maven-errors-while-importing-CXF-2-7-3-source-code-in-eclipse-tp5722902p5722970.html
Sent from the cxf-user mailing list archive at Nabble.com.