Skip to content

Commit 482a362

Browse files
committed
chore: Maven release plugin configuration
1 parent 5fb45c1 commit 482a362

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

pom.xml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
<artifactId>maven-release-plugin</artifactId>
239239
<version>3.0.0</version>
240240
<configuration>
241+
<releaseProfiles>serverless-java-container-release</releaseProfiles>
241242
<preparationGoals>clean verify install</preparationGoals>
242243
<localCheckout>true</localCheckout>
243244
<scmCommentPrefix>chore: release - </scmCommentPrefix>
@@ -285,13 +286,7 @@
285286

286287
<profiles>
287288
<profile>
288-
<id>release-sign-artifacts</id>
289-
<activation>
290-
<property>
291-
<name>performRelease</name>
292-
<value>true</value>
293-
</property>
294-
</activation>
289+
<id>serverless-java-container-release</id>
295290
<build>
296291
<plugins>
297292
<plugin>
@@ -308,6 +303,31 @@
308303
</execution>
309304
</executions>
310305
</plugin>
306+
<plugin>
307+
<groupId>org.apache.maven.plugins</groupId>
308+
<artifactId>maven-javadoc-plugin</artifactId>
309+
<executions>
310+
<execution>
311+
<id>attach-javadocs</id>
312+
<goals>
313+
<goal>jar</goal>
314+
</goals>
315+
</execution>
316+
</executions>
317+
</plugin>
318+
<plugin>
319+
<groupId>org.apache.maven.plugins</groupId>
320+
<artifactId>maven-source-plugin</artifactId>
321+
<version>3.2.1</version>
322+
<executions>
323+
<execution>
324+
<id>attach-sources</id>
325+
<goals>
326+
<goal>jar-no-fork</goal>
327+
</goals>
328+
</execution>
329+
</executions>
330+
</plugin>
311331
</plugins>
312332
</build>
313333
</profile>

0 commit comments

Comments
 (0)