Skip to content

Commit

Permalink
Ajustado urls dos repositorios do sonatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
fincatto committed Jul 3, 2024
1 parent b0e74a2 commit 407fffc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_username }}
nexus_password: ${{ secrets.nexus_password }}
maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P central
maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P ossrh

- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v3
Expand Down
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,8 @@

<profiles>
<profile>
<id>central</id>
<id>ossrh</id>
<distributionManagement>
<!-- <snapshotRepository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
<!-- </snapshotRepository>-->
<!-- <repository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/releases</url>-->
<!-- </repository>-->
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
Expand Down Expand Up @@ -266,7 +258,8 @@
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- <nexusUrl>https://oss.sonatype.org/</nexusUrl>-->
<nexusUrl>https://s01.oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand Down

0 comments on commit 407fffc

Please sign in to comment.