Skip to content

Commit 58be169

Browse files
authored
Merge pull request #900 from jeremiahjstacey/ossrh_updates
Ossrh Migration Support
2 parents a035387 + 985233f commit 58be169

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed
65 KB
Binary file not shown.
526 KB
Binary file not shown.

pom.xml

Lines changed: 15 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,16 @@
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+
<deploymentName>${project.name}-${project.version}</deploymentName>
435+
<publishingServerId>central</publishingServerId>
436+
</configuration>
437+
</plugin>
430438
<!-- Create SBOM -->
431439
<plugin>
432440
<groupId>org.cyclonedx</groupId>
@@ -515,12 +523,6 @@
515523
</configuration>
516524
</plugin>
517525

518-
<plugin>
519-
<groupId>org.apache.maven.plugins</groupId>
520-
<artifactId>maven-deploy-plugin</artifactId>
521-
<version>3.1.4</version>
522-
</plugin>
523-
524526
<plugin>
525527
<groupId>org.apache.maven.plugins</groupId>
526528
<artifactId>maven-eclipse-plugin</artifactId>

0 commit comments

Comments
 (0)