Skip to content

Commit 0f395d7

Browse files
committed
Deploy: add distributionManagement for direct deploy
1 parent 083b6de commit 0f395d7

File tree

2 files changed

+30
-9
lines changed

2 files changed

+30
-9
lines changed

openam-distribution/openam-distribution-kit/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
* Copyright 2011-2016 ForgeRock AS.
1616
* Portions Copyrighted 2016 Agile Digital Engineering
17+
* Portions copyright 2017-2025 3A Systems, LLC
1718
-->
1819
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1920
<modelVersion>4.0.0</modelVersion>
@@ -117,6 +118,14 @@
117118
</execution>
118119
</executions>
119120
</plugin>
121+
<plugin>
122+
<groupId>org.apache.maven.plugins</groupId>
123+
<artifactId>maven-deploy-plugin</artifactId>
124+
<configuration>
125+
<!-- very large for central -->
126+
<skip>true</skip>
127+
</configuration>
128+
</plugin>
120129
</plugins>
121130
</build>
122131

pom.xml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,15 @@
265265
</executions>
266266
</plugin>
267267
<plugin>
268-
<groupId>org.sonatype.central</groupId>
269-
<artifactId>central-publishing-maven-plugin</artifactId>
270-
<version>0.8.0</version>
271-
<extensions>true</extensions>
272-
<configuration>
273-
<publishingServerId>ossrh</publishingServerId>
274-
<autoPublish>true</autoPublish>
275-
<waitMaxTime>5400</waitMaxTime>
276-
</configuration>
268+
<groupId>org.sonatype.central</groupId>
269+
<artifactId>central-publishing-maven-plugin</artifactId>
270+
<version>0.8.0</version>
271+
<extensions>true</extensions>
272+
<configuration>
273+
<publishingServerId>ossrh</publishingServerId>
274+
<autoPublish>true</autoPublish>
275+
<waitMaxTime>5400</waitMaxTime>
276+
</configuration>
277277
</plugin>
278278
</plugins>
279279
</build>
@@ -402,6 +402,18 @@
402402
</snapshots>
403403
</pluginRepository>
404404
</pluginRepositories>
405+
<distributionManagement>
406+
<repository>
407+
<id>ossrh</id>
408+
<name>Central Portal Staging</name>
409+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
410+
</repository>
411+
<snapshotRepository>
412+
<id>ossrh</id>
413+
<name>Central Portal Snapshots</name>
414+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
415+
</snapshotRepository>
416+
</distributionManagement>
405417
<!-- Source Control -->
406418
<scm>
407419
<connection>scm:git:https://github.com/OpenIdentityPlatform/OpenAM.git</connection>

0 commit comments

Comments
 (0)