|
23 | 23 | <maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version> |
24 | 24 | <maven.javadoc.version>3.2.0</maven.javadoc.version> |
25 | 25 | <maven-shade-plugin.version>2.3</maven-shade-plugin.version> |
| 26 | + <central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version> |
26 | 27 |
|
27 | 28 | <sonar.coverage.exclusions>**/constant/**,**/config/**,**/httpfilter/**,**/cache/**,**/entity/**,**/model/**,**/exception/**,**/repository/**,**/verticle/**,**/spi/**,"**/proxy/**"</sonar.coverage.exclusions> |
28 | 29 | <sonar.cpd.exclusions>**/dto/**,**/entity/**,**/config/**</sonar.cpd.exclusions> |
|
34 | 35 | </modules> |
35 | 36 |
|
36 | 37 | <repositories> |
37 | | - <repository> |
38 | | - <id>ossrh</id> |
39 | | - <name>CentralRepository</name> |
40 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
41 | | - <layout>default</layout> |
42 | | - <snapshots> |
43 | | - <enabled>true</enabled> |
44 | | - </snapshots> |
45 | | - </repository> |
| 38 | + <repository> |
| 39 | + <id>ossrh-central</id> |
| 40 | + <name>MavenCentralRepository</name> |
| 41 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
| 42 | + <layout>default</layout> |
| 43 | + <snapshots> |
| 44 | + <enabled>true</enabled> |
| 45 | + </snapshots> |
| 46 | + </repository> |
46 | 47 | <repository> |
47 | 48 | <id>central</id> |
48 | 49 | <name>MavenCentral</name> |
|
53 | 54 | </snapshots> |
54 | 55 | </repository> |
55 | 56 | </repositories> |
56 | | - |
57 | | -<distributionManagement> |
| 57 | + |
| 58 | + <distributionManagement> |
58 | 59 | <snapshotRepository> |
59 | | - <id>ossrh</id> |
60 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
61 | | - </snapshotRepository> |
62 | | - <repository> |
63 | | - <id>ossrh</id> |
64 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
65 | | - </repository> |
66 | | - </distributionManagement> |
| 60 | + <id>ossrh</id> |
| 61 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 62 | + </snapshotRepository> |
| 63 | + <repository> |
| 64 | + <id>ossrh</id> |
| 65 | + <url>https://central.sonatype.com/api/v1/publisher</url> |
| 66 | + </repository> |
| 67 | + </distributionManagement> |
67 | 68 | <build> |
68 | 69 | <plugins> |
69 | 70 | <plugin> |
|
170 | 171 | </execution> |
171 | 172 | </executions> |
172 | 173 | </plugin> |
173 | | - <plugin> |
174 | | - <groupId>org.sonatype.plugins</groupId> |
175 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
176 | | - <version>1.6.14</version> |
177 | | - <extensions>true</extensions> |
178 | | - <executions> |
179 | | - <execution> |
180 | | - <id>default-deploy</id> |
181 | | - <phase>deploy</phase> |
182 | | - <goals> |
183 | | - <goal>deploy</goal> |
184 | | - </goals> |
185 | | - </execution> |
186 | | - </executions> |
187 | | - <configuration> |
188 | | - <serverId>ossrh</serverId> |
189 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
190 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
191 | | - </configuration> |
192 | | - </plugin> |
193 | | - |
| 174 | + <plugin> |
| 175 | + <groupId>org.sonatype.central</groupId> |
| 176 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 177 | + <version>${central.publishing.maven.plugin.version}</version> |
| 178 | + <extensions>true</extensions> |
| 179 | + <configuration> |
| 180 | + <publishingServerId>ossrh</publishingServerId> |
| 181 | + <autoPublish>false</autoPublish> |
| 182 | + </configuration> |
| 183 | + </plugin> |
194 | 184 | <plugin> |
195 | 185 | <groupId>org.apache.maven.plugins</groupId> |
196 | 186 | <artifactId>maven-source-plugin</artifactId> |
|
0 commit comments