Skip to content

Commit 57227dd

Browse files
Applying pom changes required for OSSRH Migration.
1 parent a035387 commit 57227dd

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

pom.xml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
<packaging>jar</packaging>
88

99
<distributionManagement>
10-
<snapshotRepository>
11-
<id>sonatype-nexus-snapshots</id>
12-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
13-
</snapshotRepository>
14-
<repository>
15-
<id>sonatype-nexus-staging</id>
16-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
10+
<repository>
11+
<id>central</id>
12+
<url>https://central.sonatype.org/publish/publish-portal-maven/</url>
1713
</repository>
14+
<!-- You can pick up the ESAPI configuration jars here, under the Assets section of each release. -->
15+
<downloadUrl>https://github.com/ESAPI/esapi-java-legacy/releases</downloadUrl>
1816
</distributionManagement>
1917

2018
<licenses>
@@ -427,6 +425,15 @@
427425
</pluginManagement>
428426

429427
<plugins>
428+
<plugin>
429+
<groupId>org.sonatype.central</groupId>
430+
<artifactId>central-publishing-maven-plugin</artifactId>
431+
<version>0.9.0</version>
432+
<extensions>true</extensions>
433+
<configuration>
434+
<publishingServerId>central</publishingServerId>
435+
</configuration>
436+
</plugin>
430437
<!-- Create SBOM -->
431438
<plugin>
432439
<groupId>org.cyclonedx</groupId>
@@ -515,12 +522,6 @@
515522
</configuration>
516523
</plugin>
517524

518-
<plugin>
519-
<groupId>org.apache.maven.plugins</groupId>
520-
<artifactId>maven-deploy-plugin</artifactId>
521-
<version>3.1.4</version>
522-
</plugin>
523-
524525
<plugin>
525526
<groupId>org.apache.maven.plugins</groupId>
526527
<artifactId>maven-eclipse-plugin</artifactId>

0 commit comments

Comments
 (0)