Skip to content

Commit

Permalink
chore: Maven release plugin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
deki committed May 19, 2023
1 parent 5fb45c1 commit 482a362
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<releaseProfiles>serverless-java-container-release</releaseProfiles>
<preparationGoals>clean verify install</preparationGoals>
<localCheckout>true</localCheckout>
<scmCommentPrefix>chore: release - </scmCommentPrefix>
Expand Down Expand Up @@ -285,13 +286,7 @@

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<id>serverless-java-container-release</id>
<build>
<plugins>
<plugin>
Expand All @@ -308,6 +303,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 482a362

Please sign in to comment.