|
19 | 19 | <maven.deploy.plugin.version>2.8.1</maven.deploy.plugin.version>
|
20 | 20 | <maven.source.plugin.version>2.2.1</maven.source.plugin.version>
|
21 | 21 | <maven.gpg.plugin.version>1.5</maven.gpg.plugin.version>
|
22 |
| - <nexus.staging.plugin.version>1.6.7</nexus.staging.plugin.version> |
| 22 | + <central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version> |
23 | 23 | <git.commit.plugin.version>3.0.1</git.commit.plugin.version>
|
24 | 24 | <kernel.core.version>1.2.1-SNAPSHOT</kernel.core.version>
|
25 | 25 | <kernel.auth.adaptor.version>1.2.1-SNAPSHOT</kernel.auth.adaptor.version>
|
|
42 | 42 | <artifactId>junit-vintage-engine</artifactId>
|
43 | 43 | <version>${junit.vintage.version}</version>
|
44 | 44 | </dependency>
|
45 |
| - |
46 | 45 | </dependencies>
|
47 |
| - |
48 |
| -<distributionManagement> |
49 |
| - <snapshotRepository> |
50 |
| - <id>ossrh</id> |
51 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
52 |
| - </snapshotRepository> |
53 |
| - <repository> |
54 |
| - <id>ossrh</id> |
55 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
56 |
| - </repository> |
57 |
| - </distributionManagement> |
| 46 | + |
| 47 | + <distributionManagement> |
| 48 | + <snapshotRepository> |
| 49 | + <id>ossrh</id> |
| 50 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 51 | + </snapshotRepository> |
| 52 | + <repository> |
| 53 | + <id>ossrh</id> |
| 54 | + <url>https://central.sonatype.com/api/v1/publisher</url> |
| 55 | + </repository> |
| 56 | + </distributionManagement> |
| 57 | + |
58 | 58 | <build>
|
59 |
| -<resources> |
| 59 | + <resources> |
60 | 60 | <resource>
|
61 | 61 | <directory>src/main/resources</directory>
|
62 | 62 | <excludes>
|
|
78 | 78 | </execution>
|
79 | 79 | </executions>
|
80 | 80 | </plugin>
|
81 |
| - <plugin> |
82 |
| - <groupId>org.sonatype.plugins</groupId> |
83 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
84 |
| - <version>${nexus.staging.plugin.version}</version> |
| 81 | + <plugin> |
| 82 | + <groupId>org.sonatype.central</groupId> |
| 83 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 84 | + <version>${central.publishing.maven.plugin.version}</version> |
85 | 85 | <extensions>true</extensions>
|
86 |
| - <executions> |
87 |
| - <execution> |
88 |
| - <id>default-deploy</id> |
89 |
| - <phase>deploy</phase> |
90 |
| - <goals> |
91 |
| - <goal>deploy</goal> |
92 |
| - </goals> |
93 |
| - </execution> |
94 |
| - </executions> |
95 | 86 | <configuration>
|
96 |
| - <serverId>ossrh</serverId> |
97 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
98 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 87 | + <publishingServerId>ossrh</publishingServerId> |
| 88 | + <autoPublish>false</autoPublish> |
99 | 89 | </configuration>
|
100 |
| - </plugin> |
101 |
| - |
| 90 | + </plugin> |
102 | 91 | <plugin>
|
103 | 92 | <groupId>org.apache.maven.plugins</groupId>
|
104 | 93 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments