I'm using maven 2.0.9

using the pom attached I run the command, mvn exec:exec -Dserver 

The following error occurs:


[INFO] One or more required plugin parameters are invalid/missing for
'exec:exec
'

[0] Inside the definition for plugin 'exec-maven-plugin' specify the
following:

<configuration>
  ...
  <executable>VALUE</executable>
</configuration>

-OR-

on the command line, specify: '-Dexec.executable=VALUE'

the  http://www.nabble.com/file/p18469173/pom.xml pom.xml snippet is:

<plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>exec-maven-plugin</artifactId>
                 <executions>
                 <execution>
                 <id>server</id>
                 <configuration>
                 <executable>java</executable>
                 <arguments>
                 <argument>-classpath</argument>
                 <classpath/>
                 <argument>demo.hw.server.Server</argument>
                 </arguments>
                 </configuration>
                 <goals>
                 <goal>exec</goal>
                 </goals>
                 </execution>
                 <execution>
                 <id>client</id>
                 <configuration>
                 <executable>java</executable>
                 <arguments>
                 <argument>-classpath</argument>
                 <classpath/>
                 <argument>demo.hw.client.Client</argument>
                 <argument>./wsdl/hello_world.wsdl</argument>
                 </arguments>
                 </configuration>
                 <goals>
                 <goal>exec</goal>
                 </goals>
                 </execution>
                 </executions>
              </plugin>

To reproduce add the pom to CXF wsdl_first sample and set the CXF_VERSION in
the environment





-- 
View this message in context: 
http://www.nabble.com/Problem-using-maven-exec-plugin-exec%3Aexec-command-tp18469173p18469173.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to