Skip to content

Commit beb2289

Browse files
committed
update pom.xml
1 parent fda9688 commit beb2289

File tree

1 file changed

+77
-2
lines changed

1 file changed

+77
-2
lines changed

Diff for: pom.xml

+77-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<artifactId>tools-parent</artifactId>
2828
<packaging>pom</packaging>
2929
<version>1.0.0</version>
30-
<name>XiPKI tools :: ${project.artifactId}</name>
31-
<description>XiPKI Tools Parent</description>
30+
<name>XiPKI Tools :: ${project.artifactId}</name>
31+
<description>XiPKI tools parent</description>
3232
<url>http://xipki.org</url>
3333
<licenses>
3434
<license>
@@ -140,6 +140,10 @@
140140
<artifactId>buildnumber-maven-plugin</artifactId>
141141
<version>1.4</version>
142142
</plugin>
143+
<plugin>
144+
<artifactId>maven-assembly-plugin</artifactId>
145+
<version>3.1.0</version>
146+
</plugin>
143147
<plugin>
144148
<groupId>org.apache.felix</groupId>
145149
<artifactId>maven-bundle-plugin</artifactId>
@@ -153,6 +157,10 @@
153157
<artifactId>maven-compiler-plugin</artifactId>
154158
<version>3.7.0</version>
155159
</plugin>
160+
<plugin>
161+
<artifactId>maven-dependency-plugin</artifactId>
162+
<version>3.1.0</version>
163+
</plugin>
156164
<plugin>
157165
<artifactId>maven-deploy-plugin</artifactId>
158166
<version>2.8.2</version>
@@ -229,6 +237,60 @@
229237
</pluginManagement>
230238
</build>
231239
<profiles>
240+
<profile>
241+
<id>release</id>
242+
<activation>
243+
<activeByDefault>false</activeByDefault>
244+
</activation>
245+
<build>
246+
<plugins>
247+
<plugin>
248+
<groupId>org.apache.maven.plugins</groupId>
249+
<artifactId>maven-gpg-plugin</artifactId>
250+
<executions>
251+
<execution>
252+
<id>sign-artifacts</id>
253+
<phase>verify</phase>
254+
<goals>
255+
<goal>sign</goal>
256+
</goals>
257+
</execution>
258+
</executions>
259+
</plugin>
260+
<plugin>
261+
<groupId>org.sonatype.plugins</groupId>
262+
<artifactId>nexus-staging-maven-plugin</artifactId>
263+
<version>1.6.8</version>
264+
<extensions>true</extensions>
265+
<configuration>
266+
<serverId>ossrh</serverId>
267+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
268+
<!-- If autoReleaseAfterClose is set to false,
269+
call "mvn nexus-staging:release -Prelease" to trige a release of the staging
270+
repository, or nexus-staging:drop to drop the staging repositoy-->
271+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
272+
</configuration>
273+
</plugin>
274+
<plugin>
275+
<groupId>org.apache.maven.plugins</groupId>
276+
<artifactId>maven-javadoc-plugin</artifactId>
277+
<version>3.0.0</version>
278+
<configuration>
279+
<failOnError>true</failOnError>
280+
<excludePackageNames>*.jaxb*</excludePackageNames>
281+
</configuration>
282+
<executions>
283+
<execution>
284+
<id>attach-javadocs</id>
285+
<goals>
286+
<goal>jar</goal>
287+
</goals>
288+
</execution>
289+
</executions>
290+
</plugin>
291+
</plugins>
292+
</build>
293+
</profile>
232294
<profile>
233295
<id>only-eclipse</id>
234296
<activation>
@@ -259,6 +321,19 @@
259321
<ignore/>
260322
</action>
261323
</pluginExecution>
324+
<pluginExecution>
325+
<pluginExecutionFilter>
326+
<groupId>org.apache.maven.plugins</groupId>
327+
<artifactId>maven-dependency-plugin</artifactId>
328+
<versionRange>[3.0.0,)</versionRange>
329+
<goals>
330+
<goal>unpack</goal>
331+
</goals>
332+
</pluginExecutionFilter>
333+
<action>
334+
<ignore/>
335+
</action>
336+
</pluginExecution>
262337
</pluginExecutions>
263338
</lifecycleMappingMetadata>
264339
</configuration>

0 commit comments

Comments
 (0)