OSDN Git Service

update jar plugins.
[jindolf/JinParser.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4     Maven3 POM definition file
5 -->
6
7 <project
8   xmlns="http://maven.apache.org/POM/4.0.0"
9   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
11   http://maven.apache.org/xsd/maven-4.0.0.xsd"
12 >
13     <modelVersion>4.0.0</modelVersion>
14     <!--parent/-->
15
16     <groupId>jp.osdn.jindolf</groupId>
17     <artifactId>jinparser</artifactId>
18
19     <version>2.101.105-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>JinParser</name>
23
24     <description><!--
25 -->JinParserライブラリは、CGIゲーム「人狼BBS」のクライアント制作者向けに<!--
26 -->作られたJavaライブラリです。<!--
27  --></description>
28
29     <url>https://ja.osdn.net/projects/jindolf/devel/</url>
30     <inceptionYear>2009</inceptionYear>
31
32     <organization>
33         <name>Jindolf Partners</name>
34         <url>https://ja.osdn.net/projects/jindolf/devel/</url>
35     </organization>
36
37     <licenses>
38         <license>
39             <name>The MIT License</name>
40             <url>https://opensource.org/licenses/MIT</url>
41             <distribution>manual</distribution>
42         </license>
43     </licenses>
44
45     <developers>
46         <developer>
47             <id>olyutorskii</id>
48             <url>https://sites.google.com/site/olyutorskiipit/</url>
49             <organization>Jindolf Partners</organization>
50             <organizationUrl>https://ja.osdn.net/projects/jindolf/devel/</organizationUrl>
51             <roles>
52                 <role>Project Founder</role>
53                 <role>Java Developer</role>
54             </roles>
55         </developer>
56     </developers>
57
58     <contributors/>
59     <mailingLists/>
60
61     <!-- prerequisites/ -->
62
63     <modules/>
64
65     <scm>
66         <connection>scm:git:git://git.osdn.net/gitroot/jindolf/JinParser.git</connection>
67         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jindolf/JinParser.git</developerConnection>
68         <url>https://osdn.net/projects/jindolf/scm/git/JinParser</url>
69     </scm>
70
71     <issueManagement>
72         <system>OSDN.net</system>
73         <url>https://ja.osdn.net/projects/jindolf/ticket/</url>
74     </issueManagement>
75
76     <ciManagement/>
77     <distributionManagement/>
78
79     <properties>
80         <maven.compiler.source>1.8</maven.compiler.source>
81         <maven.compiler.target>1.8</maven.compiler.target>
82
83         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
84         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
85
86         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <locale>en</locale>
91         <site.locales>${locale}</site.locales>
92         <javadoc.locale>${locale}</javadoc.locale>
93         <findbugs.jvmArgs>-Duser.language=en</findbugs.jvmArgs>
94
95         <!-- Walk around: JDK 11 javadoc + Maven -->
96         <detectJavaApiLink>false</detectJavaApiLink>
97
98         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
99         <jacoco-plugin.version>0.8.3</jacoco-plugin.version>
100
101         <checkstyle-plugin.version>3.0.0</checkstyle-plugin.version>
102         <!-- checkstyleruntime.version>6.19</checkstyleruntime.version -->
103         <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
104         <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
105         <checkstyle.enable.rss>false</checkstyle.enable.rss>
106
107         <pmd-plugin.version>3.9.0</pmd-plugin.version>
108         <pmd.analysisCache>true</pmd.analysisCache>
109
110         <findbugs-plugin.version>3.0.5</findbugs-plugin.version>
111         <findbugs.effort>Max</findbugs.effort>
112         <findbugs.threshold>Low</findbugs.threshold>
113         <!-- for Jenkins -->
114         <findbugs.xmlOutput>true</findbugs.xmlOutput>
115
116     </properties>
117
118     <dependencyManagement/>
119
120     <dependencies>
121
122         <dependency>
123             <groupId>junit</groupId>
124             <artifactId>junit</artifactId>
125             <version>4.12</version>
126             <scope>test</scope>
127         </dependency>
128
129         <dependency>
130             <groupId>jp.sourceforge.jindolf</groupId>
131             <artifactId>jincore</artifactId>
132             <version>1.206.112</version>
133             <scope>compile</scope>
134         </dependency>
135
136         <dependency>
137             <groupId>io.bitbucket.olyutorskii</groupId>
138             <artifactId>jiocema</artifactId>
139             <version>1.101.4</version>
140             <scope>compile</scope>
141         </dependency>
142
143     </dependencies>
144
145     <repositories/>
146     <pluginRepositories/>
147
148     <build>
149
150         <pluginManagement>
151
152             <plugins>
153
154                 <plugin>
155                     <groupId>org.apache.maven.plugins</groupId>
156                     <artifactId>maven-checkstyle-plugin</artifactId>
157                     <version>${checkstyle-plugin.version}</version>
158                     <dependencies>
159                         <!-- dependency>
160                             <groupId>com.puppycrawl.tools</groupId>
161                             <artifactId>checkstyle</artifactId>
162                             <artifactId>checkstyle-backport-jre6</artifactId>
163                             <version>${checkstyleruntime.version}</version>
164                         </dependency -->
165                     </dependencies>
166                 </plugin>
167
168             </plugins>
169
170         </pluginManagement>
171
172         <plugins>
173
174
175             <!-- clean lifecycle -->
176
177             <plugin>
178                 <groupId>org.apache.maven.plugins</groupId>
179                 <artifactId>maven-clean-plugin</artifactId>
180                 <version>3.1.0</version>
181                 <configuration>
182                     <filesets>
183                         <fileset>
184                             <directory>${project.basedir}</directory>
185                             <includes>
186                                 <include>**/*~</include>
187                                 <include>**/*.swp</include>
188                                 <include>**/*.DS_Store</include>
189                                 <include>**/._*</include>
190                                 <include>**/__MACOSX</include>
191                                 <include>**/Thumbs.db</include>
192                                 <include>**/desktop.ini</include>
193                                 <include>**/core</include>
194                                 <include>**/hs_err_pid*</include>
195                             </includes>
196                         </fileset>
197                     </filesets>
198                 </configuration>
199             </plugin>
200
201
202             <!-- default lifecycle -->
203
204             <plugin>
205                 <groupId>org.apache.maven.plugins</groupId>
206                 <artifactId>maven-enforcer-plugin</artifactId>
207                 <version>3.0.0-M2</version>
208                 <executions>
209                     <execution>
210                         <id>enforce-versions</id>
211                         <goals>
212                             <goal>enforce</goal>
213                         </goals>
214                         <configuration>
215                             <rules>
216                                 <requireMavenVersion>
217                                     <version>[3.3.9,)</version>
218                                 </requireMavenVersion>
219                                 <requireJavaVersion>
220                                     <version>[1.8,)</version>
221                                 </requireJavaVersion>
222                             </rules>
223                         </configuration>
224                     </execution>
225                 </executions>
226             </plugin>
227
228             <plugin>
229                 <groupId>org.apache.maven.plugins</groupId>
230                 <artifactId>maven-resources-plugin</artifactId>
231                 <version>3.1.0</version>
232             </plugin>
233
234             <plugin>
235                 <groupId>org.apache.maven.plugins</groupId>
236                 <artifactId>maven-compiler-plugin</artifactId>
237                 <version>3.8.0</version>
238                 <configuration>
239                     <source>1.8</source>  <!-- for NetBeans IDE -->
240                     <target>1.8</target>
241                     <compilerArguments>
242                         <Xlint/>
243                     </compilerArguments>
244                     <showWarnings>true</showWarnings>
245                     <showDeprecation>true</showDeprecation>
246                 </configuration>
247             </plugin>
248
249             <plugin>
250                 <groupId>org.apache.maven.plugins</groupId>
251                 <artifactId>maven-surefire-plugin</artifactId>
252                 <version>${surefire-plugin.version}</version>
253                 <configuration>
254                     <enableAssertions>true</enableAssertions>
255                 </configuration>
256             </plugin>
257
258             <plugin>
259                 <groupId>org.jacoco</groupId>
260                 <artifactId>jacoco-maven-plugin</artifactId>
261                 <version>${jacoco-plugin.version}</version>
262                 <executions>
263                     <execution>
264                         <id>default-prepare-agent</id>
265                         <goals>
266                             <goal>prepare-agent</goal>
267                         </goals>
268                     </execution>
269                     <execution>
270                         <id>default-report</id>
271                         <phase>prepare-package</phase>
272                         <goals>
273                             <goal>report</goal>
274                         </goals>
275                     </execution>
276                     <execution>
277                         <id>default-check</id>
278                         <goals>
279                             <goal>check</goal>
280                         </goals>
281                         <configuration>
282                             <rules>
283                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
284                                     <element>BUNDLE</element>
285                                     <limits>
286                                         <limit implementation="org.jacoco.report.check.Limit">
287                                             <counter>COMPLEXITY</counter>
288                                             <value>COVEREDRATIO</value>
289                                             <minimum>0.0</minimum>
290                                         </limit>
291                                     </limits>
292                                 </rule>
293                             </rules>
294                         </configuration>
295                     </execution>
296                 </executions>
297             </plugin>
298
299             <plugin>
300                 <groupId>org.apache.maven.plugins</groupId>
301                 <artifactId>maven-jar-plugin</artifactId>
302                 <version>3.1.1</version>
303                 <configuration>
304                     <archive>
305                         <manifest>
306                             <addDefaultImplementationEntries>
307                                 true
308                             </addDefaultImplementationEntries>
309                         </manifest>
310                         <manifestEntries>
311                             <Built-By>${project.organization.name}</Built-By>
312                         </manifestEntries>
313                     </archive>
314                 </configuration>
315             </plugin>
316
317             <plugin>
318                 <groupId>org.apache.maven.plugins</groupId>
319                 <artifactId>maven-source-plugin</artifactId>
320                 <version>3.0.1</version>
321                 <configuration>
322                     <includePom>true</includePom>
323                     <archive>
324                         <manifestEntries>
325                             <Built-By>${project.organization.name}</Built-By>
326                         </manifestEntries>
327                     </archive>
328                 </configuration>
329                 <executions>
330                     <execution>
331                         <id>attach-sources</id>
332                         <phase>verify</phase>
333                         <goals>
334                           <goal>jar-no-fork</goal>
335                         </goals>
336                     </execution>
337                 </executions>
338             </plugin>
339
340             <plugin>
341                 <groupId>org.apache.maven.plugins</groupId>
342                 <artifactId>maven-install-plugin</artifactId>
343                 <version>3.0.0-M1</version>
344             </plugin>
345
346             <plugin>
347                 <groupId>org.apache.maven.plugins</groupId>
348                 <artifactId>maven-deploy-plugin</artifactId>
349                 <version>3.0.0-M1</version>
350             </plugin>
351
352
353             <!-- site lifecycle -->
354
355             <plugin>
356                 <groupId>org.apache.maven.plugins</groupId>
357                 <artifactId>maven-site-plugin</artifactId>
358                 <version>3.7.1</version>
359                 <configuration>
360                     <locales>${site.locales}</locales>
361                 </configuration>
362             </plugin>
363
364
365             <!-- goals without lifecycle -->
366
367             <plugin>
368                 <groupId>org.apache.maven.plugins</groupId>
369                 <artifactId>maven-assembly-plugin</artifactId>
370                 <version>3.1.1</version>
371                 <configuration>
372                     <descriptors>
373                         <descriptor>src/assembly/src.xml</descriptor>
374                     </descriptors>
375                 </configuration>
376             </plugin>
377
378             <plugin>
379                 <groupId>org.apache.maven.plugins</groupId>
380                 <artifactId>maven-checkstyle-plugin</artifactId>
381                 <version>${checkstyle-plugin.version}</version>
382             </plugin>
383
384         </plugins>
385
386         <resources>
387
388             <resource>
389                 <directory>src/main/resources</directory>
390                 <filtering>true</filtering>
391                 <includes>
392                     <include>**/version.properties</include>
393                 </includes>
394             </resource>
395
396             <resource>
397                 <directory>src/main/resources</directory>
398                 <includes>
399                     <include>**/*.txt</include>
400
401                     <include>**/*.properties</include>
402
403                     <include>**/*.xml</include>
404                     <include>**/*.xsd</include>
405                     <include>**/*.dtd</include>
406
407                     <include>**/*.html</include>
408                     <include>**/*.htm</include>
409                     <include>**/*.css</include>
410
411                     <include>**/*.png</include>
412                     <include>**/*.gif</include>
413                     <include>**/*.jpeg</include>
414                     <include>**/*.jpg</include>
415                 </includes>
416                 <excludes>
417                     <exclude>**/version.properties</exclude>
418
419                     <exclude>**/.DS_Store</exclude>
420                     <exclude>**/__MACOSX</exclude>
421                     <exclude>**/Thumbs.db</exclude>
422                     <exclude>**/thumbs.db</exclude>
423                     <exclude>**/Desktop.ini</exclude>
424                     <exclude>**/desktop.ini</exclude>
425                     <exclude>**/core</exclude>
426                 </excludes>
427             </resource>
428
429         </resources>
430
431     </build>
432
433     <reporting>
434
435         <plugins>
436
437             <plugin>
438                 <groupId>org.apache.maven.plugins</groupId>
439                 <artifactId>maven-project-info-reports-plugin</artifactId>
440                 <version>3.0.0</version>
441                 <configuration>
442                     <linkOnly>true</linkOnly>
443                     <offline>true</offline>
444                 </configuration>
445                 <reportSets>
446                     <reportSet>
447                         <reports>
448                             <report>index</report>
449                             <report>summary</report>
450                             <report>licenses</report>
451                             <report>dependency-info</report>
452                             <report>dependencies</report>
453                             <report>dependency-convergence</report>
454                             <report>plugins</report>
455                             <report>plugin-management</report>
456                             <report>team</report>
457                             <report>issue-management</report>
458                             <report>scm</report>
459 <!--
460                             <report>dependency-management</report>
461                             <report>distribution-management</report>
462                             <report>ci-management</report>
463                             <report>mailing-lists</report>
464                             <report>modules</report>
465 -->
466                         </reports>
467                     </reportSet>
468                 </reportSets>
469             </plugin>
470
471             <plugin>
472                 <groupId>org.apache.maven.plugins</groupId>
473                 <artifactId>maven-javadoc-plugin</artifactId>
474                 <version>3.1.0</version>
475                 <configuration>
476                     <author>false</author>
477                     <notimestamp>true</notimestamp>
478                     <quiet>true</quiet>
479                     <show>protected</show>
480                     <header>${project.name} ${project.version} API</header>
481                     <version>true</version>
482                     <locale>${javadoc.locale}</locale>
483                     <!-- for JDK11 javadoc -->
484                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
485                 </configuration>
486                 <reportSets>
487                     <reportSet>
488                         <reports>
489                             <report>javadoc</report>
490                         </reports>
491                     </reportSet>
492                 </reportSets>
493             </plugin>
494
495             <plugin>
496                 <groupId>org.apache.maven.plugins</groupId>
497                 <artifactId>maven-jxr-plugin</artifactId>
498                 <version>3.0.0</version>
499             </plugin>
500
501             <plugin>
502                 <groupId>org.apache.maven.plugins</groupId>
503                 <artifactId>maven-surefire-report-plugin</artifactId>
504                 <version>${surefire-plugin.version}</version>
505             </plugin>
506
507             <plugin>
508                 <groupId>org.jacoco</groupId>
509                 <artifactId>jacoco-maven-plugin</artifactId>
510                 <version>${jacoco-plugin.version}</version>
511                 <reportSets>
512                     <reportSet>
513                         <reports>
514                             <report>report</report>
515                         </reports>
516                     </reportSet>
517                 </reportSets>
518             </plugin>
519
520             <plugin>
521                 <groupId>org.apache.maven.plugins</groupId>
522                 <artifactId>maven-checkstyle-plugin</artifactId>
523                 <version>${checkstyle-plugin.version}</version>
524                 <reportSets>
525                     <reportSet>
526                         <reports>
527                             <report>checkstyle</report>
528                         </reports>
529                     </reportSet>
530                 </reportSets>
531             </plugin>
532
533             <plugin>
534                 <groupId>org.apache.maven.plugins</groupId>
535                 <artifactId>maven-pmd-plugin</artifactId>
536                 <version>${pmd-plugin.version}</version>
537                 <configuration>
538                     <rulesets>
539                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
540                     </rulesets>
541                 </configuration>
542                 <reportSets>
543                     <reportSet>
544                         <reports>
545                             <report>pmd</report>
546                             <report>cpd</report>
547                         </reports>
548                     </reportSet>
549                 </reportSets>
550             </plugin>
551
552             <plugin>
553                 <groupId>org.codehaus.mojo</groupId>
554                 <artifactId>findbugs-maven-plugin</artifactId>
555                 <version>${findbugs-plugin.version}</version>
556             </plugin>
557
558         </plugins>
559
560     </reporting>
561
562     <profiles/>
563
564 </project>
565
566 <!-- EOF -->