|
52 | 52 | </scm>
|
53 | 53 |
|
54 | 54 | <distributionManagement>
|
55 |
| - <snapshotRepository> |
56 |
| - <id>ossrh</id> |
57 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
58 |
| - </snapshotRepository> |
59 |
| - <repository> |
60 |
| - <id>ossrh</id> |
61 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
62 |
| - </repository> |
| 55 | + <repository> |
| 56 | + <id>central</id> |
| 57 | + <url>https://central.sonatype.com/service/local/staging/deploy/maven2/</url> |
| 58 | + </repository> |
| 59 | + <snapshotRepository> |
| 60 | + <id>central</id> |
| 61 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 62 | + </snapshotRepository> |
63 | 63 | </distributionManagement>
|
64 | 64 |
|
65 |
| - <repositories> |
66 |
| - <repository> |
67 |
| - <id>central</id> |
68 |
| - <url> |
69 |
| - https://oss.sonatype.org/content/repositories/releases |
70 |
| - </url> |
71 |
| - <snapshots> |
72 |
| - <enabled>false</enabled> |
73 |
| - </snapshots> |
74 |
| - </repository> |
75 |
| - <repository> |
76 |
| - <id>snapshots</id> |
77 |
| - <url> |
78 |
| - https://oss.sonatype.org/content/repositories/snapshots |
79 |
| - </url> |
80 |
| - <snapshots> |
81 |
| - <enabled>true</enabled> |
82 |
| - <!-- never, daily, interval:X (where X is in minutes) or always --> |
83 |
| - <!--<updatePolicy>daily</updatePolicy> --> |
84 |
| - </snapshots> |
85 |
| - <releases> |
86 |
| - <enabled>false</enabled> |
87 |
| - </releases> |
88 |
| - </repository> |
89 |
| - </repositories> |
90 |
| - |
91 | 65 | <properties>
|
92 | 66 | <java.version>11</java.version>
|
93 | 67 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
|
199 | 173 | </execution>
|
200 | 174 | </executions>
|
201 | 175 | </plugin>
|
202 |
| - <plugin> |
203 |
| - <groupId>org.sonatype.plugins</groupId> |
204 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
205 |
| - <version>${version.nexus-staging-maven}</version> |
206 |
| - <extensions>true</extensions> |
207 |
| - <configuration> |
208 |
| - <serverId>ossrh</serverId> |
209 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
210 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
211 |
| - </configuration> |
212 |
| - </plugin> |
213 | 176 | <plugin>
|
214 | 177 | <groupId>org.apache.maven.plugins</groupId>
|
215 | 178 | <artifactId>maven-source-plugin</artifactId>
|
|
284 | 247 | </executions>
|
285 | 248 | </plugin>
|
286 | 249 | <!-- end JACOCO -->
|
287 |
| - <plugin> |
288 |
| - <groupId>org.apache.maven.plugins</groupId> |
289 |
| - <artifactId>maven-deploy-plugin</artifactId> |
290 |
| - <version>2.8.2</version> |
291 |
| - </plugin> |
292 | 250 | </plugins>
|
293 | 251 | </build>
|
294 | 252 |
|
|
327 | 285 | </execution>
|
328 | 286 | </executions>
|
329 | 287 | </plugin>
|
| 288 | + <plugin> |
| 289 | + <groupId>org.sonatype.central</groupId> |
| 290 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 291 | + <version>0.7.0</version> |
| 292 | + <extensions>true</extensions> |
| 293 | + <configuration> |
| 294 | + <publishingServerId>central</publishingServerId> |
| 295 | + <autoPublish>true</autoPublish> |
| 296 | + </configuration> |
| 297 | + </plugin> |
330 | 298 | </plugins>
|
331 | 299 | </build>
|
332 | 300 | </profile>
|
|
0 commit comments