update props to latest version
[maven-build-process.git] / maven-parents / maven-parents-java / pom.xml
blobb69339f5623257798d0dbb1eae453846ebac1a6b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
4     This file is part of maven-build-process. It is subject to the license terms in the LICENSE file found in the top-level
5     directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of maven-build-process,
6     including this file, may be copied, modified, propagated, or distributed except according to the terms contained
7     in the LICENSE file.
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
13   <!-- ordering follows https://maven.apache.org/developers/conventions/code.html#POM_Code_Convention -->
15   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
16   <!--                                 PARENT                                  -->
17   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
18   <!-- https://maven.apache.org/pom.html#Inheritance -->
19   <parent>
20     <groupId>de.xn--ho-hia.maven.parents</groupId>
21     <artifactId>maven-parents</artifactId>
22     <version>9999.99.99-SNAPSHOT</version>
23   </parent>
25   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26   <!--                               COORDINATES                               -->
27   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28   <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
29   <artifactId>maven-parents-java</artifactId>
30   <packaging>pom</packaging>
32   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
33   <!--                               INFORMATIONS                              -->
34   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
35   <!-- https://maven.apache.org/pom.html#More_Project_Information -->
36   <name>Maven Parents :: Java</name>
37   <description>Base Java parent POM</description>
39   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
40   <!--                                 MODULES                                 -->
41   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
42   <!-- https://maven.apache.org/pom.html#Aggregation -->
43   <modules>
44     <module>maven-parents-java-prototype</module>
45     <module>maven-parents-java-stable</module>
46   </modules>
48   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
49   <!--                                PROPERTIES                               -->
50   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
51   <properties>
52     <version.jdk>1.8</version.jdk>
54     <jacoco.lineCoverage>1.00000</jacoco.lineCoverage>
55     <jacoco.skip>false</jacoco.skip>
56     <pit.mutationCoverage>100</pit.mutationCoverage>
57     <pit.threads>8</pit.threads>
58     <pit.skip>false</pit.skip>
59     <pmd.minimumTokens>50</pmd.minimumTokens>
60     <pmd.failurePriority>0</pmd.failurePriority>
61     <pmd.skip>false</pmd.skip>
62     <findbugs.skip>false</findbugs.skip>
63     <findbugs.effort>Max</findbugs.effort>
64     <findbugs.threshold>Low</findbugs.threshold>
65     <failBuildOnDuplicates>true</failBuildOnDuplicates>
66     <failBuildOnDependencyVersionProblem>true</failBuildOnDependencyVersionProblem>
67     <failBuildOnDependencyProblem>true</failBuildOnDependencyProblem>
69     <version.m-pmd-p>3.8</version.m-pmd-p>
70     <version.m-javadoc-p>3.0.0-M1</version.m-javadoc-p>
71     <version.m-dependency-p>2.10</version.m-dependency-p>
72     <version.m-dependency-versions-check-p>2.0.4</version.m-dependency-versions-check-p>
73     <version.m-remote-resources-p>1.5</version.m-remote-resources-p>
74     <version.m-jar-p>3.0.2</version.m-jar-p>
75     <version.m-compiler-p>3.7.0</version.m-compiler-p>
76     <version.m-source-p>3.0.1</version.m-source-p>
77     <version.bnd-m-p>3.5.0</version.bnd-m-p>
78     <version.findbugs-m-p>3.0.5</version.findbugs-m-p>
79     <version.pittest-m-p>1.2.5</version.pittest-m-p>
80     <version.duplicate-finder-m-p>1.2.1</version.duplicate-finder-m-p>
81     <version.jacoco-m-p>0.7.9</version.jacoco-m-p>
82     <version.m-surefire-report-p>2.19.1</version.m-surefire-report-p>
83     <version.dependency-check-m>3.0.2</version.dependency-check-m>
84     <version.m-dependency-p>3.0.2</version.m-dependency-p>
85     <version.flatten-m-p>1.0.1</version.flatten-m-p>
87     <version.tycho-compiler-jdt>1.0.0</version.tycho-compiler-jdt>
88   </properties>
90   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
91   <!--                            DEPENDENCY MANAGEMENT                        -->
92   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
93   <!-- https://maven.apache.org/pom.html#Dependency_Management -->
94   <dependencyManagement>
95     <dependencies>
96       <dependency>
97         <groupId>de.xn--ho-hia.maven.boms</groupId>
98         <artifactId>maven-boms-all</artifactId>
99         <version>9999.99.99-SNAPSHOT</version>
100         <type>pom</type>
101         <scope>import</scope>
102       </dependency>
103     </dependencies>
104   </dependencyManagement>
106   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
107   <!--                                DEPENDENCIES                             -->
108   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
109   <!-- https://maven.apache.org/pom.html#Dependencies -->
110   <dependencies>
111     <dependency>
112       <groupId>org.eclipse.jdt</groupId>
113       <artifactId>org.eclipse.jdt.annotation</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>junit</groupId>
117       <artifactId>junit</artifactId>
118       <scope>test</scope>
119     </dependency>
120   </dependencies>
122   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
123   <!--                                   BUILD                                 -->
124   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
125   <!-- https://maven.apache.org/pom.html#Build -->
126   <build>
127     <pluginManagement>
128       <plugins>
129         <plugin>
130           <!-- https://maven.apache.org/plugins/maven-source-plugin/ -->
131           <groupId>org.apache.maven.plugins</groupId>
132           <artifactId>maven-source-plugin</artifactId>
133           <version>${version.m-source-p}</version>
134           <configuration>
135             <!-- https://maven.apache.org/plugins/maven-source-plugin/jar-no-fork-mojo.html#archive -->
136             <archive>
137               <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
138             </archive>
139           </configuration>
140           <executions>
141             <execution>
142               <id>attach-sources</id>
143               <phase>verify</phase>
144               <goals>
145                 <!-- https://maven.apache.org/plugins/maven-source-plugin/jar-no-fork-mojo.html -->
146                 <goal>jar-no-fork</goal>
147               </goals>
148             </execution>
149           </executions>
150         </plugin>
152         <plugin>
153           <!-- https://maven.apache.org/plugins/maven-javadoc-plugin/ -->
154           <groupId>org.apache.maven.plugins</groupId>
155           <artifactId>maven-javadoc-plugin</artifactId>
156           <version>${version.m-javadoc-p}</version>
157           <configuration>
158             <!-- https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html#archive -->
159             <archive>
160               <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
161             </archive>
162           </configuration>
163           <executions>
164             <execution>
165               <id>attach-javadocs</id>
166               <goals>
167                 <!-- https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html -->
168                 <goal>jar</goal>
169               </goals>
170             </execution>
171           </executions>
172         </plugin>
174         <plugin>
175           <!-- https://github.com/bndtools/bnd/blob/master/maven/bnd-maven-plugin/README.md -->
176           <groupId>biz.aQute.bnd</groupId>
177           <artifactId>bnd-maven-plugin</artifactId>
178           <version>${version.bnd-m-p}</version>
179           <executions>
180             <execution>
181               <goals>
182                 <goal>bnd-process</goal>
183               </goals>
184             </execution>
185           </executions>
186         </plugin>
188         <plugin>
189           <!-- https://maven.apache.org/plugins/maven-compiler-plugin/ -->
190           <groupId>org.apache.maven.plugins</groupId>
191           <artifactId>maven-compiler-plugin</artifactId>
192           <version>${version.m-compiler-p}</version>
193           <configuration>
194             <!-- https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source -->
195             <source>${version.jdk}</source>
196             <!-- https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#target -->
197             <target>${version.jdk}</target>
198             <!-- https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerId -->
199             <compilerId>jdt</compilerId>
200             <!-- https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerArguments -->
201             <compilerArguments>
202               <!-- https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javac.html -->
203               <parameters />
204               <!-- https://wiki.eclipse.org/Tycho/FAQ#How_to_configure_warning.2Ferror_settings_of_the_OSGi_compiler.3F -->
205               <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
206             </compilerArguments>
207           </configuration>
208           <dependencies>
209             <!-- This dependency provides the implementation of compiler "jdt" -->
210             <dependency>
211               <!-- https://eclipse.org/tycho/sitedocs/ -->
212               <groupId>org.eclipse.tycho</groupId>
213               <artifactId>tycho-compiler-jdt</artifactId>
214               <version>${version.tycho-compiler-jdt}</version>
215             </dependency>
216           </dependencies>
217         </plugin>
219         <plugin>
220           <!-- https://maven.apache.org/plugins/maven-jar-plugin/ -->
221           <groupId>org.apache.maven.plugins</groupId>
222           <artifactId>maven-jar-plugin</artifactId>
223           <version>${version.m-jar-p}</version>
224           <configuration>
225             <!-- https://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#archive -->
226             <archive>
227               <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
228             </archive>
229           </configuration>
230         </plugin>
232         <plugin>
233           <!-- http://gleclaire.github.io/findbugs-maven-plugin/ -->
234           <groupId>org.codehaus.mojo</groupId>
235           <artifactId>findbugs-maven-plugin</artifactId>
236           <version>${version.findbugs-m-p}</version>
237           <configuration>
238             <!-- http://gleclaire.github.io/findbugs-maven-plugin/check-mojo.html#effort -->
239             <effort>${findbugs.effort}</effort>
240             <!-- http://gleclaire.github.io/findbugs-maven-plugin/check-mojo.html#threshold -->
241             <threshold>${findbugs.threshold}</threshold>
242             <!-- http://gleclaire.github.io/findbugs-maven-plugin/check-mojo.html#skip -->
243             <skip>${findbugs.skip}</skip>
244           </configuration>
245           <executions>
246             <execution>
247               <goals>
248                 <!-- http://gleclaire.github.io/findbugs-maven-plugin/check-mojo.html -->
249                 <goal>check</goal>
250               </goals>
251             </execution>
252           </executions>
253         </plugin>
255         <plugin>
256           <!-- https://maven.apache.org/plugins/maven-pmd-plugin/ -->
257           <groupId>org.apache.maven.plugins</groupId>
258           <artifactId>maven-pmd-plugin</artifactId>
259           <version>${version.m-pmd-p}</version>
260           <configuration>
261             <!-- https://maven.apache.org/plugins/maven-pmd-plugin/check-mojo.html#failurePriority -->
262             <failurePriority>${pmd.failurePriority}</failurePriority>
263             <!-- https://maven.apache.org/plugins/maven-pmd-plugin/cpd-mojo.html#minimumTokens -->
264             <minimumTokens>${pmd.minimumTokens}</minimumTokens>
265             <!-- https://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#targetJdk -->
266             <targetJdk>${version.jdk}</targetJdk>
267             <!-- https://maven.apache.org/plugins/maven-pmd-plugin/check-mojo.html#skip -->
268             <!-- https://maven.apache.org/plugins/maven-pmd-plugin/cpd-check-mojo.html#skip -->
269             <skip>${pmd.skip}</skip>
270           </configuration>
271           <executions>
272             <execution>
273               <goals>
274                 <!-- https://maven.apache.org/plugins/maven-pmd-plugin/check-mojo.html -->
275                 <goal>check</goal>
276                 <!-- https://maven.apache.org/plugins/maven-pmd-plugin/cpd-check-mojo.html -->
277                 <goal>cpd-check</goal>
278               </goals>
279             </execution>
280           </executions>
281         </plugin>
283         <plugin>
284           <!-- http://eclemma.org/jacoco/trunk/doc/maven.html -->
285           <groupId>org.jacoco</groupId>
286           <artifactId>jacoco-maven-plugin</artifactId>
287           <version>${version.jacoco-m-p}</version>
288           <configuration>
289             <skip>${jacoco.skip}</skip>
290           </configuration>
291           <executions>
292             <execution>
293               <id>prepare-coverage-agent</id>
294               <goals>
295                 <!-- http://eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html -->
296                 <goal>prepare-agent</goal>
297               </goals>
298             </execution>
299             <execution>
300               <id>check-coverage</id>
301               <goals>
302                 <!-- http://eclemma.org/jacoco/trunk/doc/check-mojo.html -->
303                 <goal>check</goal>
304               </goals>
305               <configuration>
306                 <!-- http://eclemma.org/jacoco/trunk/doc/check-mojo.html#rules -->
307                 <rules>
308                   <rule>
309                     <element>CLASS</element>
310                     <excludes>
311                       <exclude>*Test</exclude>
312                     </excludes>
313                     <limits>
314                       <limit>
315                         <counter>LINE</counter>
316                         <value>COVEREDRATIO</value>
317                         <minimum>${jacoco.lineCoverage}</minimum>
318                       </limit>
319                     </limits>
320                   </rule>
321                 </rules>
322               </configuration>
323             </execution>
324           </executions>
325         </plugin>
327         <plugin>
328           <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/ -->
329           <groupId>org.apache.maven.plugins</groupId>
330           <artifactId>maven-remote-resources-plugin</artifactId>
331           <version>${version.m-remote-resources-p}</version>
332           <executions>
333             <execution>
334               <id>jdt-settings</id>
335               <goals>
336                 <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html -->
337                 <goal>process</goal>
338               </goals>
339               <configuration>
340                 <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html#attachToMain -->
341                 <attachToMain>false</attachToMain>
342                 <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html#attachToTest -->
343                 <attachToTest>false</attachToTest>
344                 <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html#resourceBundles -->
345                 <resourceBundles>
346                   <resourceBundle>com.github.sebhoss:jdt-settings:2.0.0</resourceBundle>
347                 </resourceBundles>
348                 <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html#outputDirectory -->
349                 <outputDirectory>${project.basedir}/.settings</outputDirectory>
350               </configuration>
351             </execution>
352           </executions>
353         </plugin>
355         <plugin>
356           <!-- https://github.com/basepom/duplicate-finder-maven-plugin -->
357           <groupId>org.basepom.maven</groupId>
358           <artifactId>duplicate-finder-maven-plugin</artifactId>
359           <version>${version.duplicate-finder-m-p}</version>
360           <executions>
361             <execution>
362               <phase>verify</phase>
363               <goals>
364                 <goal>check</goal>
365               </goals>
366             </execution>
367           </executions>
368           <configuration>
369             <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki#configuration-overview -->
370             <ignoredResourcePatterns>
371               <ignoredResourcePattern>.*\.html</ignoredResourcePattern>
372             </ignoredResourcePatterns>
373             <failBuildInCaseOfConflict>${failBuildOnDuplicates}</failBuildInCaseOfConflict>
374           </configuration>
375         </plugin>
377         <plugin>
378           <!-- http://pitest.org/quickstart/maven/ -->
379           <groupId>org.pitest</groupId>
380           <artifactId>pitest-maven</artifactId>
381           <version>${version.pittest-m-p}</version>
382           <configuration>
383             <!-- http://pitest.org/quickstart/maven/#threads -->
384             <threads>${pit.threads}</threads>
385             <!-- http://pitest.org/quickstart/maven/#mutationthreshold -->
386             <mutationThreshold>${pit.mutationCoverage}</mutationThreshold>
387             <!-- http://pitest.org/quickstart/maven/#skip -->
388             <skip>${pit.skip}</skip>
389             <!-- http://pitest.org/quickstart/maven/#targetclasses -->
390             <targetClasses>
391               <param>de.xn__ho_hia*</param>
392             </targetClasses>
393             <!-- http://pitest.org/quickstart/maven/#targettests -->
394             <targetTests>
395               <param>de.xn__ho_hia*</param>
396             </targetTests>
397             <outputFormats>
398               <outputFormat>XML</outputFormat>
399               <outputFormat>HTML</outputFormat>
400             </outputFormats>
401           </configuration>
402           <executions>
403             <execution>
404               <goals>
405                 <!-- http://pitest.org/quickstart/maven/#mutationcoverage-goal -->
406                 <goal>mutationCoverage</goal>
407               </goals>
408               <phase>verify</phase>
409             </execution>
410           </executions>
411         </plugin>
413         <plugin>
414           <!-- https://jeremylong.github.io/DependencyCheck/dependency-check-maven/index.html -->
415           <groupId>org.owasp</groupId>
416           <artifactId>dependency-check-maven</artifactId>
417           <version>${version.dependency-check-m}</version>
418           <executions>
419             <execution>
420               <goals>
421                 <goal>check</goal>
422               </goals>
423             </execution>
424           </executions>
425         </plugin>
427         <plugin>
428           <!-- https://maven.apache.org/plugins/maven-dependency-plugin/ -->
429           <groupId>org.apache.maven.plugins</groupId>
430           <artifactId>maven-dependency-plugin</artifactId>
431           <version>${version.m-dependency-p}</version>
432           <executions>
433             <execution>
434               <goals>
435                 <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-only-mojo.html -->
436                 <goal>analyze-only</goal>
437                 <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-duplicate-mojo.html -->
438                 <goal>analyze-duplicate</goal>
439                 <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-dep-mgt-mojo.html -->
440                 <goal>analyze-dep-mgt</goal>
441               </goals>
442             </execution>
443           </executions>
444           <configuration>
445             <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning -->
446             <failOnWarning>${failBuildOnDependencyProblem}</failOnWarning>
447             <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-only-mojo.html#usedDependencies -->
448             <usedDependencies>
449               <!--
450                 Ignore Eclipse JDT annotations because @NonNull, etc are not retained
451                 in byte code. Therefore the plugin detects a false positive.
452                -->
453               <usedDependency>org.eclipse.jdt:org.eclipse.jdt.annotation</usedDependency>
454             </usedDependencies>
455             <!-- https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredDependencies -->
456             <ignoredDependencies>
457               <ignoredDependency>com.github.sebhoss:suppress-warnings</ignoredDependency>
458             </ignoredDependencies>
459           </configuration>
460         </plugin>
462         <plugin>
463           <!-- https://github.com/ning/maven-dependency-versions-check-plugin -->
464           <groupId>com.ning.maven.plugins</groupId>
465           <artifactId>maven-dependency-versions-check-plugin</artifactId>
466           <version>${version.m-dependency-versions-check-p}</version>
467           <executions>
468             <execution>
469               <phase>verify</phase>
470               <goals>
471                 <goal>check</goal>
472               </goals>
473             </execution>
474           </executions>
475         </plugin>
477         <plugin>
478           <!-- http://www.mojohaus.org/flatten-maven-plugin/ -->
479           <groupId>org.codehaus.mojo</groupId>
480           <artifactId>flatten-maven-plugin</artifactId>
481           <version>${version.flatten-m-p}</version>
482           <configuration>
483             <flattenMode>oss</flattenMode>
484           </configuration>
485           <executions>
486             <execution>
487               <!-- enable flattening -->
488               <id>flatten</id>
489               <phase>process-resources</phase>
490               <goals>
491                 <!-- http://www.mojohaus.org/flatten-maven-plugin/flatten-mojo.html -->
492                 <goal>flatten</goal>
493               </goals>
494             </execution>
495             <execution>
496               <!-- ensure proper cleanup -->
497               <id>flatten.clean</id>
498               <phase>clean</phase>
499               <goals>
500                 <!-- http://www.mojohaus.org/flatten-maven-plugin/clean-mojo.html -->
501                 <goal>clean</goal>
502               </goals>
503             </execution>
504           </executions>
505         </plugin>
506       </plugins>
507     </pluginManagement>
509     <!-- https://maven.apache.org/pom.html#Plugins -->
510     <plugins>
511       <plugin>
512         <!-- https://maven.apache.org/plugins/maven-remote-resources-plugin/ -->
513         <groupId>org.apache.maven.plugins</groupId>
514         <artifactId>maven-remote-resources-plugin</artifactId>
515       </plugin>
516       <plugin>
517         <!-- https://maven.apache.org/plugins/maven-compiler-plugin/ -->
518         <groupId>org.apache.maven.plugins</groupId>
519         <artifactId>maven-compiler-plugin</artifactId>
520       </plugin>
521       <plugin>
522         <!-- https://github.com/bndtools/bnd/blob/master/maven/bnd-maven-plugin/README.md -->
523         <groupId>biz.aQute.bnd</groupId>
524         <artifactId>bnd-maven-plugin</artifactId>
525       </plugin>
526       <plugin>
527         <!-- https://maven.apache.org/plugins/maven-jar-plugin/ -->
528         <groupId>org.apache.maven.plugins</groupId>
529         <artifactId>maven-jar-plugin</artifactId>
530       </plugin>
531     </plugins>
532   </build>
534   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
535   <!--                                 PROFILES                                -->
536   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
537   <!-- https://maven.apache.org/pom.html#Profiles -->
538   <profiles>
539     <profile>
540       <id>release</id>
541       <build>
542         <plugins>
543           <plugin>
544             <!-- https://maven.apache.org/plugins/maven-source-plugin/ -->
545             <groupId>org.apache.maven.plugins</groupId>
546             <artifactId>maven-source-plugin</artifactId>
547           </plugin>
548           <plugin>
549             <!-- https://maven.apache.org/plugins/maven-javadoc-plugin/ -->
550             <groupId>org.apache.maven.plugins</groupId>
551             <artifactId>maven-javadoc-plugin</artifactId>
552           </plugin>
553           <plugin>
554             <!-- http://kohsuke.org/pgp-maven-plugin/ -->
555             <groupId>org.kohsuke</groupId>
556             <artifactId>pgp-maven-plugin</artifactId>
557           </plugin>
558         </plugins>
559       </build>
560     </profile>
561   </profiles>
562 </project>