|
104 | 104 | </excludes> |
105 | 105 | </configuration> |
106 | 106 | </plugin> |
107 | | - <plugin> |
108 | | - <groupId>org.sonatype.plugins</groupId> |
109 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
110 | | - <version>1.5.1</version> |
| 107 | + </plugins> |
| 108 | + </pluginManagement> |
| 109 | + <plugins> |
| 110 | + <plugin> |
| 111 | + <groupId>org.sonatype.central</groupId> |
| 112 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 113 | + <version>0.7.0</version> |
111 | 114 | <extensions>true</extensions> |
112 | | - <executions> |
113 | | - <execution> |
114 | | - <id>default-deploy</id> |
115 | | - <phase>deploy</phase> |
116 | | - <goals> |
117 | | - <goal>deploy</goal> |
118 | | - </goals> |
119 | | - </execution> |
120 | | - </executions> |
121 | 115 | <configuration> |
122 | | - <serverId>nexus-sonatype</serverId> |
123 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 116 | + <publishingServerId>nexus-sonatype</publishingServerId> |
124 | 117 | </configuration> |
125 | 118 | </plugin> |
126 | | - </plugins> |
127 | | - </pluginManagement> |
| 119 | + </plugins> |
128 | 120 | <!-- <plugins>--> |
129 | 121 | <!-- <plugin>--> |
130 | 122 | <!-- <artifactId>maven-compiler-plugin</artifactId>--> |
|
272 | 264 | <repository> |
273 | 265 | <id>sonatype-nexus-snapshots</id> |
274 | 266 | <name>Sonatype Nexus Snapshots</name> |
275 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 267 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
276 | 268 | <releases> |
277 | 269 | <enabled>false</enabled> |
278 | 270 | </releases> |
|
281 | 273 | <updatePolicy>interval:10080</updatePolicy> |
282 | 274 | </snapshots> |
283 | 275 | </repository> |
284 | | - <repository> |
285 | | - <id>sonatype-nexus-releases</id> |
286 | | - <name>Sonatype Nexus Snapshots</name> |
287 | | - <url>https://oss.sonatype.org/content/repositories/releases</url> |
288 | | - <releases> |
289 | | - <enabled>true</enabled> |
290 | | - </releases> |
291 | | - <snapshots> |
292 | | - <enabled>false</enabled> |
293 | | - </snapshots> |
294 | | - </repository> |
295 | 276 | </repositories> |
296 | 277 |
|
297 | 278 | <pluginRepositories> |
|
305 | 286 | </pluginRepository> |
306 | 287 | </pluginRepositories> |
307 | 288 |
|
308 | | - <distributionManagement> |
309 | | - <snapshotRepository> |
310 | | - <id>nexus-sonatype</id> |
311 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
312 | | - </snapshotRepository> |
313 | | - <repository> |
314 | | - <id>nexus-sonatype</id> |
315 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
316 | | - </repository> |
317 | | - </distributionManagement> |
318 | | - |
319 | 289 | <profiles> |
320 | 290 | <profile> |
321 | 291 | <id>IT</id> |
|
0 commit comments