Skip to content

Commit 8d67b89

Browse files
authored
Merge pull request #218 from RWS/build-updates-sonatype
Adjustments to build process to conform with the latest sonatype upda…
2 parents 4bbd9ad + 89101af commit 8d67b89

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

pom.xml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.sdl.oss</groupId>
77
<artifactId>oss-parent</artifactId>
8-
<version>1.0.4</version>
8+
<version>1.0.5</version>
99
</parent>
1010

1111
<groupId>com.sdl.dxa</groupId>
@@ -118,7 +118,7 @@
118118
<repositories>
119119
<repository>
120120
<id>snapshots-repo</id>
121-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
121+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
122122
<releases>
123123
<enabled>false</enabled>
124124
</releases>
@@ -127,18 +127,6 @@
127127
</snapshots>
128128
</repository>
129129
</repositories>
130-
<distributionManagement>
131-
<repository>
132-
<id>sonatype-nexus-staging</id>
133-
<name>OSS sonatype release</name>
134-
<url>https://oss.sonatype.org/content/repositories/releases</url>
135-
</repository>
136-
<snapshotRepository>
137-
<id>sonatype-nexus-snapshots</id>
138-
<name>OSS sonatype snapshots</name>
139-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
140-
</snapshotRepository>
141-
</distributionManagement>
142130

143131
<developers>
144132
<developer>
@@ -962,9 +950,9 @@
962950
</configuration>
963951
</plugin>
964952
<plugin>
965-
<groupId>org.sonatype.plugins</groupId>
966-
<artifactId>nexus-staging-maven-plugin</artifactId>
967-
<version>1.6.13</version>
953+
<groupId>org.sonatype.central</groupId>
954+
<artifactId>central-publishing-maven-plugin</artifactId>
955+
<version>0.8.0</version>
968956
</plugin>
969957
</plugins>
970958
</pluginManagement>
@@ -986,13 +974,12 @@
986974
<artifactId>maven-jar-plugin</artifactId>
987975
</plugin>
988976
<plugin>
989-
<groupId>org.sonatype.plugins</groupId>
990-
<artifactId>nexus-staging-maven-plugin</artifactId>
977+
<groupId>org.sonatype.central</groupId>
978+
<artifactId>central-publishing-maven-plugin</artifactId>
991979
<extensions>true</extensions>
992980
<configuration>
993-
<serverId>sonatype-nexus-staging</serverId>
994-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
995-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
981+
<publishingServerId>central</publishingServerId>
982+
<autoPublish>false</autoPublish>
996983
</configuration>
997984
</plugin>
998985
</plugins>

0 commit comments

Comments
 (0)