Skip to content

Commit

Permalink
POM changes for release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Mar 21, 2024
1 parent ee27db8 commit a644cfd
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@
<exec.plugin.version>3.0.0</exec.plugin.version>
<findbugs.plugin.version>3.0.5</findbugs.plugin.version>
<gmavenplus.plugin.version>1.13.1</gmavenplus.plugin.version>
<gpg.plugin.version>3.0.1</gpg.plugin.version>
<gpg.plugin.version>3.2.0</gpg.plugin.version>
<install.plugin.version>2.5.2</install.plugin.version>
<jar.plugin.version>3.2.0</jar.plugin.version>
<javadoc.plugin.version>3.3.0</javadoc.plugin.version>
<jboss.plugin.version>1.5.0</jboss.plugin.version>
<nexus.plugin.version>2.1</nexus.plugin.version>
<nexus.staging.plugin.version>1.6.13</nexus.staging.plugin.version>
<release.version>2.5.3</release.version>
<remote.resources.version>1.7.0</remote.resources.version>
<resources.plugin.version>3.2.0</resources.plugin.version>
Expand All @@ -105,11 +105,6 @@
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
</properties>

<prerequisites>
<maven>3.8</maven>
</prerequisites>


<!-- Configure the build -->
<build>
<plugins>
Expand Down Expand Up @@ -270,6 +265,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.plugin.version}</version>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<!-- This is true by default -->
<useAgent>${gpg.useAgent}</useAgent>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
Expand Down Expand Up @@ -396,11 +399,10 @@
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-maven-plugin</artifactId>
<version>${nexus.plugin.version}</version>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.plugin.version}</version>
<configuration>
<nexusUrl>https://repository.jboss.org/nexus</nexusUrl>
<serverAuthId>jboss-releases-repository</serverAuthId>
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -503,11 +505,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<!-- Without interactive=true, there is no prompt for pwd when running on gpg plugin 3.0.1 -->
<interactive>true</interactive>
<useAgent>${gpg.useAgent}</useAgent>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
Expand All @@ -520,11 +517,13 @@
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-maven-plugin</artifactId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<auto>true</auto>
<description>[nexus-maven-plugin] closing
repository after release:perform</description>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<serverId>oss.sonatype</serverId>
<!-- TODO should be eventually enabled, just commented out for testing pruposes -->
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit a644cfd

Please sign in to comment.