You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Valerio Schiavoni <va...@gmail.com> on 2006/10/13 11:53:32 UTC

[m2] groovy plugin: missing parameter build error

hello
i'm digging into the groovy-maven-plugin,
http://mojo.codehaus.org/groovy-maven-plugin/

i have my groovy stuff in:
src/main/groovy/MyScript.groovy

i added the following to my pom.xml:

<build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>groovy-maven-plugin</artifactId>
                <version>0.1-SNAPSHOT</version>
                <executions>
                    <execution>
                        <id>test</id>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <fileName>groovy/MyScript.groovy</fileName>

<passProjectAsProperty>true</passProjectAsProperty>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            ..
         </plugins>

when i launch: mvn groovy:groovy i keep getting a BUILD ERROR:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for
'groovy:groovy'

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

<configuration>
  ...
  <fileName>VALUE</fileName>
</configuration>.

i'm using maven 2.0.4

thanks,
valerio
-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni