What happens when you run this manually from the same directory?

java "-jar
C:/jdevstudio1013/webservices/lib/wsa.jar -cp
C:/jdevstudio1013/webservices/lib -genInterface -output
C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\BusinessService/target/classes
-wsdl C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\Bu
sinessService/src/main/webapp/WEB-INF/wsdl/BusinessService1.wsdl
-packageName org.delta.services"

I would generally suspect that your problem is from the huge string
encapsulate in quotes due to the single <argument> tag you've
specific, and that you need to break that argument up a bit ie:
<arguments>
<argument>-jar</argument>
<argument>C:/jdevstudio1013/webservices/lib/wsa.jar</argument>
<argument>-cp</argument>
etc

Wayne

On 6/7/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
Here is my declaration:

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <executable>java</executable>
                    <arguments>
                        <argument>-jar
C:/jdevstudio1013/webservices/lib/wsa.jar -cp
C:/jdevstudio1013/webservices/lib -genInterface -output
${basedir}/target/classes -wsdl
${basedir}/src/main/webapp/WEB-INF/wsdl/BusinessService1.wsdl -packageName
org.delta.services</argument>
                        <!--<argument>-packageName org.delta.services
</argument>-->
                        <!-- automatically creates the classpath using all
project dependencies,
                             also adding the project build directory -->
                        <!--<classpath/>-->
                    </arguments>
                </configuration>
            </plugin>




And here is the error I keep getting:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Result of java "-jar C:/jdevstudio1013/webservices/lib/wsa.jar -cp
C:/jdevstudio1013/webservices/lib -genInterface -output
C:\viewstore\esp_lynx_dap
\esp\dap\poc\AOPTest\BusinessService/target/classes -wsdl
C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\BusinessService/src/main/webapp/WEB-INF/wsdl/Busine
ssService1.wsdl -packageName org.delta.services" execution is: '1'.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Result of java "-jar
C:/jdevstudio1013/webservices/lib/wsa.jar -cp
C:/jdevstudio1013/webservices/li
b -genInterface -output
C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\BusinessService/target/classes
-wsdl C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\Bu
sinessService/src/main/webapp/WEB-INF/wsdl/BusinessService1.wsdl
-packageName org.delta.services" execution is: '1'.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:564)
        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:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        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: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: Result of java
"-jar C:/jdevstudio1013/webservices/lib/wsa.jar -cp
C:/jdevstudio1013/webservices
/lib -genInterface -output
C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest\BusinessService/target/classes
-wsdl C:\viewstore\esp_lynx_dap\esp\dap\poc\AOPTest
\BusinessService/src/main/webapp/WEB-INF/wsdl/BusinessService1.wsdl
-packageName org.delta.services" execution is: '1'.
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:208)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:420)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
        ... 16 more



Help would be GREATLY appreciated!


--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to