File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 - name : Build and analyze
3434 env :
3535 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
36- run : mvn -B clean javadoc:javadoc clean verify -P coverage
36+ run : mvn -B clean javadoc:javadoc clean verify -P coverage
3737 if : env.SONAR_TOKEN == ''
3838 - name : Build and analyze with sonar
3939 env :
Original file line number Diff line number Diff line change 3232 with :
3333 distribution : ' temurin'
3434 java-version : 17
35- server-id : ossrh
35+ server-id : central
3636 cache : ' maven'
3737 server-username : MAVEN_USERNAME
3838 server-password : MAVEN_CENTRAL_TOKEN
Original file line number Diff line number Diff line change 712712 </dependencies >
713713 <distributionManagement >
714714 <snapshotRepository >
715- <id >ossrh </id >
716- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
715+ <id >central </id >
716+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
717717 </snapshotRepository >
718718 <repository >
719- <id >ossrh </id >
720- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2 /</url >
719+ <id >central </id >
720+ <url >https://central .sonatype.com /</url >
721721 </repository >
722722 </distributionManagement >
723723 <build >
736736 </resources >
737737 <plugins >
738738 <plugin >
739- <groupId >org.sonatype.plugins </groupId >
740- <artifactId >nexus-staging -maven-plugin</artifactId >
741- <version >1.6.13 </version >
739+ <groupId >org.sonatype.central </groupId >
740+ <artifactId >central-publishing -maven-plugin</artifactId >
741+ <version >0.5.0 </version >
742742 <extensions >true</extensions >
743743 <configuration >
744- <serverId >ossrh</serverId >
745- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
746- <skipLocalStaging >true</skipLocalStaging >
744+ <publishingServerId >central</publishingServerId >
745+ <tokenAuth >true</tokenAuth >
747746 </configuration >
748747 </plugin >
749748 <plugin >
You can’t perform that action at this time.
0 commit comments