cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Zavizionov" <alexey.zavizio...@gmail.com>
Subject Dir attribute is required if use outputFile for cxf-java2ws-plugin
Date Tue, 21 Oct 2008 13:39:45 GMT
Hello, list!

If I specify the "<outputFile>TicketOrderService.wsdl</outputFile>" I
have an exception:

[INFO] Compiling 4 source files to
/home/alexey/java/eXoProjects/ws/trunk/application/java/services/samples/soap/jsr181/target/classes
[INFO] [cxf-java2ws:java2ws {execution: compile}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] dir attribute is required
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: dir attribute is required
        at org.apache.cxf.helpers.FileUtils.mkDir(FileUtils.java:83)
        at org.apache.cxf.maven_plugin.Java2WSMojo.processJavaClass(Java2WSMojo.java:158)
        at org.apache.cxf.maven_plugin.Java2WSMojo.execute(Java2WSMojo.java:135)
        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(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java: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)
[INFO] ------------------------------------------------------------------------

I have not find any 'dir' option at [1]

 [1] http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html#MavenIntegrationandPlugin-Java2WS

Regards,
Alexey.

Mime
View raw message