Skip to content

Commit 4cb9bdd

Browse files
committed
Add signing plugin - prepare for relase
1 parent f80343d commit 4cb9bdd

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

cdt-java-client/pom.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,35 @@
220220
</execution>
221221
</executions>
222222
</plugin>
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-source-plugin</artifactId>
226+
<version>3.0.1</version>
227+
<executions>
228+
<execution>
229+
<id>attach-sources</id>
230+
<goals>
231+
<goal>jar-no-fork</goal>
232+
</goals>
233+
</execution>
234+
</executions>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.apache.maven.plugins</groupId>
238+
<artifactId>maven-javadoc-plugin</artifactId>
239+
<version>3.0.0</version>
240+
<executions>
241+
<execution>
242+
<id>attach-javadocs</id>
243+
<goals>
244+
<goal>jar</goal>
245+
</goals>
246+
<configuration>
247+
<doclint>none</doclint>
248+
</configuration>
249+
</execution>
250+
</executions>
251+
</plugin>
223252
<plugin>
224253
<groupId>org.apache.maven.plugins</groupId>
225254
<artifactId>maven-surefire-plugin</artifactId>
@@ -256,6 +285,20 @@
256285
</execution>
257286
</executions>
258287
</plugin>
288+
<plugin>
289+
<groupId>org.apache.maven.plugins</groupId>
290+
<artifactId>maven-gpg-plugin</artifactId>
291+
<version>1.6</version>
292+
<executions>
293+
<execution>
294+
<id>sign-artifacts</id>
295+
<phase>verify</phase>
296+
<goals>
297+
<goal>sign</goal>
298+
</goals>
299+
</execution>
300+
</executions>
301+
</plugin>
259302
</plugins>
260303
</build>
261304
</project>

0 commit comments

Comments
 (0)