OSDN Git Service

Merge pomconfig into develop
[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         <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.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>8.20</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.12.0</pmd-plugin.version>
108         <pmd.analysisCache>true</pmd.analysisCache>
109
110         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
111         <spotbugs.effort>Max</spotbugs.effort>
112         <spotbugs.threshold>Low</spotbugs.threshold>
113         <!-- for Jenkins -->
114         <spotbugs.xmlOutput>true</spotbugs.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                             <version>${checkstyleruntime.version}</version>
163                         </dependency>
164                     </dependencies>
165                 </plugin>
166
167             </plugins>
168
169         </pluginManagement>
170
171         <plugins>
172
173
174             <!-- clean lifecycle -->
175
176             <plugin>
177                 <groupId>org.apache.maven.plugins</groupId>
178                 <artifactId>maven-clean-plugin</artifactId>
179                 <version>3.1.0</version>
180                 <configuration>
181                     <filesets>
182                         <fileset>
183                             <directory>${project.basedir}</directory>
184                             <includes>
185                                 <include>**/*~</include>
186                                 <include>**/*.swp</include>
187                                 <include>**/*.DS_Store</include>
188                                 <include>**/._*</include>
189                                 <include>**/__MACOSX</include>
190                                 <include>**/Thumbs.db</include>
191                                 <include>**/desktop.ini</include>
192                                 <include>**/core</include>
193                                 <include>**/hs_err_pid*</include>
194                             </includes>
195                         </fileset>
196                     </filesets>
197                 </configuration>
198             </plugin>
199
200
201             <!-- default lifecycle -->
202
203             <plugin>
204                 <groupId>org.apache.maven.plugins</groupId>
205                 <artifactId>maven-enforcer-plugin</artifactId>
206                 <version>3.0.0-M2</version>
207                 <executions>
208                     <execution>
209                         <id>enforce-versions</id>
210                         <goals>
211                             <goal>enforce</goal>
212                         </goals>
213                         <configuration>
214                             <rules>
215                                 <requireMavenVersion>
216                                     <version>[3.3.9,)</version>
217                                 </requireMavenVersion>
218                                 <requireJavaVersion>
219                                     <version>[1.8,)</version>
220                                 </requireJavaVersion>
221                             </rules>
222                         </configuration>
223                     </execution>
224                 </executions>
225             </plugin>
226
227             <plugin>
228                 <groupId>org.apache.maven.plugins</groupId>
229                 <artifactId>maven-resources-plugin</artifactId>
230                 <version>3.1.0</version>
231             </plugin>
232
233             <plugin>
234                 <groupId>org.apache.maven.plugins</groupId>
235                 <artifactId>maven-compiler-plugin</artifactId>
236                 <version>3.8.0</version>
237                 <configuration>
238                     <source>1.8</source>  <!-- for NetBeans IDE -->
239                     <target>1.8</target>
240                     <compilerArguments>
241                         <Xlint/>
242                     </compilerArguments>
243                     <showWarnings>true</showWarnings>
244                     <showDeprecation>true</showDeprecation>
245                 </configuration>
246             </plugin>
247
248             <plugin>
249                 <groupId>org.apache.maven.plugins</groupId>
250                 <artifactId>maven-surefire-plugin</artifactId>
251                 <version>${surefire-plugin.version}</version>
252                 <configuration>
253                     <enableAssertions>true</enableAssertions>
254                 </configuration>
255             </plugin>
256
257             <plugin>
258                 <groupId>org.jacoco</groupId>
259                 <artifactId>jacoco-maven-plugin</artifactId>
260                 <version>${jacoco-plugin.version}</version>
261                 <executions>
262                     <execution>
263                         <id>default-prepare-agent</id>
264                         <goals>
265                             <goal>prepare-agent</goal>
266                         </goals>
267                     </execution>
268                     <execution>
269                         <id>default-report</id>
270                         <phase>prepare-package</phase>
271                         <goals>
272                             <goal>report</goal>
273                         </goals>
274                     </execution>
275                     <execution>
276                         <id>default-check</id>
277                         <goals>
278                             <goal>check</goal>
279                         </goals>
280                         <configuration>
281                             <rules>
282                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
283                                     <element>BUNDLE</element>
284                                     <limits>
285                                         <limit implementation="org.jacoco.report.check.Limit">
286                                             <counter>COMPLEXITY</counter>
287                                             <value>COVEREDRATIO</value>
288                                             <minimum>0.0</minimum>
289                                         </limit>
290                                     </limits>
291                                 </rule>
292                             </rules>
293                         </configuration>
294                     </execution>
295                 </executions>
296             </plugin>
297
298             <plugin>
299                 <groupId>org.apache.maven.plugins</groupId>
300                 <artifactId>maven-jar-plugin</artifactId>
301                 <version>3.1.1</version>
302                 <configuration>
303                     <archive>
304                         <manifest>
305                             <addDefaultImplementationEntries>
306                                 true
307                             </addDefaultImplementationEntries>
308                         </manifest>
309                         <manifestEntries>
310                             <Built-By>${project.organization.name}</Built-By>
311                         </manifestEntries>
312                     </archive>
313                 </configuration>
314             </plugin>
315
316             <plugin>
317                 <groupId>org.apache.maven.plugins</groupId>
318                 <artifactId>maven-source-plugin</artifactId>
319                 <version>3.0.1</version>
320                 <configuration>
321                     <includePom>true</includePom>
322                     <archive>
323                         <manifestEntries>
324                             <Built-By>${project.organization.name}</Built-By>
325                         </manifestEntries>
326                     </archive>
327                 </configuration>
328                 <executions>
329                     <execution>
330                         <id>attach-sources</id>
331                         <phase>verify</phase>
332                         <goals>
333                           <goal>jar-no-fork</goal>
334                         </goals>
335                     </execution>
336                 </executions>
337             </plugin>
338
339             <plugin>
340                 <groupId>org.apache.maven.plugins</groupId>
341                 <artifactId>maven-install-plugin</artifactId>
342                 <version>3.0.0-M1</version>
343             </plugin>
344
345             <plugin>
346                 <groupId>org.apache.maven.plugins</groupId>
347                 <artifactId>maven-deploy-plugin</artifactId>
348                 <version>3.0.0-M1</version>
349             </plugin>
350
351
352             <!-- site lifecycle -->
353
354             <plugin>
355                 <groupId>org.apache.maven.plugins</groupId>
356                 <artifactId>maven-site-plugin</artifactId>
357                 <version>3.7.1</version>
358                 <configuration>
359                     <locales>${site.locales}</locales>
360                 </configuration>
361             </plugin>
362
363
364             <!-- goals without lifecycle -->
365
366             <plugin>
367                 <groupId>org.apache.maven.plugins</groupId>
368                 <artifactId>maven-assembly-plugin</artifactId>
369                 <version>3.1.1</version>
370                 <configuration>
371                     <descriptors>
372                         <descriptor>src/assembly/src.xml</descriptor>
373                     </descriptors>
374                 </configuration>
375             </plugin>
376
377             <plugin>
378                 <groupId>org.apache.maven.plugins</groupId>
379                 <artifactId>maven-checkstyle-plugin</artifactId>
380                 <version>${checkstyle-plugin.version}</version>
381             </plugin>
382
383             <plugin>
384                 <groupId>org.apache.maven.plugins</groupId>
385                 <artifactId>maven-pmd-plugin</artifactId>
386                 <version>${pmd-plugin.version}</version>
387                 <configuration>
388                     <rulesets>
389                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
390                     </rulesets>
391                 </configuration>
392             </plugin>
393
394             <plugin>
395                 <groupId>com.github.spotbugs</groupId>
396                 <artifactId>spotbugs-maven-plugin</artifactId>
397                 <version>${spotbugs-plugin.version}</version>
398             </plugin>
399
400         </plugins>
401
402         <resources>
403
404             <resource>
405                 <directory>src/main/resources</directory>
406                 <filtering>true</filtering>
407                 <includes>
408                     <include>**/version.properties</include>
409                 </includes>
410             </resource>
411
412             <resource>
413                 <directory>src/main/resources</directory>
414                 <includes>
415                     <include>**/*.txt</include>
416
417                     <include>**/*.properties</include>
418
419                     <include>**/*.xml</include>
420                     <include>**/*.xsd</include>
421                     <include>**/*.dtd</include>
422
423                     <include>**/*.html</include>
424                     <include>**/*.htm</include>
425                     <include>**/*.css</include>
426
427                     <include>**/*.png</include>
428                     <include>**/*.gif</include>
429                     <include>**/*.jpeg</include>
430                     <include>**/*.jpg</include>
431                 </includes>
432                 <excludes>
433                     <exclude>**/version.properties</exclude>
434
435                     <exclude>**/.DS_Store</exclude>
436                     <exclude>**/__MACOSX</exclude>
437                     <exclude>**/Thumbs.db</exclude>
438                     <exclude>**/thumbs.db</exclude>
439                     <exclude>**/Desktop.ini</exclude>
440                     <exclude>**/desktop.ini</exclude>
441                     <exclude>**/core</exclude>
442                 </excludes>
443             </resource>
444
445         </resources>
446
447     </build>
448
449     <reporting>
450
451         <plugins>
452
453             <plugin>
454                 <groupId>org.apache.maven.plugins</groupId>
455                 <artifactId>maven-project-info-reports-plugin</artifactId>
456                 <version>3.0.0</version>
457                 <configuration>
458                     <linkOnly>true</linkOnly>
459                     <offline>true</offline>
460                 </configuration>
461                 <reportSets>
462                     <reportSet>
463                         <reports>
464                             <report>index</report>
465                             <report>summary</report>
466                             <report>licenses</report>
467                             <report>dependency-info</report>
468                             <report>dependencies</report>
469                             <report>dependency-convergence</report>
470                             <report>plugins</report>
471                             <report>plugin-management</report>
472                             <report>team</report>
473                             <report>issue-management</report>
474                             <report>scm</report>
475 <!--
476                             <report>dependency-management</report>
477                             <report>distribution-management</report>
478                             <report>ci-management</report>
479                             <report>mailing-lists</report>
480                             <report>modules</report>
481 -->
482                         </reports>
483                     </reportSet>
484                 </reportSets>
485             </plugin>
486
487             <plugin>
488                 <groupId>org.apache.maven.plugins</groupId>
489                 <artifactId>maven-javadoc-plugin</artifactId>
490                 <version>3.1.0</version>
491                 <configuration>
492                     <author>false</author>
493                     <notimestamp>true</notimestamp>
494                     <quiet>true</quiet>
495                     <show>protected</show>
496                     <header>${project.name} ${project.version} API</header>
497                     <version>true</version>
498                     <locale>${javadoc.locale}</locale>
499                     <!-- for JDK11 javadoc -->
500                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
501                 </configuration>
502                 <reportSets>
503                     <reportSet>
504                         <reports>
505                             <report>javadoc</report>
506                         </reports>
507                     </reportSet>
508                 </reportSets>
509             </plugin>
510
511             <plugin>
512                 <groupId>org.apache.maven.plugins</groupId>
513                 <artifactId>maven-jxr-plugin</artifactId>
514                 <version>3.0.0</version>
515             </plugin>
516
517             <plugin>
518                 <groupId>org.apache.maven.plugins</groupId>
519                 <artifactId>maven-surefire-report-plugin</artifactId>
520                 <version>${surefire-plugin.version}</version>
521             </plugin>
522
523             <plugin>
524                 <groupId>org.jacoco</groupId>
525                 <artifactId>jacoco-maven-plugin</artifactId>
526                 <version>${jacoco-plugin.version}</version>
527                 <reportSets>
528                     <reportSet>
529                         <reports>
530                             <report>report</report>
531                         </reports>
532                     </reportSet>
533                 </reportSets>
534             </plugin>
535
536             <plugin>
537                 <groupId>org.apache.maven.plugins</groupId>
538                 <artifactId>maven-checkstyle-plugin</artifactId>
539                 <version>${checkstyle-plugin.version}</version>
540                 <reportSets>
541                     <reportSet>
542                         <reports>
543                             <report>checkstyle</report>
544                         </reports>
545                     </reportSet>
546                 </reportSets>
547             </plugin>
548
549             <plugin>
550                 <groupId>org.apache.maven.plugins</groupId>
551                 <artifactId>maven-pmd-plugin</artifactId>
552                 <version>${pmd-plugin.version}</version>
553                 <configuration>
554                     <rulesets>
555                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
556                     </rulesets>
557                 </configuration>
558                 <reportSets>
559                     <reportSet>
560                         <reports>
561                             <report>pmd</report>
562                             <report>cpd</report>
563                         </reports>
564                     </reportSet>
565                 </reportSets>
566             </plugin>
567
568             <plugin>
569                 <groupId>com.github.spotbugs</groupId>
570                 <artifactId>spotbugs-maven-plugin</artifactId>
571                 <version>${spotbugs-plugin.version}</version>
572             </plugin>
573
574         </plugins>
575
576     </reporting>
577
578     <profiles/>
579
580 </project>
581
582 <!-- EOF -->