Skip to content

Commit 59873af

Browse files
committed
Release Quarkus Platform through Central Portal with Njord
https://maveniverse.eu/docs/njord/
1 parent 534c3b0 commit 59873af

File tree

16 files changed

+234
-446
lines changed

16 files changed

+234
-446
lines changed

.github/release-settings.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0"?>
2+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
4+
<pluginGroups>
5+
<pluginGroup>eu.maveniverse.maven.plugins</pluginGroup>
6+
</pluginGroups>
7+
8+
<servers>
9+
<server>
10+
<id>quarkus-publish</id>
11+
<username>${env.SONATYPE_USERNAME}</username>
12+
<password>${env.SONATYPE_PASSWORD}</password>
13+
<configuration>
14+
<njord.publisher>sonatype-cp</njord.publisher>
15+
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
16+
<njord.snapshotUrl>njord:template:snapshot-sca</njord.snapshotUrl>
17+
</configuration>
18+
</server>
19+
</servers>
20+
</settings>

.github/workflows/deploy-snapshots.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- name: Build and Deploy
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }}
46-
SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }}
47-
SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }}
46+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
47+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4848
run: |
4949
./mvnw -B -N versions:set-property -Dproperty=quarkus.version -DnewVersion=999-SNAPSHOT -DenableSnapshotsRepository
5050
./mvnw -B -Dsync -DenableSnapshotsRepository
51-
./mvnw -e -B --settings .github/mvn-settings.xml \
51+
./mvnw -e -B --settings .github/release-settings.xml \
52+
-Dnjord.autoPublish \
5253
-DskipTests -DskipITs \
53-
-DretryFailedDeploymentCount=10 \
5454
-DenableSnapshotsRepository \
5555
clean deploy
5656
- name: Delete Local Artifacts From Cache

.mvn/extensions.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<extensions>
3+
<extension>
4+
<groupId>eu.maveniverse.maven.njord</groupId>
5+
<artifactId>extension</artifactId>
6+
<version>0.6.0</version>
7+
</extension>
8+
</extensions>

generated-platform-project/pom.xml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<plugins>
5353
<plugin>
5454
<artifactId>maven-gpg-plugin</artifactId>
55-
<version>1.6</version>
55+
<version>3.2.7</version>
5656
<executions>
5757
<execution>
5858
<id>sign-artifacts</id>
@@ -66,26 +66,6 @@
6666
</plugins>
6767
</build>
6868
</profile>
69-
<profile>
70-
<id>releaseNexus</id>
71-
<build>
72-
<plugins>
73-
<plugin>
74-
<groupId>org.sonatype.plugins</groupId>
75-
<artifactId>nexus-staging-maven-plugin</artifactId>
76-
<version>1.6.13</version>
77-
<extensions>true</extensions>
78-
<configuration>
79-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
80-
<serverId>ossrh</serverId>
81-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
82-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
83-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
84-
</configuration>
85-
</plugin>
86-
</plugins>
87-
</build>
88-
</profile>
8969
<profile>
9070
<id>releaseCi</id>
9171
<activation>
@@ -98,24 +78,23 @@
9878
<plugins>
9979
<plugin>
10080
<artifactId>maven-gpg-plugin</artifactId>
81+
<version>3.2.7</version>
10182
<configuration>
102-
<gpgArguments>
103-
<arg>--pinentry-mode</arg>
104-
<arg>loopback</arg>
105-
</gpgArguments>
83+
<bestPractices>true</bestPractices>
84+
<useAgent>false</useAgent>
85+
<signer>bc</signer>
10686
</configuration>
10787
</plugin>
10888
</plugins>
10989
</pluginManagement>
11090
<plugins>
11191
<plugin>
11292
<artifactId>maven-gpg-plugin</artifactId>
113-
<version>1.6</version>
93+
<version>3.2.7</version>
11494
<configuration>
115-
<gpgArguments>
116-
<arg>--pinentry-mode</arg>
117-
<arg>loopback</arg>
118-
</gpgArguments>
95+
<bestPractices>true</bestPractices>
96+
<useAgent>false</useAgent>
97+
<signer>bc</signer>
11998
</configuration>
12099
</plugin>
121100
</plugins>

