|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 |
|
5 | | - |
6 | 5 | <groupId>org.orbisgis</groupId> |
7 | 6 | <artifactId>cts</artifactId> |
8 | 7 | <version>1.7.2-SNAPSHOT</version> |
|
79 | 78 | <!-- Dependencies --> |
80 | 79 | <repositories> |
81 | 80 | <repository> |
82 | | - <id>oss-sonatype</id> |
83 | | - <name>oss-sonatype-snapshot</name> |
84 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
85 | | - </repository> |
86 | | - <repository> |
87 | | - <id>orbisgis-release</id> |
88 | | - <name>oss-sonatype-release</name> |
89 | | - <url>https://oss.sonatype.org/content/repositories/releases/</url> |
| 81 | + <name>Central Portal Snapshots</name> |
| 82 | + <id>central-portal-snapshots</id> |
| 83 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 84 | + <releases> |
| 85 | + <enabled>false</enabled> |
| 86 | + </releases> |
| 87 | + <snapshots> |
| 88 | + <enabled>true</enabled> |
| 89 | + </snapshots> |
90 | 90 | </repository> |
91 | 91 | </repositories> |
92 | 92 |
|
|
269 | 269 | <groupId>org.apache.maven.plugins</groupId> |
270 | 270 | <artifactId>maven-javadoc-plugin</artifactId> |
271 | 271 | </plugin> |
| 272 | + <plugin> |
| 273 | + <groupId>org.sonatype.central</groupId> |
| 274 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 275 | + <version>0.7.0</version> |
| 276 | + <extensions>true</extensions> |
| 277 | + <configuration> |
| 278 | + <publishingServerId>central</publishingServerId> |
| 279 | + <tokenAuth>true</tokenAuth> |
| 280 | + </configuration> |
| 281 | + </plugin> |
272 | 282 | </plugins> |
273 | 283 | </build> |
274 | 284 |
|
|
286 | 296 | </profile> |
287 | 297 | </profiles> |
288 | 298 |
|
289 | | - <distributionManagement> |
290 | | - <snapshotRepository> |
291 | | - <id>ossrh</id> |
292 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
293 | | - </snapshotRepository> |
294 | | - <repository> |
295 | | - <id>ossrh</id> |
296 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
297 | | - </repository> |
298 | | - </distributionManagement> |
299 | | - |
300 | 299 | </project> |
0 commit comments