Skip to content

Commit aad4d7c

Browse files
committed
use prod sonatype repo
1 parent 689b5ba commit aad4d7c

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

pom.xml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,29 +32,16 @@
3232
</scm>
3333

3434
<distributionManagement>
35-
<!-- You'll probably want to test this out with a local copy of Nexus OSS. -->
36-
<!-- Remove these entries and uncomment the Sonatype Nexus repositories
37-
below when you actually want to release. -->
3835
<snapshotRepository>
39-
<id>localhost-nexus-snapshots</id>
40-
<name>Local Nexus snapshot repository</name>
41-
<url>http://localhost:8081/nexus/content/repositories/snapshots/</url>
36+
<id>sonatype-nexus-snapshots</id>
37+
<name>Sonatype Nexus snapshot repository</name>
38+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
4239
</snapshotRepository>
4340
<repository>
44-
<id>localhost-nexus-staging</id>
45-
<name>Local Nexus release repository</name>
46-
<url>http://localhost:8081/nexus/content/repositories/releases/</url>
41+
<id>sonatype-nexus-staging</id>
42+
<name>Sonatype Nexus release repository</name>
43+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
4744
</repository>
48-
<!-- <snapshotRepository> -->
49-
<!-- <id>sonatype-nexus-snapshots</id> -->
50-
<!-- <name>Sonatype Nexus snapshot repository</name> -->
51-
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url> -->
52-
<!-- </snapshotRepository> -->
53-
<!-- <repository> -->
54-
<!-- <id>sonatype-nexus-staging</id> -->
55-
<!-- <name>Sonatype Nexus release repository</name> -->
56-
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> -->
57-
<!-- </repository> -->
5845
</distributionManagement>
5946

6047
<properties>
@@ -151,11 +138,17 @@
151138
</executions>
152139
</plugin>
153140

141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-deploy-plugin</artifactId>
144+
<version>2.8.1</version>
145+
</plugin>
146+
154147
<!-- Release configuration: -->
155148
<plugin>
156149
<groupId>org.apache.maven.plugins</groupId>
157150
<artifactId>maven-release-plugin</artifactId>
158-
<version>2.4.1</version>
151+
<version>2.4.2</version>
159152
<configuration>
160153
<mavenExecutorId>forked-path</mavenExecutorId>
161154
</configuration>

0 commit comments

Comments
 (0)