This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push: new 31612a1 Upgrade to groovy 4 to allow building on recent JDK (#735) 31612a1 is described below commit 31612a129eb9c4f8099202b127f9cceafd2dbca2 Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Sat Nov 19 00:18:28 2022 +0100 Upgrade to groovy 4 to allow building on recent JDK (#735) --- .../src/test/projects/raw-streams/pom.xml | 20 +++++++++++++++----- pom.xml | 19 ++++++------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/integration-tests/src/test/projects/raw-streams/pom.xml b/integration-tests/src/test/projects/raw-streams/pom.xml index b8ad56d..5855aff 100644 --- a/integration-tests/src/test/projects/raw-streams/pom.xml +++ b/integration-tests/src/test/projects/raw-streams/pom.xml @@ -27,9 +27,9 @@ <build> <plugins> <plugin> - <groupId>org.codehaus.gmaven</groupId> - <artifactId>groovy-maven-plugin</artifactId> - <version>2.1.1</version> + <groupId>org.codehaus.gmavenplus</groupId> + <artifactId>gmavenplus-plugin</artifactId> + <version>2.1.0</version> <executions> <execution> <phase>validate</phase> @@ -37,12 +37,22 @@ <goal>execute</goal> </goals> <configuration> - <source> + <scripts> + <script><![CDATA[ println 'Hello' - </source> + ]]></script> + </scripts> </configuration> </execution> </executions> + <dependencies> + <dependency> + <groupId>org.apache.groovy</groupId> + <artifactId>groovy-all</artifactId> + <version>4.0.6</version> + <type>pom</type> + </dependency> + </dependencies> </plugin> </plugins> </build> diff --git a/pom.xml b/pom.xml index 18ffd30..8d2ffec 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ <commons-compress.version>1.21</commons-compress.version> <graalvm.version>22.2.0</graalvm.version> <graalvm.plugin.version>0.9.13</graalvm.plugin.version> - <groovy.version>3.0.9</groovy.version> + <groovy.version>4.0.6</groovy.version> <jakarta.inject.version>1.0</jakarta.inject.version> <jansi.version>2.4.0</jansi.version> <jline.version>3.21.0</jline.version> @@ -73,7 +73,7 @@ <buildnumber-maven-plugin.version>1.4</buildnumber-maven-plugin.version> <compiler.version>3.8.1</compiler.version> <formatter-maven-plugin.version>2.15.0</formatter-maven-plugin.version> - <groovy-maven-plugin.version>2.1.1</groovy-maven-plugin.version> + <groovy-maven-plugin.version>2.1.0</groovy-maven-plugin.version> <impsort-maven-plugin.version>1.6.0</impsort-maven-plugin.version> <license-maven-plugin.version>3.0</license-maven-plugin.version> <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version> @@ -140,7 +140,7 @@ </dependency> <dependency> - <groupId>org.codehaus.groovy</groupId> + <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${groovy.version}</version> </dependency> @@ -444,22 +444,15 @@ limitations under the License.</inlineHeader> <version>${maven-shade-plugin.version}</version> </plugin> <plugin> - <groupId>org.codehaus.gmaven</groupId> - <artifactId>groovy-maven-plugin</artifactId> + <groupId>org.codehaus.gmavenplus</groupId> + <artifactId>gmavenplus-plugin</artifactId> <version>${groovy-maven-plugin.version}</version> <dependencies> <dependency> - <groupId>org.codehaus.groovy</groupId> + <groupId>org.apache.groovy</groupId> <artifactId>groovy-all</artifactId> <version>${groovy.version}</version> <type>pom</type> - <exclusions> - <exclusion> - <!-- groovy-testng depends on testng 7.2.0 wich is not on maven central --> - <groupId>org.codehaus.groovy</groupId> - <artifactId>groovy-testng</artifactId> - </exclusion> - </exclusions> </dependency> </dependencies> </plugin>