|
15 | 15 | <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> |
16 | 16 | <build.timestamp>${maven.build.timestamp}</build.timestamp> |
17 | 17 | <bundlename>org.lucee.hibernate.extension</bundlename> |
18 | | - <release.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</release.url> |
19 | | - <snapshot.url>https://oss.sonatype.org/content/repositories/snapshots/</snapshot.url> |
| 18 | + <release.url>https://central.sonatype.com/api/v1/publisher/deployments/download/</release.url> |
| 19 | + <snapshot.url>https://central.sonatype.com/repository/maven-snapshots/</snapshot.url> |
20 | 20 | </properties> |
21 | 21 |
|
22 | 22 | <scm> |
|
26 | 26 | <tag>${project.version}</tag> |
27 | 27 | </scm> |
28 | 28 |
|
29 | | - <distributionManagement> |
30 | | - <repository> |
31 | | - <id>ossrh</id> |
32 | | - <url>${release.url}</url> |
33 | | - </repository> |
34 | | - <snapshotRepository> |
35 | | - <id>ossrh</id> |
36 | | - <url>${snapshot.url}</url> |
37 | | - </snapshotRepository> |
38 | | - </distributionManagement> |
39 | | - |
40 | 29 | <licenses> |
41 | 30 | <license> |
42 | 31 | <name>The GNU Lesser General Public License, Version 2.1</name> |
|
145 | 134 | <id>terracotta</id> |
146 | 135 | <url>https://repo.terracotta.org/maven2/</url> |
147 | 136 | </repository> |
| 137 | + <repository> |
| 138 | + <id>sonatype-central-snapshots</id> |
| 139 | + <name>Sonatype Central Snapshots</name> |
| 140 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
| 141 | + <snapshots> |
| 142 | + <enabled>true</enabled> |
| 143 | + <updatePolicy>always</updatePolicy> |
| 144 | + </snapshots> |
| 145 | + </repository> |
148 | 146 | </repositories> |
149 | 147 |
|
150 | 148 | <!-- ============================== Build ============================== --> |
|
351 | 349 | </executions> |
352 | 350 | </plugin> |
353 | 351 |
|
354 | | - <!-- Deploy --> |
355 | | - <plugin> |
356 | | - <groupId>org.apache.maven.plugins</groupId> |
357 | | - <artifactId>maven-deploy-plugin</artifactId> |
358 | | - <version>3.1.2</version> |
359 | | - <executions> |
360 | | - <execution> |
361 | | - <id>default-deploy</id> |
362 | | - <phase>deploy</phase> |
363 | | - <goals> |
364 | | - <goal>deploy-file</goal> |
365 | | - </goals> |
366 | | - <configuration> |
367 | | - <file>${project.build.directory}/${project.artifactId}-${project.version}.lex</file> |
368 | | - <groupId>${project.groupId}</groupId> |
369 | | - <artifactId>${project.artifactId}</artifactId> |
370 | | - <version>${project.version}</version> |
371 | | - <repositoryId>ossrh</repositoryId> |
372 | | - <url>${snapshot.url}</url> |
373 | | - <packaging>lex</packaging> |
374 | | - </configuration> |
375 | | - </execution> |
376 | | - </executions> |
377 | | - </plugin> |
378 | | - |
| 352 | + <!-- Central Publishing --> |
379 | 353 | <plugin> |
380 | | - <groupId>org.sonatype.plugins</groupId> |
381 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
382 | | - <version>1.6.13</version> |
| 354 | + <groupId>org.sonatype.central</groupId> |
| 355 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 356 | + <version>0.10.0</version> |
383 | 357 | <extensions>true</extensions> |
384 | 358 | <configuration> |
385 | | - <serverId>ossrh</serverId> |
386 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
387 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 359 | + <publishingServerId>ossrh</publishingServerId> |
| 360 | + <autoPublish>true</autoPublish> |
388 | 361 | </configuration> |
389 | 362 | </plugin> |
390 | 363 | </plugins> |
|
0 commit comments