|
14 | 14 | <repository> |
15 | 15 | <id>snapshot-repository</id> |
16 | 16 | <name>Maven2 Snapshot Repository</name> |
17 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 17 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
18 | 18 | </repository> |
19 | 19 | <repository> |
20 | 20 | <id>private-repository</id> |
|
65 | 65 | </license> |
66 | 66 | </licenses> |
67 | 67 |
|
68 | | - <developers> |
69 | | - <developer> |
70 | | - <id>asimarslan</id> |
71 | | - <name>asim arslan</name> |
72 | | - |
73 | | - </developer> |
74 | | - </developers> |
75 | | - |
76 | 68 | <organization> |
77 | 69 | <name>Hazelcast, Inc.</name> |
78 | 70 | <url>http://www.hazelcast.com/</url> |
|
226 | 218 | <distributionManagement> |
227 | 219 | <repository> |
228 | 220 | <id>release-repository</id> |
229 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 221 | + <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url> |
230 | 222 | </repository> |
231 | 223 | <snapshotRepository> |
232 | 224 | <id>snapshot-repository</id> |
233 | 225 | <name>Maven2 Snapshot Repository</name> |
234 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 226 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
235 | 227 | <uniqueVersion>false</uniqueVersion> |
236 | 228 | </snapshotRepository> |
237 | 229 | </distributionManagement> |
238 | 230 |
|
| 231 | + <profiles> |
| 232 | + <profile> |
| 233 | + <id>release</id> |
| 234 | + <build> |
| 235 | + <plugins> |
| 236 | + <plugin> |
| 237 | + <groupId>org.sonatype.plugins</groupId> |
| 238 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 239 | + <version>1.7.0</version> |
| 240 | + <extensions>true</extensions> |
| 241 | + <configuration> |
| 242 | + <serverId>ossrh</serverId> |
| 243 | + <nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl> |
| 244 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 245 | + </configuration> |
| 246 | + </plugin> |
| 247 | + <plugin> |
| 248 | + <groupId>org.apache.maven.plugins</groupId> |
| 249 | + <artifactId>maven-gpg-plugin</artifactId> |
| 250 | + <version>3.2.8</version> |
| 251 | + <executions> |
| 252 | + <execution> |
| 253 | + <phase>verify</phase> |
| 254 | + <goals> |
| 255 | + <goal>sign</goal> |
| 256 | + </goals> |
| 257 | + </execution> |
| 258 | + </executions> |
| 259 | + <configuration> |
| 260 | + <gpgArguments> |
| 261 | + <gpgArgument>--pinentry-mode</gpgArgument> |
| 262 | + <gpgArgument>loopback</gpgArgument> |
| 263 | + </gpgArguments> |
| 264 | + </configuration> |
| 265 | + </plugin> |
| 266 | + </plugins> |
| 267 | + </build> |
| 268 | + </profile> |
| 269 | + </profiles> |
239 | 270 | </project> |
240 | 271 |
|
0 commit comments