Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Nov 14 15:26:30 CET 2007 [INFO] Final Memory: 6M/1016M [INFO] since i'm almost getting mad, i also tried to run an ant-task, using the maven-antrun-plugin instead of the jaxws-maven-plugin: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration tasks exec executable=wsgen arg value=-classpath/ arg value=${project.build.directory}/classes/ arg value=-d/ arg value=${project.build.directory}/classes/ arg value=-wsdl / arg value=-keep / arg value=org.codehaus.mojo.jaxws.it.HelloWorldImpl/ /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764783 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13790875 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
/goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764783 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13792006 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
On 11/16/07, CodingPlayer [EMAIL PROTECTED] wrote: i already figured out, that there are several problems (broken poms): - there exists a working pom for the jaxws-api (at java.net dev repo) https://maven-repository.dev.java.net/repository/javax.xml.ws/poms/jaxws-api-2.1.pom it seems that this new version was uploaded the last night, before it was broken as well. The people who manage the dev.java.net repo apparently do not abide by the same rules as Central. This is extremely unfortunate and will continue to result in inconsistent builds for Maven users who use this repo. I generally advise people to avoid this repo as a result. Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
/ arg value=-wsdl / arg value=-keep / arg value=org.codehaus.mojo.jaxws.it.HelloWorldImpl/ /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764781 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764783 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764783 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
/ arg value=-wsdl / arg value=-keep / arg value=org.codehaus.mojo.jaxws.it.HelloWorldImpl/ /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13764783 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] jaxws-maven-plugin vs. ant-task using wsgen
) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:4 0) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.ja a:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute wsgen at org.codehaus.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:96) at org.codehaus.mojo.jaxws.MainWsGenMojo.execute(MainWsGenMojo.java:14) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: java.lang.NoClassDefFoundError: javax/jws/WebService at com.sun.tools.ws.wscompile.WsgenOptions.validateEndpointClass(WsgenOptions.java:198) at com.sun.tools.ws.wscompile.WsgenOptions.validate(WsgenOptions.java:180) at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:88) at com.sun.tools.ws.WsGen.doMain(WsGen.java:55) at org.codehaus.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:91) ... 19 more [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Nov 14 15:26:30 CET 2007 [INFO] Final Memory: 6M/1016M [INFO] since i'm almost getting mad, i also tried to run an ant-task, using the maven-antrun-plugin instead of the jaxws-maven-plugin: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration tasks exec executable=wsgen arg value=-classpath/ arg value=${project.build.directory}/classes/ arg value=-d/ arg value=${project.build.directory}/classes/ arg value=-wsdl / arg value=-keep / arg value=org.codehaus.mojo.jaxws.it.HelloWorldImpl/ /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute wsgen at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:4 0) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.ja a:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute wsgen at org.codehaus.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:96) at org.codehaus.mojo.jaxws.MainWsGenMojo.execute(MainWsGenMojo.java:14) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: java.lang.NoClassDefFoundError: javax/jws/WebService at com.sun.tools.ws.wscompile.WsgenOptions.validateEndpointClass(WsgenOptions.java:198) at com.sun.tools.ws.wscompile.WsgenOptions.validate(WsgenOptions.java:180) at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:88) at com.sun.tools.ws.WsGen.doMain(WsGen.java:55) at org.codehaus.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:91) ... 19 more [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Nov 14 15:26:30 CET 2007 [INFO] Final Memory: 6M/1016M [INFO] since i'm almost getting mad, i also tried to run an ant-task, using the maven-antrun-plugin instead of the jaxws-maven-plugin: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration tasks exec executable=wsgen arg value=-classpath/ arg value=${project.build.directory}/classes/ arg value=-d/ arg value=${project.build.directory}/classes/ arg value=-wsdl / arg value=-keep / arg value=org.codehaus.mojo.jaxws.it.HelloWorldImpl/ /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin but with this approach i have the problem, that it works only when adding the java6 sdk binary folder to the system path, but since i don't want to use java6, i can't use this approach either. i even tried to run wsgen from the command line by myself, which worked fine (when adding the path to java6). So PLEASE let me know if you have any ideas. Maybe one of you would be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com
Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen
be so kind, to post a FULL WORKING pom.xml using java5 with the jaxws-maven-plugin (or even fix the error in the example pom.xml). waiting for any replies that could help me out. thx @all R.C. -- View this message in context: http://www.nabble.com/-M2--jaxws-maven-plugin-vs.-ant-task-using-wsgen-tf4805393s177.html#a13747745 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]