Dear all,

I'd like to execute a local groovy script with the GMaven plugin (version 1.0.0 rc 3) , followed the instruction on this page:

http://groovy.codehaus.org/GMaven+-+Executing+Groovy+Code

every line in my pom.xml is double-checked. The only difference to the example is that my main Groovy class sits in

${pom.basedir}/src/main/groovy/com/mycompany/myproject/CodeMaschine.groovy

But when I type:

mvn groovy:execute -Dmaven.test.skip

I always got this problem:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'groovy'.
[INFO] ------------------------------------------------------------------------
[INFO] Building GenerateCpp
[INFO]    task-segment: [groovy:execute]
[INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] One or more required plugin parameters are invalid/missing for 'groovy:ex
ecute'

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

<configuration>
 ...
 <source>VALUE</source>
</configuration>.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Dec 08 17:23:02 CET 2008
[INFO] Final Memory: 7M/15M
[INFO] ------------------------------------------------------------------------

Any help or hint would be greatly appreciated!


Best Regards,
Ellen

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to