Switch from gmaven to gmavenplus
This change keeps the dependency management for gmaven but moves the test compile and stub generation to gmavenplus.
<artifactId>gmaven-plugin</artifactId>
<version>1.5-jenkins-3</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.gmavenplus</groupId>
+ <artifactId>gmavenplus-plugin</artifactId>
+ <version>1.7.1</version>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
+ <groupId>org.codehaus.gmavenplus</groupId>
+ <artifactId>gmavenplus-plugin</artifactId>
<executions>
<execution>
<id>test-in-groovy</id>
<goals>
<goal>generateTestStubs</goal>
- <goal>testCompile</goal>
+ <goal>compileTests</goal>
</goals>
</execution>
</executions>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.6.5</version>
- </dependency>
- </dependencies>
</plugin>
<plugin> <!-- https://stackoverflow.com/a/4086207/12916 -->
<artifactId>maven-antrun-plugin</artifactId>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
+ <groupId>org.codehaus.gmavenplus</groupId>
+ <artifactId>gmavenplus-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
- <goal>testCompile</goal>
+ <goal>compileTests</goal>
<goal>generateTestStubs</goal>
</goals>
</pluginExecutionFilter>
