Skip to content

Commit 5e3b301

Browse files
committed
fix release profile
1 parent b096f4e commit 5e3b301

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2727
restore-keys: ${{ runner.os }}-maven-
2828
- name: Setup Java JDK
29-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@v4
3030
with:
3131
distribution: adopt
3232
java-version: 11
33-
server-id: ossrh
33+
server-id: central
3434
server-username: MAVEN_USERNAME
3535
server-password: MAVEN_PASSWORD
3636
- name: Configure Git user

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
<artifactId>maven-javadoc-plugin</artifactId>
138138
</plugin>
139139
<plugin>
140-
<groupId>org.sonatype.plugins</groupId>
141-
<artifactId>nexus-staging-maven-plugin</artifactId>
140+
<groupId>org.sonatype.central</groupId>
141+
<artifactId>central-publishing-maven-plugin</artifactId>
142142
</plugin>
143143
</plugins>
144144
</build>
@@ -403,5 +403,5 @@
403403
</plugin>
404404
</plugins>
405405
</build>
406-
406+
407407
</project>

0 commit comments

Comments
 (0)