Skip to content

Commit 679ec50

Browse files
author
Darren Greaves
committed
Migrate to new maven central plugin
1 parent 9b37aef commit 679ec50

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

pom.xml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@
162162
<url>https://github.com/boncey/Flickr4Java</url>
163163
<tag>HEAD</tag>
164164
</scm>
165-
<distributionManagement>
166-
<snapshotRepository>
167-
<id>ossrh</id>
168-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
169-
</snapshotRepository>
170-
</distributionManagement>
171165
<profiles>
172166
<profile>
173167
<id>release</id>
@@ -203,17 +197,6 @@
203197
</execution>
204198
</executions>
205199
</plugin>
206-
<plugin>
207-
<groupId>org.sonatype.plugins</groupId>
208-
<artifactId>nexus-staging-maven-plugin</artifactId>
209-
<version>1.6.7</version>
210-
<extensions>true</extensions>
211-
<configuration>
212-
<serverId>ossrh</serverId>
213-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
214-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
215-
</configuration>
216-
</plugin>
217200
</plugins>
218201
</build>
219202
</profile>
@@ -241,6 +224,15 @@
241224
</execution>
242225
</executions>
243226
</plugin>
227+
<plugin>
228+
<groupId>org.sonatype.central</groupId>
229+
<artifactId>central-publishing-maven-plugin</artifactId>
230+
<version>0.9.0</version>
231+
<extensions>true</extensions>
232+
<configuration>
233+
<publishingServerId>central</publishingServerId>
234+
</configuration>
235+
</plugin>
244236
</plugins>
245237
</build>
246238
</profile>

0 commit comments

Comments
 (0)