|
27 | 27 | <artifactId>tools-parent</artifactId>
|
28 | 28 | <packaging>pom</packaging>
|
29 | 29 | <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> |
32 | 32 | <url>http://xipki.org</url>
|
33 | 33 | <licenses>
|
34 | 34 | <license>
|
|
140 | 140 | <artifactId>buildnumber-maven-plugin</artifactId>
|
141 | 141 | <version>1.4</version>
|
142 | 142 | </plugin>
|
| 143 | + <plugin> |
| 144 | + <artifactId>maven-assembly-plugin</artifactId> |
| 145 | + <version>3.1.0</version> |
| 146 | + </plugin> |
143 | 147 | <plugin>
|
144 | 148 | <groupId>org.apache.felix</groupId>
|
145 | 149 | <artifactId>maven-bundle-plugin</artifactId>
|
|
153 | 157 | <artifactId>maven-compiler-plugin</artifactId>
|
154 | 158 | <version>3.7.0</version>
|
155 | 159 | </plugin>
|
| 160 | + <plugin> |
| 161 | + <artifactId>maven-dependency-plugin</artifactId> |
| 162 | + <version>3.1.0</version> |
| 163 | + </plugin> |
156 | 164 | <plugin>
|
157 | 165 | <artifactId>maven-deploy-plugin</artifactId>
|
158 | 166 | <version>2.8.2</version>
|
|
229 | 237 | </pluginManagement>
|
230 | 238 | </build>
|
231 | 239 | <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> |
232 | 294 | <profile>
|
233 | 295 | <id>only-eclipse</id>
|
234 | 296 | <activation>
|
|
259 | 321 | <ignore/>
|
260 | 322 | </action>
|
261 | 323 | </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> |
262 | 337 | </pluginExecutions>
|
263 | 338 | </lifecycleMappingMetadata>
|
264 | 339 | </configuration>
|
|
0 commit comments