Skip to content

Commit 91856a2

Browse files
authored
chore: set up deployments using Central Portal (#338)
1 parent 99d6d84 commit 91856a2

File tree

1 file changed

+9
-24
lines changed

1 file changed

+9
-24
lines changed

parent-oss/pom.xml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ governing permissions and limitations under the License.
9595
</execution>
9696
</executions>
9797
</plugin>
98+
<plugin>
99+
<groupId>org.sonatype.central</groupId>
100+
<artifactId>central-publishing-maven-plugin</artifactId>
101+
<version>0.8.0</version>
102+
<extensions>true</extensions>
103+
<configuration>
104+
<publishingServerId>central</publishingServerId>
105+
</configuration>
106+
</plugin>
98107
</plugins>
99108

100109
<pluginManagement>
@@ -154,18 +163,6 @@ governing permissions and limitations under the License.
154163
<artifactId>maven-enforcer-plugin</artifactId>
155164
<version>3.6.0</version>
156165
</plugin>
157-
<plugin>
158-
<groupId>org.sonatype.plugins</groupId>
159-
<artifactId>nexus-staging-maven-plugin</artifactId>
160-
<version>1.7.0</version>
161-
<extensions>true</extensions>
162-
<configuration>
163-
<serverId>ossrh</serverId>
164-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
165-
<!-- Closing takes a long time and often times out, which causes the build to fail -->
166-
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
167-
</configuration>
168-
</plugin>
169166
<plugin>
170167
<artifactId>maven-release-plugin</artifactId>
171168
<version>3.1.1</version>
@@ -251,16 +248,4 @@ governing permissions and limitations under the License.
251248
</build>
252249
</profile>
253250
</profiles>
254-
255-
256-
<distributionManagement>
257-
<snapshotRepository>
258-
<id>ossrh</id>
259-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
260-
</snapshotRepository>
261-
<repository>
262-
<id>ossrh</id>
263-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
264-
</repository>
265-
</distributionManagement>
266251
</project>

0 commit comments

Comments
 (0)