diff options
author | Arnstein Ressem <aressem@gmail.com> | 2023-07-28 12:01:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 12:01:48 +0200 |
commit | 8f614dc9cf04142f20002c0dcd2667ec0684cd70 (patch) | |
tree | 8b159014ba01f3a8ef3393e6066cd02ac58c46ca /dependency-versions | |
parent | 4326db8aae26fb03623d611aeb4102b371dc4eae (diff) |
Revert "Revert "Remove oss release workaround.""
Diffstat (limited to 'dependency-versions')
-rw-r--r-- | dependency-versions/pom.xml | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/dependency-versions/pom.xml b/dependency-versions/pom.xml index 088356dd685..81bd836dc28 100644 --- a/dependency-versions/pom.xml +++ b/dependency-versions/pom.xml @@ -28,7 +28,6 @@ </scm> <properties> - <!-- BEGIN Dependencies available from the Jdisc container, see container-dependency-versions/pom.xml --> <!-- DO NOT UPGRADE THESE TO A NEW MAJOR VERSION WITHOUT CHECKING FOR BINARY COMPATIBILITY --> @@ -139,4 +138,58 @@ <versions-maven-plugin.vespa.version>2.8.1</versions-maven-plugin.vespa.version> </properties> + <profiles> + <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> + <configuration> + <gpgArguments> + <arg>--pinentry-mode</arg> + <arg>loopback</arg> + </gpgArguments> + </configuration> + </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> + </configuration> + </plugin> + </plugins> + </build> + <distributionManagement> + <snapshotRepository> + <id>ossrh</id> + <url>${snapshotDeploymentRepository}</url> + </snapshotRepository> + <repository> + <id>ossrh</id> + <url>${releaseDeploymentRepository}</url> + </repository> + </distributionManagement> + </profile> + </profiles> </project> |