generated-platform-project/quarkus-amazon-services/bom/pom.xml

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@
3535
</issueManagement>
3636
<distributionManagement>
3737
<repository>
38-
<id>sonatype-nexus-release</id>
39-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
38+
<id>quarkus-publish</id>
39+
<name>Quarkus Releases</name>
40+
<url>https://repo.maven.apache.org/maven2</url>
4041
</repository>
4142
<snapshotRepository>
42-
<id>sonatype-nexus-snapshots</id>
43-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
43+
<id>quarkus-publish</id>
44+
<name>Quarkus Snapshots</name>
45+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
4446
</snapshotRepository>
4547
</distributionManagement>
4648
<dependencyManagement>
@@ -2912,7 +2914,7 @@
29122914
<plugins>
29132915
<plugin>
29142916
<artifactId>maven-gpg-plugin</artifactId>
2915-
<version>1.6</version>
2917+
<version>3.2.7</version>
29162918
<executions>
29172919
<execution>
29182920
<id>sign-artifacts</id>
@@ -2926,26 +2928,6 @@
29262928
</plugins>
29272929
</build>
29282930
</profile>
2929-
<profile>
2930-
<id>releaseNexus</id>
2931-
<build>
2932-
<plugins>
2933-
<plugin>
2934-
<groupId>org.sonatype.plugins</groupId>
2935-
<artifactId>nexus-staging-maven-plugin</artifactId>
2936-
<version>1.6.13</version>
2937-
<extensions>true</extensions>
2938-
<configuration>
2939-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
2940-
<serverId>ossrh</serverId>
2941-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
2942-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
2943-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
2944-
</configuration>
2945-
</plugin>
2946-
</plugins>
2947-
</build>
2948-
</profile>
29492931
<profile>
29502932
<id>releaseCi</id>
29512933
<activation>
@@ -2958,24 +2940,23 @@
29582940
<plugins>
29592941
<plugin>
29602942
<artifactId>maven-gpg-plugin</artifactId>
2943+
<version>3.2.7</version>
29612944
<configuration>
2962-
<gpgArguments>
2963-
<arg>--pinentry-mode</arg>
2964-
<arg>loopback</arg>
2965-
</gpgArguments>
2945+
<bestPractices>true</bestPractices>
2946+
<useAgent>false</useAgent>
2947+
<signer>bc</signer>
29662948
</configuration>
29672949
</plugin>
29682950
</plugins>
29692951
</pluginManagement>
29702952
<plugins>
29712953
<plugin>
29722954
<artifactId>maven-gpg-plugin</artifactId>
2973-
<version>1.6</version>
2955+
<version>3.2.7</version>
29742956
<configuration>
2975-
<gpgArguments>
2976-
<arg>--pinentry-mode</arg>
2977-
<arg>loopback</arg>
2978-
</gpgArguments>
2957+
<bestPractices>true</bestPractices>
2958+
<useAgent>false</useAgent>
2959+
<signer>bc</signer>
29792960
</configuration>
29802961
</plugin>
29812962
</plugins>

generated-platform-project/quarkus-blaze-persistence/bom/pom.xml

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@
3535
</issueManagement>
3636
<distributionManagement>
3737
<repository>
38-
<id>sonatype-nexus-release</id>
39-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
38+
<id>quarkus-publish</id>
39+
<name>Quarkus Releases</name>
40+
<url>https://repo.maven.apache.org/maven2</url>
4041
</repository>
4142
<snapshotRepository>
42-
<id>sonatype-nexus-snapshots</id>
43-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
43+
<id>quarkus-publish</id>
44+
<name>Quarkus Snapshots</name>
45+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
4446
</snapshotRepository>
4547
</distributionManagement>
4648
<dependencyManagement>
@@ -87,7 +89,7 @@
8789
<plugins>
8890
<plugin>
8991
<artifactId>maven-gpg-plugin</artifactId>
90-
<version>1.6</version>
92+
<version>3.2.7</version>
9193
<executions>
9294
<execution>
9395
<id>sign-artifacts</id>
@@ -101,26 +103,6 @@
101103
</plugins>
102104
</build>
103105
</profile>
104-
<profile>
105-
<id>releaseNexus</id>
106-
<build>
107-
<plugins>
108-
<plugin>
109-
<groupId>org.sonatype.plugins</groupId>
110-
<artifactId>nexus-staging-maven-plugin</artifactId>
111-
<version>1.6.13</version>
112-
<extensions>true</extensions>
113-
<configuration>
114-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
115-
<serverId>ossrh</serverId>
116-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
117-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
118-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
119-
</configuration>
120-
</plugin>
121-
</plugins>
122-
</build>
123-
</profile>
124106
<profile>
125107
<id>releaseCi</id>
126108
<activation>
@@ -133,24 +115,23 @@
133115
<plugins>
134116
<plugin>
135117
<artifactId>maven-gpg-plugin</artifactId>
118+
<version>3.2.7</version>
136119
<configuration>
137-
<gpgArguments>
138-
<arg>--pinentry-mode</arg>
139-
<arg>loopback</arg>
140-
</gpgArguments>
120+
<bestPractices>true</bestPractices>
121+
<useAgent>false</useAgent>
122+
<signer>bc</signer>
141123
</configuration>
142124
</plugin>
143125
</plugins>
144126
</pluginManagement>
145127
<plugins>
146128
<plugin>
147129
<artifactId>maven-gpg-plugin</artifactId>
148-
<version>1.6</version>
130+
<version>3.2.7</version>
149131
<configuration>
150-
<gpgArguments>
151-
<arg>--pinentry-mode</arg>
152-
<arg>loopback</arg>
153-
</gpgArguments>
132+
<bestPractices>true</bestPractices>
133+
<useAgent>false</useAgent>
134+
<signer>bc</signer>
154135
</configuration>
155136
</plugin>
156137
</plugins>

