Skip to content

Commit

Permalink
change nexus snapshot deploy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
HidekiSugimoto189 committed Aug 11, 2024
1 parent 073136d commit b8f67f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
35 changes: 21 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<version>3.2.5</version>
<configuration>
<argLine>-Duroborosql.sql.coverage=true ${jacocoArgs}</argLine>
<additionalClasspathElements>
Expand All @@ -93,7 +93,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
Expand Down Expand Up @@ -125,12 +125,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
Expand Down Expand Up @@ -184,6 +184,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down Expand Up @@ -222,7 +234,6 @@ encoding/<project>=UTF-8
<executions>
<execution>
<id>attach-javadocs</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
Expand All @@ -235,7 +246,7 @@ encoding/<project>=UTF-8
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand Down Expand Up @@ -438,12 +449,8 @@ LICENSE file in the root directory of this source tree.
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>ossrh-release</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>ossrh-snapshot</id>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
Expand Down
10 changes: 0 additions & 10 deletions settings/.maven.settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
<username>${env.OSSRH_USER}</username>
<password>${env.OSSRH_PASS}</password>
</server>
<server>
<id>ossrh-release</id>
<username>${env.OSSRH_USER}</username>
<password>${env.OSSRH_PASS}</password>
</server>
<server>
<id>ossrh-snapshot</id>
<username>${env.OSSRH_USER}</username>
<password>${env.OSSRH_PASS}</password>
</server>
<server>
<id>gpg.passphrase</id>
<passphrase>${env.MAVEN_GPG_PASSPHRASE}</passphrase>
Expand Down

0 comments on commit b8f67f1

Please sign in to comment.