views:

34

answers:

0

I have the exec-maven-plugin installed. If I do mvn exec:exec it works fine. But if I set the goals of release:perform to install and exec:exec, it fails. Below the pom and the error:

    <plugin>
            <artifactId>maven-release-plugin</artifactId>
            <version>2.0</version>
            <configuration>
                <tagBase>svn://saoj-la.dyndns.org/webapp-test/tags</tagBase>
                <connectionUrl>scm:svn:svn://saoj-la.dyndns.org/webapp-test/trunk</connectionUrl>
                <goals>install exec:exec</goals>
            </configuration>
        </plugin>

        <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
            <execution>
            <goals>
                <goal>exec</goal>
            </goals>
            </execution>
        </executions>
        <configuration>
            <executable>/bin/sh</executable>
  <arguments>
    <argument>run.sh</argument>
  </arguments>
</configuration>

[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec'
[INFO] 
[INFO] [0] Inside the definition for plugin 'exec-maven-plugin' specify the following:
[INFO] 
[INFO] <configuration>
[INFO]   ...
[INFO]   <executable>VALUE</executable>
[INFO] </configuration>
[INFO] 
[INFO] -OR-
[INFO] 
[INFO] on the command line, specify: '-Dexec.executable=VALUE'
[INFO] 
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 8 seconds
[INFO] [INFO] Finished at: Mon Aug 09 18:21:14 PDT 2010
[INFO] [INFO] Final Memory: 41M/123M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR