This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 4be8502 fix: change from gmaven-plugin to groovy-maven-plugin
4be8502 is described below
commit 4be8502abfd626632a5332f8622b0e6c16dbfad2
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Feb 9 15:42:31 2021 +0100
fix: change from gmaven-plugin to groovy-maven-plugin
---
pom.xml | 1 +
src/it/mcompiler-182/invoker.properties | 2 +-
src/it/mcompiler-182/pom.xml | 11 +++++++++--
src/it/mcompiler-21_class-remove/invoker.properties | 2 +-
src/it/mcompiler-21_class-remove/pom.xml | 11 +++++++++--
src/it/mcompiler-21_methodname-change/invoker.properties | 2 +-
src/it/mcompiler-21_methodname-change/pom.xml | 11 +++++++++--
7 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index c2fbe53..61d8215 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@ under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>34</version>
+ <relativePath/>
</parent>
<artifactId>maven-compiler-plugin</artifactId>
diff --git a/src/it/mcompiler-182/invoker.properties
b/src/it/mcompiler-182/invoker.properties
index 24e428d..8511bf0 100644
--- a/src/it/mcompiler-182/invoker.properties
+++ b/src/it/mcompiler-182/invoker.properties
@@ -16,6 +16,6 @@
# under the License.
invoker.goals = clean compile
-invoker.goals.2 = org.codehaus.gmaven:gmaven-plugin:execute
+invoker.goals.2 = org.codehaus.gmaven:groovy-maven-plugin:execute
invoker.goals.3 = compile
invoker.buildResult.3 = failure
diff --git a/src/it/mcompiler-182/pom.xml b/src/it/mcompiler-182/pom.xml
index d8026ad..32e8491 100644
--- a/src/it/mcompiler-182/pom.xml
+++ b/src/it/mcompiler-182/pom.xml
@@ -47,8 +47,8 @@ under the License.
<plugin>
<!-- Called as second invoker goal to simulate file adjustment -->
<groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.4</version>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.0</version>
<configuration>
<source>
def beanAFile = new File( project.basedir,
'src/main/java/BeanA.java' )
@@ -62,6 +62,13 @@ under the License.
beanAFile.delete()
</source>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>2.4.21</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
diff --git a/src/it/mcompiler-21_class-remove/invoker.properties
b/src/it/mcompiler-21_class-remove/invoker.properties
index 24e428d..8511bf0 100644
--- a/src/it/mcompiler-21_class-remove/invoker.properties
+++ b/src/it/mcompiler-21_class-remove/invoker.properties
@@ -16,6 +16,6 @@
# under the License.
invoker.goals = clean compile
-invoker.goals.2 = org.codehaus.gmaven:gmaven-plugin:execute
+invoker.goals.2 = org.codehaus.gmaven:groovy-maven-plugin:execute
invoker.goals.3 = compile
invoker.buildResult.3 = failure
diff --git a/src/it/mcompiler-21_class-remove/pom.xml
b/src/it/mcompiler-21_class-remove/pom.xml
index 83bf6d1..9c1ac32 100644
--- a/src/it/mcompiler-21_class-remove/pom.xml
+++ b/src/it/mcompiler-21_class-remove/pom.xml
@@ -47,8 +47,8 @@ under the License.
<plugin>
<!-- Called as second invoker goal to simulate file adjustment -->
<groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.4</version>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.0</version>
<configuration>
<source>
def beanAFile = new File( project.basedir,
'src/main/java/BeanA.java' )
@@ -56,6 +56,13 @@ under the License.
beanAFile.delete()
</source>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>2.4.21</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
diff --git a/src/it/mcompiler-21_methodname-change/invoker.properties
b/src/it/mcompiler-21_methodname-change/invoker.properties
index 24e428d..8511bf0 100644
--- a/src/it/mcompiler-21_methodname-change/invoker.properties
+++ b/src/it/mcompiler-21_methodname-change/invoker.properties
@@ -16,6 +16,6 @@
# under the License.
invoker.goals = clean compile
-invoker.goals.2 = org.codehaus.gmaven:gmaven-plugin:execute
+invoker.goals.2 = org.codehaus.gmaven:groovy-maven-plugin:execute
invoker.goals.3 = compile
invoker.buildResult.3 = failure
diff --git a/src/it/mcompiler-21_methodname-change/pom.xml
b/src/it/mcompiler-21_methodname-change/pom.xml
index b36b41e..19c401a 100644
--- a/src/it/mcompiler-21_methodname-change/pom.xml
+++ b/src/it/mcompiler-21_methodname-change/pom.xml
@@ -47,8 +47,8 @@ under the License.
<plugin>
<!-- Called as second invoker goal to simulate file adjustment -->
<groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.4</version>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.0</version>
<configuration>
<source>
def beanAFile = new File( project.basedir,
'src/main/java/BeanA.java' )
@@ -63,6 +63,13 @@ under the License.
}
</source>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>2.4.21</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>