|
165 | 165 | </executions> |
166 | 166 | </plugin> |
167 | 167 | <plugin> |
168 | | - <groupId>org.sonatype.plugins</groupId> |
169 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
170 | | - <version>1.6.13</version> |
| 168 | + <groupId>org.sonatype.central</groupId> |
| 169 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 170 | + <version>0.8.0</version> |
171 | 171 | <extensions>true</extensions> |
172 | 172 | <configuration> |
173 | | - <serverId>ossrh</serverId> |
174 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
175 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
176 | | - <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
| 173 | + <publishingServerId>central</publishingServerId> |
| 174 | + <autoPublish>true</autoPublish> <!-- Optional --> |
177 | 175 | </configuration> |
178 | 176 | </plugin> |
| 177 | + |
| 178 | + |
179 | 179 | <plugin> |
180 | 180 | <groupId>org.apache.maven.plugins</groupId> |
181 | 181 | <artifactId>maven-gpg-plugin</artifactId> |
|
199 | 199 | </plugins> |
200 | 200 | </build> |
201 | 201 |
|
| 202 | + |
202 | 203 | <distributionManagement> |
203 | | - <snapshotRepository> |
204 | | - <id>ossrh</id> |
205 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
206 | | - </snapshotRepository> |
207 | 204 | <repository> |
208 | | - <id>ossrh</id> |
209 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 205 | + <id>central</id> |
| 206 | + <url>https://central.sonatype.com/api/v1/publish</url> |
210 | 207 | </repository> |
211 | 208 | </distributionManagement> |
212 | 209 |
|
| 210 | + |
213 | 211 | <licenses> |
214 | 212 | <license> |
215 | 213 | <name>MIT License</name> |
|
230 | 228 |
|
231 | 229 | <developers> |
232 | 230 | <developer> |
233 | | - <name>Jay Nanduri</name> |
234 | | - <email>jay.nanduri@checkmarx.com</email> |
| 231 | + <name>Rahul Pidde</name> |
| 232 | + <email>rahul.pidde@checkmarx.com</email> |
235 | 233 | <organization>Checkmarx</organization> |
236 | 234 | <organizationUrl>https://www.checkmarx.com/</organizationUrl> |
237 | 235 | </developer> |
|
0 commit comments