You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2023/01/28 13:24:23 UTC

[maven-mvnd] branch master updated: Use graalvm 22.3.1 and use staging repo for release

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 c61540ed Use graalvm 22.3.1 and use staging repo for release
c61540ed is described below

commit c61540edb6a817dabb79067223c2cab357354805
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Sat Jan 28 14:24:14 2023 +0100

    Use graalvm 22.3.1 and use staging repo for release
---
 .github/workflows/release.yaml |  4 ++--
 .mvn/release-settings.xml      | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 3e0590e1..f9041452 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -26,7 +26,7 @@ on:
       - '*'
 
 env:
-  GRAALVM_VERSION: '22.3.0'
+  GRAALVM_VERSION: '22.3.1'
   JAVA_VERSION: '17'
 
 jobs:
@@ -76,7 +76,7 @@ jobs:
           fi
 
       - name: 'Build native distribution'
-        run: ./mvnw verify -Pnative -Dmrm=false -B -ntp -e -DskipTests
+        run: ./mvnw verify -Pnative -Dmrm=false -B -ntp -e -DskipTests -s .mvn/release-settings.xml
 
       - name: 'Upload artifact'
         uses: actions/upload-artifact@v2
diff --git a/.mvn/release-settings.xml b/.mvn/release-settings.xml
new file mode 100644
index 00000000..791682b2
--- /dev/null
+++ b/.mvn/release-settings.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <profiles>
+        <profile>
+            <id>maven-staging</id>
+            <repositories>
+                <repository>
+                    <id>maven-staging-1</id>
+                    <url>https://repository.apache.org/content/repositories/maven-1859/</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </repository>
+            </repositories>
+        </profile>
+    </profiles>
+    <activeProfiles>
+        <activeProfile>maven-staging</activeProfile>
+    </activeProfiles>
+</settings>
\ No newline at end of file