Skip to content

Commit 1e17b2b

Browse files
committed
Add signing in sub module
1 parent 7b3b36f commit 1e17b2b

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

astra-db-java/pom.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>astra-db-java</artifactId>
55
<name>Data API Client Java</name>
6+
<packaging>jar</packaging>
67
<description>Implementation of a client to the Astra/Stargate Data API written in Java</description>
78

89
<!-- Reference to parent -->
@@ -136,6 +137,53 @@
136137
</execution>
137138
</executions>
138139
</plugin>
140+
141+
<!-- Signing -->
142+
<plugin>
143+
<groupId>org.apache.maven.plugins</groupId>
144+
<artifactId>maven-gpg-plugin</artifactId>
145+
<version>${version.maven.plugin.gpg}</version>
146+
<executions>
147+
<execution>
148+
<id>sign-artifacts</id>
149+
<phase>verify</phase>
150+
<goals>
151+
<goal>sign</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
157+
<!-- Sources JAR -->
158+
<plugin>
159+
<groupId>org.apache.maven.plugins</groupId>
160+
<artifactId>maven-source-plugin</artifactId>
161+
<version>${version.maven.plugin.source}</version>
162+
<executions>
163+
<execution>
164+
<id>attach-sources</id>
165+
<goals>
166+
<goal>jar</goal>
167+
</goals>
168+
</execution>
169+
</executions>
170+
</plugin>
171+
172+
<!-- Javadoc JAR -->
173+
<plugin>
174+
<groupId>org.apache.maven.plugins</groupId>
175+
<artifactId>maven-javadoc-plugin</artifactId>
176+
<version>${version.maven.plugin.javadoc}</version>
177+
<executions>
178+
<execution>
179+
<id>attach-javadocs</id>
180+
<goals>
181+
<goal>jar</goal>
182+
</goals>
183+
</execution>
184+
</executions>
185+
</plugin>
186+
139187
</plugins>
140188
</build>
141189

0 commit comments

Comments
 (0)