diff options
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r-- | hosted-tenant-base/pom.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml index 08648f47ce2..d99d9e73e76 100644 --- a/hosted-tenant-base/pom.xml +++ b/hosted-tenant-base/pom.xml @@ -298,6 +298,53 @@ <vespaVersion>${vespa.runtime.version}</vespaVersion> </properties> </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> <build> |