Skip to content

Commit 5483472

Browse files
committed
Try different things to enable snapshot publishing
1 parent 888fa2a commit 5483472

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,17 @@ jobs:
3434
steps:
3535
- uses: s4u/maven-settings-action@v3.0.0
3636
with:
37+
githubServer: false
3738
servers: |
3839
[{
3940
"id": "central",
4041
"username": "${{ secrets.MAVEN_CENTRAL_USERNAME }}",
4142
"password": "${{ secrets.MAVEN_CENTRAL_PASSWORD }}"
43+
},
44+
{
45+
"id": "central-portal-snapshots",
46+
"username": "${{ secrets.MAVEN_CENTRAL_USERNAME }}",
47+
"password": "${{ secrets.MAVEN_CENTRAL_PASSWORD }}"
4248
}]
4349
4450
- uses: actions/checkout@v4

pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,6 @@
238238
</execution>
239239
</executions>
240240
</plugin>
241-
<plugin>
242-
<groupId>org.sonatype.central</groupId>
243-
<artifactId>central-publishing-maven-plugin</artifactId>
244-
<version>0.7.0</version>
245-
<extensions>true</extensions>
246-
<configuration>
247-
<publishingServerId>central</publishingServerId>
248-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
249-
</configuration>
250-
</plugin>
251241
<plugin>
252242
<artifactId>maven-release-plugin</artifactId>
253243
<version>2.5.3</version>

0 commit comments

Comments
 (0)