the procedure is to checkout the sources from svn and mvn install it. Make
sure you put the sandbox repository in either the pom file from svn or in
your settings.xml like stated here

http://mojo.codehaus.org/using-sandbox-plugins.html


  -----Original Message-----
  From: David Black [mailto:[EMAIL PROTECTED]
  Sent: segunda-feira, 12 de março de 2007 06:24
  To: [email protected]
  Subject: [mojo-user] having a hard time with groovy-maven-plugin


  Hi,

  Does anyone have the groovy-maven-plugin working?

  I am having a real hard time trying to get maven to recognise / see it.

  I just keep getting

  "The plugin 'org.codehaus.mojo:groovy-maven-plugin ' does not exist or no
valid version could be found"

  If you have it working could you please post the plugin section of your
pom.xml and the repository layout (i.e. the directory tree / file names),
and the version, you are using.

  Here is what I'm using

              <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>groovy-maven-plugin</artifactId>
                  <executions>
                      <execution>
                          <goals>
                              <goal>testCompile</goal>
                          </goals>
                          <configuration>
                              <sources>
                                  <fileset>
                                      <directory>${pom.basedir}/src/test/gro
ovy</directory>
                                      <includes>
                                          <include>**/*.groovy</include>
                                      </includes>
                                  </fileset>
                              </sources>
                          </configuration>
                      </execution>
                  </executions>
              </plugin>

  and I've got a snapshot of the plugin installed here:

  <repo>\org\codehaus\mojo\groovy-maven-plugin\1.0-alpha-1-SNAPSHOT

  thanks in advance,

  David Black
  http://www.codecurl.org

Reply via email to