I am trying to use the xfire-maven-plugin. The plugin was updated in SVN yesterday, but there seems to be a problem with the classloaders.
The code used can be found here: http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xfire-maven-plugin/src/main/java/org/codehaus/mojo/xfire/WsgenMojo.java With this code you will get an exception when you try to run because the correct classes are not loaded. Does anyone know how we can modify the code so that when we call the anttask the correct classes are loaded? Kind regards, Jens-Martin Groenne Here is the stacktrace you get when running the plugin with the current code: [INFO] Trace java.lang.NoClassDefFoundError: org/codehaus/xfire/util/ClassLoaderUtils at org.codehaus.xfire.gen.Wsdl11Generator.loadSupport(Wsdl11Generator.java:216) at org.codehaus.xfire.gen.Wsdl11Generator.loadSchemaSupport(Wsdl11Generator.java:180) at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:105) at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:68) at org.codehaus.mojo.xfire.WsgenMojo.exec(WsgenMojo.java:248) at org.codehaus.mojo.xfire.WsgenMojo.execute(WsgenMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecu 0) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleE a:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.j 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:272) 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:597) 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) [INFO] ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
