aboutsummaryrefslogtreecommitdiffstats
path: root/container-dependency-versions
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2021-09-28 13:52:18 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2021-09-28 13:52:18 +0200
commitd629b53a3abc474d93a72ae0bb6803ee66b37061 (patch)
treeb655c19a53f5d53230b1338dd1121da988c037db /container-dependency-versions
parent05f118fcca1dad818960248a4fe24c76f33f4bbb (diff)
Make it possible to deploy on Maven Central with maven.
Diffstat (limited to 'container-dependency-versions')
-rw-r--r--container-dependency-versions/pom.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/container-dependency-versions/pom.xml b/container-dependency-versions/pom.xml
index 30af057b119..daade359e28 100644
--- a/container-dependency-versions/pom.xml
+++ b/container-dependency-versions/pom.xml
@@ -352,6 +352,53 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>ossrh-deploy-vespa</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>${maven.gpg.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>${nexus.staging.maven.plugin.version}</version>
+ <extensions>true</extensions>
+ <configuration>
+ <serverId>ossrh</serverId>
+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>ossrh</id>
+ <url>${snapshotDeploymentRepository}</url>
+ </snapshotRepository>
+ <repository>
+ <id>ossrh</id>
+ <url>${releaseDeploymentRepository}</url>
+ </repository>
+ </distributionManagement>
+ </profile>
</profiles>
<properties>