This is an automated email from the ASF dual-hosted git repository.
cstamas 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 20f8ee01 Upgrade to Nisse extension (#1287)
20f8ee01 is described below
commit 20f8ee0172dc1537343a5be0b5ffdace96c6576e
Author: Guillaume Nodet <[email protected]>
AuthorDate: Sat May 10 12:12:58 2025 +0200
Upgrade to Nisse extension (#1287)
---
.mvn/extensions.xml | 5 +++++
.mvn/maven.config | 1 +
pom.xml | 35 -----------------------------------
3 files changed, 6 insertions(+), 35 deletions(-)
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
index c5dbe0ed..242465e3 100644
--- a/.mvn/extensions.xml
+++ b/.mvn/extensions.xml
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
+ <extension>
+ <groupId>eu.maveniverse.maven.nisse</groupId>
+ <artifactId>extension</artifactId>
+ <version>0.4.0</version>
+ </extension>
</extensions>
diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644
index 00000000..544ee251
--- /dev/null
+++ b/.mvn/maven.config
@@ -0,0 +1 @@
+-Dnisse.compat.osDetector=true
diff --git a/pom.xml b/pom.xml
index fe0f35e3..b878d387 100644
--- a/pom.xml
+++ b/pom.xml
@@ -573,41 +573,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.gmavenplus</groupId>
- <artifactId>gmavenplus-plugin</artifactId>
- <executions>
- <execution>
- <id>set-platform-properties</id>
- <goals>
- <goal>execute</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <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')) {
- project.properties['os.detected.name'] = 'windows'
- } else if (osName.startsWith('linux')) {
- project.properties['os.detected.name'] = 'linux'
- } else if (osName.startsWith('osx') ||
osName.startsWith('mac os x')) {
- project.properties['os.detected.name'] = 'darwin'
- } else {
- project.properties['os.detected.name'] = osName
- }
- String osArch =
System.getProperty('os.arch').toLowerCase(Locale.ROOT)
- if (osArch.equals('amd64') || osArch.equals('x86_64'))
{
- project.properties['os.detected.arch'] = 'amd64'
- } else {
- project.properties['os.detected.arch'] = osArch
- }</script>
- </scripts>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>