Fix usage of the wrong groovy plugin
@@ -487,8 +487,8 @@ limitations under the License.</inlineHeader>
</executions>
</plugin>
<plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>groovy-maven-plugin</artifactId>
+ <groupId>org.codehaus.gmavenplus</groupId>
+ <artifactId>gmavenplus-plugin</artifactId>
<executions>
<execution>
<id>set-platform-properties</id>
@@ -497,7 +497,8 @@ limitations under the License.</inlineHeader>
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>// Naming conventions coined by GraalVM
+ <scripts>
+ <script>// Naming conventions coined by GraalVM
// https://github.com/graalvm/graalvm-ce-builds/releases/
String osName = System.getProperty('os.name').toLowerCase(Locale.ROOT)
if (osName.startsWith('windows')) {
@@ -514,7 +515,8 @@ limitations under the License.</inlineHeader>
project.properties['os.detected.arch'] = 'amd64'
} else {
project.properties['os.detected.arch'] = osArch
- }</source>
+ }</script>
+ </scripts>
</configuration>
</execution>
</executions>