generated-platform-project/quarkus-camel/bom/pom.xml

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@
3535
</issueManagement>
3636
<distributionManagement>
3737
<repository>
38-
<id>sonatype-nexus-release</id>
39-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
38+
<id>quarkus-publish</id>
39+
<name>Quarkus Releases</name>
40+
<url>https://repo.maven.apache.org/maven2</url>
4041
</repository>
4142
<snapshotRepository>
42-
<id>sonatype-nexus-snapshots</id>
43-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
43+
<id>quarkus-publish</id>
44+
<name>Quarkus Snapshots</name>
45+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
4446
</snapshotRepository>
4547
</distributionManagement>
4648
<dependencyManagement>
@@ -8869,7 +8871,7 @@
88698871
<plugins>
88708872
<plugin>
88718873
<artifactId>maven-gpg-plugin</artifactId>
8872-
<version>1.6</version>
8874+
<version>3.2.7</version>
88738875
<executions>
88748876
<execution>
88758877
<id>sign-artifacts</id>
@@ -8883,26 +8885,6 @@
88838885
</plugins>
88848886
</build>
88858887
</profile>
8886-
<profile>
8887-
<id>releaseNexus</id>
8888-
<build>
8889-
<plugins>
8890-
<plugin>
8891-
<groupId>org.sonatype.plugins</groupId>
8892-
<artifactId>nexus-staging-maven-plugin</artifactId>
8893-
<version>1.6.13</version>
8894-
<extensions>true</extensions>
8895-
<configuration>
8896-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
8897-
<serverId>ossrh</serverId>
8898-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
8899-
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
8900-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
8901-
</configuration>
8902-
</plugin>
8903-
</plugins>
8904-
</build>
8905-
</profile>
89068888
<profile>
89078889
<id>releaseCi</id>
89088890
<activation>
@@ -8915,24 +8897,23 @@
89158897
<plugins>
89168898
<plugin>
89178899
<artifactId>maven-gpg-plugin</artifactId>
8900+
<version>3.2.7</version>
89188901
<configuration>
8919-
<gpgArguments>
8920-
<arg>--pinentry-mode</arg>
8921-
<arg>loopback</arg>
8922-
</gpgArguments>
8902+
<bestPractices>true</bestPractices>
8903+
<useAgent>false</useAgent>
8904+
<signer>bc</signer>
89238905
</configuration>
89248906
</plugin>
89258907
</plugins>
89268908
</pluginManagement>
89278909
<plugins>
89288910
<plugin>
89298911
<artifactId>maven-gpg-plugin</artifactId>
8930-
<version>1.6</version>
8912+
<version>3.2.7</version>
89318913
<configuration>
8932-
<gpgArguments>
8933-
<arg>--pinentry-mode</arg>
8934-
<arg>loopback</arg>
8935-
</gpgArguments>
8914+
<bestPractices>true</bestPractices>
8915+
<useAgent>false</useAgent>
8916+
<signer>bc</signer>
89368917
</configuration>
89378918
</plugin>
89388919
</plugins>

0 commit comments

Comments
 (0)