|
48 | 48 | <tag>HEAD</tag> |
49 | 49 | </scm> |
50 | 50 |
|
51 | | - <distributionManagement> |
52 | | - <repository> |
53 | | - <id>sonatype.release</id> |
54 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
55 | | - </repository> |
56 | | - <snapshotRepository> |
57 | | - <id>sonatype.snapshots</id> |
58 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
59 | | - </snapshotRepository> |
60 | | - </distributionManagement> |
61 | 51 | <properties> |
62 | 52 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
63 | 53 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
|
227 | 217 | </configuration> |
228 | 218 | </plugin> |
229 | 219 |
|
230 | | - <!-- Deploy plugin --> |
231 | | - <plugin> |
232 | | - <groupId>org.apache.maven.plugins</groupId> |
233 | | - <artifactId>maven-deploy-plugin</artifactId> |
234 | | - <version>2.8</version> |
235 | | - <configuration> |
236 | | - <deployAtEnd>true</deployAtEnd> |
237 | | - </configuration> |
238 | | - </plugin> |
239 | | - |
240 | 220 | <!-- Bundle plugin --> |
241 | 221 | <plugin> |
242 | 222 | <groupId>org.apache.felix</groupId> |
|
383 | 363 |
|
384 | 364 | <!-- Nexus deploy plugin --> |
385 | 365 | <plugin> |
386 | | - <groupId>org.sonatype.plugins</groupId> |
387 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
388 | | - <version>1.6.2</version> |
| 366 | + <groupId>org.sonatype.central</groupId> |
| 367 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 368 | + <version>0.8.0</version> |
389 | 369 | <extensions>true</extensions> |
390 | 370 | <configuration> |
391 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
392 | | - <serverId>sonatype.release</serverId> |
| 371 | + <publishingServerId>sonatype.release</publishingServerId> |
| 372 | + <autoPublish>false</autoPublish> |
| 373 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
393 | 374 | </configuration> |
394 | 375 | </plugin> |
395 | 376 |
|
|
413 | 394 | <version>1.5</version> |
414 | 395 | </plugin> |
415 | 396 | <plugin> |
416 | | - <groupId>org.sonatype.plugins</groupId> |
417 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
418 | | - <version>1.6.2</version> |
| 397 | + <groupId>org.sonatype.central</groupId> |
| 398 | + <artifactId>central-publishing-maven-plugin</artifactId> |
419 | 399 | </plugin> |
420 | 400 | </plugins> |
421 | 401 | </build> |
|
0 commit comments