|
55 | 55 | <url>https://issues.cask.co/browse/CDAP</url> |
56 | 56 | </issueManagement> |
57 | 57 |
|
58 | | - <distributionManagement> |
59 | | - <repository> |
60 | | - <id>sonatype.release</id> |
61 | | - <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url> |
62 | | - </repository> |
63 | | - <snapshotRepository> |
64 | | - <id>sonatype.snapshots</id> |
65 | | - <url>https://central.sonatype.com/repository/maven-snapshots</url> |
66 | | - </snapshotRepository> |
67 | | - </distributionManagement> |
68 | | - |
69 | 58 | <properties> |
70 | 59 | <jee.version>7</jee.version> |
71 | 60 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
118 | 107 | </dependencyManagement> |
119 | 108 |
|
120 | 109 | <repositories> |
121 | | - <repository> |
122 | | - <id>sonatype</id> |
123 | | - <url>https://ossrh-staging-api.central.sonatype.com/content/groups/public</url> |
124 | | - <releases> |
125 | | - <enabled>true</enabled> |
126 | | - </releases> |
127 | | - <snapshots> |
128 | | - <enabled>false</enabled> |
129 | | - </snapshots> |
130 | | - </repository> |
131 | 110 | <repository> |
132 | 111 | <id>sonatype-snapshots</id> |
133 | 112 | <url>https://central.sonatype.com/repository/maven-snapshots</url> |
|
1098 | 1077 | </execution> |
1099 | 1078 | </executions> |
1100 | 1079 | </plugin> |
1101 | | - |
1102 | | - <plugin> |
1103 | | - <groupId>org.apache.maven.plugins</groupId> |
1104 | | - <artifactId>maven-release-plugin</artifactId> |
1105 | | - <version>2.5.3</version> |
1106 | | - <configuration> |
1107 | | - <tag>v${releaseVersion}</tag> |
1108 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
1109 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
1110 | | - <!-- releaseProfiles configuration will actually force a Maven profile |
1111 | | - – the `releases` profile – to become active during the Release process. --> |
1112 | | - <releaseProfiles>releases</releaseProfiles> |
1113 | | - </configuration> |
1114 | | - </plugin> |
1115 | | - |
1116 | 1080 | <plugin> |
1117 | | - <groupId>org.sonatype.plugins</groupId> |
1118 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
1119 | | - <version>1.6.2</version> |
| 1081 | + <groupId>org.sonatype.central</groupId> |
| 1082 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 1083 | + <version>0.8.0</version> |
1120 | 1084 | <extensions>true</extensions> |
1121 | 1085 | <configuration> |
1122 | | - <nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl> |
1123 | | - <serverId>sonatype.release</serverId> |
| 1086 | + <publishingServerId>sonatype.release</publishingServerId> |
| 1087 | + <autoPublish>false</autoPublish> |
| 1088 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
1124 | 1089 | </configuration> |
1125 | 1090 | </plugin> |
1126 | 1091 | </plugins> |
|
0 commit comments