Skip to content

Commit

Permalink
release preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrohe committed Apr 3, 2024
1 parent f316090 commit 694f6a7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
40 changes: 38 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,13 @@

<distributionManagement>
<downloadUrl>https://github.com/zalando/spring-cloud-config-aws-kms</downloadUrl>
<!--
<repository>
<id>github</id>
<name> GitHub Packages</name>
<url>https://maven.pkg.github.com/zalando/spring-cloud-config-aws-kms</url>
</repository>
<!--
-->
<repository>
<id>ossrh</id>
<name>Nexus Release Repository</name>
Expand All @@ -75,7 +76,6 @@
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
-->
<site>
<id>zalando-cloud-aws-docs</id>
<url>https://github.com/zalando/spring-cloud-config-aws-kms</url>
Expand Down Expand Up @@ -113,4 +113,40 @@
</license>
</licenses>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.2</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>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 694f6a7

Please sign in to comment.