|
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> |
|
1150 | 1129 | </execution> |
1151 | 1130 | </executions> |
1152 | 1131 | </plugin> |
1153 | | - |
1154 | | - <plugin> |
1155 | | - <groupId>org.apache.maven.plugins</groupId> |
1156 | | - <artifactId>maven-release-plugin</artifactId> |
1157 | | - <version>2.5.3</version> |
1158 | | - <configuration> |
1159 | | - <tag>v${releaseVersion}</tag> |
1160 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
1161 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
1162 | | - <!-- releaseProfiles configuration will actually force a Maven profile |
1163 | | - – the `releases` profile – to become active during the Release process. --> |
1164 | | - <releaseProfiles>releases</releaseProfiles> |
1165 | | - </configuration> |
1166 | | - </plugin> |
1167 | | - |
1168 | 1132 | <plugin> |
1169 | | - <groupId>org.sonatype.plugins</groupId> |
1170 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
1171 | | - <version>1.6.14</version> |
| 1133 | + <groupId>org.sonatype.central</groupId> |
| 1134 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 1135 | + <version>0.8.0</version> |
1172 | 1136 | <extensions>true</extensions> |
1173 | 1137 | <configuration> |
1174 | | - <nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl> |
1175 | | - <serverId>sonatype.release</serverId> |
| 1138 | + <publishingServerId>sonatype.release</publishingServerId> |
| 1139 | + <autoPublish>false</autoPublish> |
| 1140 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
1176 | 1141 | </configuration> |
1177 | 1142 | </plugin> |
1178 | 1143 | </plugins> |
|
0 commit comments