Skip to content

Commit 4567d68

Browse files
committed
Update to central portal publishing
1 parent 7880ac1 commit 4567d68

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/CI snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
distribution: 'temurin'
3636
java-version: '11'
37-
server-id: central-portal-snapshots
37+
server-id: central
3838
server-username: MAVEN_USERNAME
3939
server-password: MAVEN_PASSWORD
4040
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
- Use junit-jupiter-api in test scope only #160
44
- Remove unnecessary logger
55
- Update github actions
6-
- Update to central portal publishing
6+
- Change to central portal publishing

pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -269,17 +269,6 @@
269269
<groupId>org.apache.maven.plugins</groupId>
270270
<artifactId>maven-javadoc-plugin</artifactId>
271271
</plugin>
272-
<plugin>
273-
<groupId>org.sonatype.central</groupId>
274-
<artifactId>central-publishing-maven-plugin</artifactId>
275-
<version>0.7.0</version>
276-
<extensions>true</extensions>
277-
<configuration>
278-
<autoPublish>true</autoPublish>
279-
<publishingServerId>central</publishingServerId>
280-
<tokenAuth>true</tokenAuth>
281-
</configuration>
282-
</plugin>
283272
</plugins>
284273
</build>
285274

@@ -297,4 +286,15 @@
297286
</profile>
298287
</profiles>
299288

289+
<distributionManagement>
290+
<snapshotRepository>
291+
<id>central</id>
292+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
293+
</snapshotRepository>
294+
<repository>
295+
<id>central</id>
296+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
297+
</repository>
298+
</distributionManagement>
299+
300300
</project>

0 commit comments

Comments
 (0)