Skip to content

Commit ad58ff2

Browse files
committed
#374 - 01
1 parent 9df55cb commit ad58ff2

File tree

10 files changed

+15
-55
lines changed

10 files changed

+15
-55
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ jobs:
199199
gpg --list-secret-keys --keyid-format LONG
200200
- name: Deploy with Maven
201201
env:
202-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
203-
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
204-
run: mvn deploy -ntp -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Drevision=HEAD-SNAPSHOT -s ./.github/workflows/settings.xml
202+
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
203+
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
204+
run: mvn deploy -ntp -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Drevision=HEAD-SNAPSHOT -P release
205205

206206
maven-deploy-main:
207207
runs-on: ubuntu-latest
@@ -258,7 +258,7 @@ jobs:
258258
gpg --list-secret-keys --keyid-format LONG
259259
- name: Deploy with Maven
260260
env:
261-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
262-
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
263-
run: mvn deploy -ntp -P release -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Daether.checksums.algorithms=MD5 -Drevision=${{ steps.project.outputs.version }} -s ./.github/workflows/settings.xml
261+
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
262+
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
263+
run: mvn deploy -ntp -P release -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Daether.checksums.algorithms=MD5 -Drevision=${{ steps.project.outputs.version }}
264264

.github/workflows/settings.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

nalu-plugin-core-web/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
<configuration>
183183
<publishingServerId>central</publishingServerId>
184184
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
185+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
185186
</configuration>
186187
</plugin>
187188
</plugins>

nalu-plugin-domino-v2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
<configuration>
211211
<publishingServerId>central</publishingServerId>
212212
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
213+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
213214
</configuration>
214215
</plugin>
215216
</plugins>

nalu-plugin-elemental2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
<configuration>
185185
<publishingServerId>central</publishingServerId>
186186
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
187+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
187188
</configuration>
188189
</plugin>
189190
</plugins>

nalu-plugin-elemento/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
<configuration>
200200
<publishingServerId>central</publishingServerId>
201201
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
202+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
202203
</configuration>
203204
</plugin>
204205
</plugins>

nalu-plugin-gwt-processor/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
<configuration>
315315
<publishingServerId>central</publishingServerId>
316316
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
317+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
317318
</configuration>
318319
</plugin>
319320
</plugins>

nalu-plugin-gwt/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
<configuration>
201201
<publishingServerId>central</publishingServerId>
202202
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
203+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
203204
</configuration>
204205
</plugin>
205206
</plugins>

nalu-processor/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
<configuration>
325325
<publishingServerId>central</publishingServerId>
326326
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
327+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
327328
</configuration>
328329
</plugin>
329330
<plugin>

pom.xml

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -180,42 +180,6 @@
180180
</pluginManagement>
181181
</build>
182182

183-
<!-- <repositories>-->
184-
<!-- &lt;!&ndash; <repository>&ndash;&gt;-->
185-
<!-- &lt;!&ndash; <id>google-snapshot</id>&ndash;&gt;-->
186-
<!-- &lt;!&ndash; <url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>&ndash;&gt;-->
187-
<!-- &lt;!&ndash; <releases>&ndash;&gt;-->
188-
<!-- &lt;!&ndash; <enabled>false</enabled>&ndash;&gt;-->
189-
<!-- &lt;!&ndash; </releases>&ndash;&gt;-->
190-
<!-- &lt;!&ndash; <snapshots>&ndash;&gt;-->
191-
<!-- &lt;!&ndash; <enabled>true</enabled>&ndash;&gt;-->
192-
<!-- &lt;!&ndash; </snapshots>&ndash;&gt;-->
193-
<!-- &lt;!&ndash; </repository>&ndash;&gt;-->
194-
<!-- <repository>-->
195-
<!-- <id>sonatype-snapshot</id>-->
196-
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
197-
<!-- <snapshots>-->
198-
<!-- <enabled>true</enabled>-->
199-
<!-- </snapshots>-->
200-
<!-- <releases>-->
201-
<!-- <enabled>false</enabled>-->
202-
<!-- </releases>-->
203-
<!-- </repository>-->
204-
<!-- </repositories>-->
205-
206-
<!-- <pluginRepositories>-->
207-
<!-- <pluginRepository>-->
208-
<!-- <id>sonatype-plugins</id>-->
209-
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
210-
<!-- <snapshots>-->
211-
<!-- <enabled>true</enabled>-->
212-
<!-- </snapshots>-->
213-
<!-- <releases>-->
214-
<!-- <enabled>false</enabled>-->
215-
<!-- </releases>-->
216-
<!-- </pluginRepository>-->
217-
<!-- </pluginRepositories>-->
218-
219183
<profiles>
220184
<profile>
221185
<id>release</id>
@@ -286,8 +250,8 @@
286250
<extensions>true</extensions>
287251
<configuration>
288252
<publishingServerId>central</publishingServerId>
289-
<autoPublish>false</autoPublish>
290-
<waitUntil>validated</waitUntil>
253+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
254+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
291255
</configuration>
292256
</plugin>
293257
</plugins>

0 commit comments

Comments
 (0)