File tree Expand file tree Collapse file tree 2 files changed +69
-1
lines changed Expand file tree Collapse file tree 2 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ This client library is released on Maven Central. Add a new dependency to your
1212<dependency >
1313 <groupId >org.sourcelab</groupId >
1414 <artifactId >java-hkp-client</artifactId >
15- <version >3 .1.0</version >
15+ <version >0 .1.0</version >
1616</dependency >
1717```
1818
Original file line number Diff line number Diff line change 239239 </pluginManagement >
240240 </build >
241241
242+ <!-- For deploying to maven central -->
243+ <distributionManagement >
244+ <!-- Snapshot repository -->
245+ <snapshotRepository >
246+ <id >ossrh</id >
247+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
248+ </snapshotRepository >
249+ </distributionManagement >
250+
251+ <!-- release profile for deploying -->
252+ <profiles >
253+ <profile >
254+ <id >release</id >
255+ <build >
256+ <plugins >
257+ <!-- Build Sources Jar -->
258+ <plugin >
259+ <groupId >org.apache.maven.plugins</groupId >
260+ <artifactId >maven-source-plugin</artifactId >
261+ <version >3.2.1</version >
262+ <executions >
263+ <execution >
264+ <id >attach-sources</id >
265+ <goals >
266+ <goal >jar</goal >
267+ </goals >
268+ </execution >
269+ </executions >
270+ </plugin >
271+
272+ <!-- Build Javadoc Jar -->
273+ <plugin >
274+ <groupId >org.apache.maven.plugins</groupId >
275+ <artifactId >maven-javadoc-plugin</artifactId >
276+ <version >3.2.0</version >
277+ <executions >
278+ <execution >
279+ <id >attach-javadocs</id >
280+ <goals >
281+ <goal >jar</goal >
282+ </goals >
283+ </execution >
284+ </executions >
285+ </plugin >
286+
287+ <!-- GPG Signing of Artifacts -->
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+ <configuration >
300+ <keyname >SourceLab.org</keyname >
301+ </configuration >
302+ </execution >
303+ </executions >
304+ </plugin >
305+ </plugins >
306+ </build >
307+ </profile >
308+ </profiles >
309+
242310</project >
You can’t perform that action at this time.
0 commit comments