Skip to content

Commit 980f2de

Browse files
Merge pull request #425 from CheckmarxDev/Other/Fix-Vulnerable-AST-105531
Updated pom.xml for market place
2 parents 591c3c6 + f3d9e3f commit 980f2de

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

pom.xml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@
165165
</executions>
166166
</plugin>
167167
<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>
171171
<extensions>true</extensions>
172172
<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 -->
177175
</configuration>
178176
</plugin>
177+
178+
179179
<plugin>
180180
<groupId>org.apache.maven.plugins</groupId>
181181
<artifactId>maven-gpg-plugin</artifactId>
@@ -199,17 +199,15 @@
199199
</plugins>
200200
</build>
201201

202+
202203
<distributionManagement>
203-
<snapshotRepository>
204-
<id>ossrh</id>
205-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
206-
</snapshotRepository>
207204
<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>
210207
</repository>
211208
</distributionManagement>
212209

210+
213211
<licenses>
214212
<license>
215213
<name>MIT License</name>
@@ -230,8 +228,8 @@
230228

231229
<developers>
232230
<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>
235233
<organization>Checkmarx</organization>
236234
<organizationUrl>https://www.checkmarx.com/</organizationUrl>
237235
</developer>

0 commit comments

Comments
 (0)