-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move gpg plugin management and execution for the release profile unde…
…r parent/pom.xml Move nexus plugin extension for the release profile under parent/pom.xml Move the staging profile under parent/pom.xml Added missing snapshot repository under distribution management in parent/pom.xml
- Loading branch information
Showing
3 changed files
with
69 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,9 +52,14 @@ | |
</scm> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh-snapshots</id> | ||
<name>Helidon Snapshot Repository</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<name>Internal Helidon Release Repository</name> | ||
<name>Helidon Release Repository</name> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
@@ -105,11 +110,17 @@ | |
<email>[email protected]</email> | ||
<organization>Oracle Corporation</organization> | ||
</developer> | ||
<developer> | ||
<name>David Kral</name> | ||
<email>[email protected]</email> | ||
<organization>Oracle Corporation</organization> | ||
</developer> | ||
</developers> | ||
|
||
<properties> | ||
<version.plugin.clean>3.1.0</version.plugin.clean> | ||
<version.plugin.deploy>2.8.2</version.plugin.deploy> | ||
<version.plugin.gpg>1.6</version.plugin.gpg> | ||
<version.plugin.install>3.0.0-M1</version.plugin.install> | ||
<version.plugin.nexus-staging>1.6.7</version.plugin.nexus-staging> | ||
</properties> | ||
|
@@ -132,6 +143,11 @@ | |
<artifactId>maven-install-plugin</artifactId> | ||
<version>${version.plugin.install}</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>${version.plugin.gpg}</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
|
@@ -147,4 +163,53 @@ | |
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>staging</id> | ||
<repositories> | ||
<repository> | ||
<id>ossrh-staging</id> | ||
<url>https://oss.sonatype.org/content/repositories/staging/</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>ossrh-staging</id> | ||
<url>https://oss.sonatype.org/content/repositories/staging/</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters