OSDN Git Service

start 2.102.7-SNAPSHOT
[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.102.7-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         <!--maven.compiler.release>8</maven.compiler.release-->
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
87         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
88         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
89         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
90
91         <!-- MJAVADOC-700 -->
92         <sourcepath>${basedir}/src/main/java</sourcepath>
93
94         <!-- DO NOT USE ${locale} with site-plugin -->
95         <site.locales>en</site.locales>
96         <javadoc.locale>en</javadoc.locale>
97         <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
98
99         <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
100         <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
101         <checkstyle.enable.rss>false</checkstyle.enable.rss>
102
103         <spotbugs.effort>Max</spotbugs.effort>
104         <spotbugs.threshold>Low</spotbugs.threshold>
105         <!-- for Jenkins -->
106         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
107
108     </properties>
109
110     <dependencyManagement/>
111
112     <dependencies>
113
114         <dependency>
115             <groupId>junit</groupId>
116             <artifactId>junit</artifactId>
117             <version>4.13.2</version>
118             <scope>test</scope>
119         </dependency>
120
121         <dependency>
122             <groupId>jp.sourceforge.jindolf</groupId>
123             <artifactId>jincore</artifactId>
124             <version>1.207.6</version>
125             <scope>compile</scope>
126         </dependency>
127
128         <dependency>
129             <groupId>io.bitbucket.olyutorskii</groupId>
130             <artifactId>jiocema</artifactId>
131             <version>1.101.8</version>
132             <scope>compile</scope>
133         </dependency>
134
135     </dependencies>
136
137     <repositories/>
138     <pluginRepositories/>
139
140     <build>
141
142         <pluginManagement>
143
144             <plugins>
145
146                 <plugin>
147                     <groupId>org.apache.maven.plugins</groupId>
148                     <artifactId>maven-clean-plugin</artifactId>
149                     <version>3.2.0</version>
150                 </plugin>
151
152                 <plugin>
153                     <groupId>org.apache.maven.plugins</groupId>
154                     <artifactId>maven-enforcer-plugin</artifactId>
155                     <version>3.1.0</version>
156                 </plugin>
157
158                 <plugin>
159                     <groupId>org.apache.maven.plugins</groupId>
160                     <artifactId>maven-resources-plugin</artifactId>
161                     <version>3.3.0</version>
162                 </plugin>
163
164                 <plugin>
165                     <groupId>org.apache.maven.plugins</groupId>
166                     <artifactId>maven-compiler-plugin</artifactId>
167                     <version>3.10.1</version>
168                 </plugin>
169
170                 <plugin>
171                     <groupId>org.apache.maven.plugins</groupId>
172                     <artifactId>maven-surefire-plugin</artifactId>
173                     <version>3.0.0-M7</version>
174                 </plugin>
175
176                 <plugin>
177                     <groupId>org.apache.maven.plugins</groupId>
178                     <artifactId>maven-surefire-report-plugin</artifactId>
179                     <version>3.0.0-M7</version>
180                 </plugin>
181
182                 <plugin>
183                     <groupId>org.jacoco</groupId>
184                     <artifactId>jacoco-maven-plugin</artifactId>
185                     <version>0.8.8</version>
186                 </plugin>
187
188                 <plugin>
189                     <groupId>org.apache.maven.plugins</groupId>
190                     <artifactId>maven-jar-plugin</artifactId>
191                     <version>3.3.0</version>
192                 </plugin>
193
194                 <plugin>
195                     <groupId>org.apache.maven.plugins</groupId>
196                     <artifactId>maven-source-plugin</artifactId>
197                     <version>3.2.1</version>
198                 </plugin>
199
200                 <plugin>
201                     <groupId>org.apache.maven.plugins</groupId>
202                     <artifactId>maven-install-plugin</artifactId>
203                     <version>3.0.1</version>
204                 </plugin>
205
206                 <plugin>
207                     <groupId>org.apache.maven.plugins</groupId>
208                     <artifactId>maven-deploy-plugin</artifactId>
209                     <version>3.0.0</version>
210                 </plugin>
211
212                 <plugin>
213                     <groupId>org.apache.maven.plugins</groupId>
214                     <artifactId>maven-site-plugin</artifactId>
215                     <version>3.12.1</version>
216                 </plugin>
217
218                 <plugin>
219                     <groupId>org.apache.maven.plugins</groupId>
220                     <artifactId>maven-assembly-plugin</artifactId>
221                     <version>3.4.2</version>
222                 </plugin>
223
224                 <plugin>
225                     <groupId>org.apache.maven.plugins</groupId>
226                     <artifactId>maven-project-info-reports-plugin</artifactId>
227                     <version>3.4.1</version>
228                 </plugin>
229
230                 <plugin>
231                     <groupId>org.apache.maven.plugins</groupId>
232                     <artifactId>maven-javadoc-plugin</artifactId>
233                     <version>3.4.1</version>
234                 </plugin>
235
236                 <plugin>
237                     <groupId>org.apache.maven.plugins</groupId>
238                     <artifactId>maven-jxr-plugin</artifactId>
239                     <version>3.3.0</version>
240                 </plugin>
241
242                 <plugin>
243                     <groupId>org.apache.maven.plugins</groupId>
244                     <artifactId>maven-checkstyle-plugin</artifactId>
245                     <version>3.2.0</version>
246                     <dependencies>
247                         <dependency>
248                             <groupId>com.puppycrawl.tools</groupId>
249                             <artifactId>checkstyle</artifactId>
250                             <version>10.3.4</version>
251                         </dependency>
252                     </dependencies>
253                 </plugin>
254
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-pmd-plugin</artifactId>
258                     <version>3.19.0</version>
259                     <dependencies>
260                         <dependency>
261                             <groupId>net.sourceforge.pmd</groupId>
262                             <artifactId>pmd-core</artifactId>
263                             <version>6.50.0</version>
264                         </dependency>
265                         <dependency>
266                             <groupId>net.sourceforge.pmd</groupId>
267                             <artifactId>pmd-java</artifactId>
268                             <version>6.50.0</version>
269                         </dependency>
270                     </dependencies>
271                 </plugin>
272
273                 <plugin>
274                     <groupId>com.github.spotbugs</groupId>
275                     <artifactId>spotbugs-maven-plugin</artifactId>
276                     <version>4.7.2.1</version>
277                     <dependencies>
278                         <dependency>
279                             <groupId>com.github.spotbugs</groupId>
280                             <artifactId>spotbugs</artifactId>
281                             <!--<version>4.7.2</version> LOT OF Exception warning -->
282                             <version>4.7.1</version>
283                         </dependency>
284                     </dependencies>
285                 </plugin>
286
287             </plugins>
288
289         </pluginManagement>
290
291         <plugins>
292
293
294             <!-- clean lifecycle -->
295
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-clean-plugin</artifactId>
299                 <configuration>
300                     <filesets>
301                         <fileset>
302                             <directory>${project.basedir}</directory>
303                             <includes>
304                                 <include>**/*~</include>
305                                 <include>**/*.swp</include>
306                                 <include>**/*.DS_Store</include>
307                                 <include>**/._*</include>
308                                 <include>**/__MACOSX</include>
309                                 <include>**/Thumbs.db</include>
310                                 <include>**/desktop.ini</include>
311                                 <include>**/core</include>
312                                 <include>**/hs_err_pid*</include>
313                             </includes>
314                         </fileset>
315                     </filesets>
316                 </configuration>
317             </plugin>
318
319
320             <!-- default lifecycle -->
321
322             <plugin>
323                 <groupId>org.apache.maven.plugins</groupId>
324                 <artifactId>maven-enforcer-plugin</artifactId>
325                 <executions>
326                     <execution>
327                         <id>enforce-versions</id>
328                         <goals>
329                             <goal>enforce</goal>
330                         </goals>
331                         <configuration>
332                             <rules>
333                                 <requireMavenVersion>
334                                     <version>[3.3.9,)</version>
335                                 </requireMavenVersion>
336                                 <requireJavaVersion>
337                                     <version>[1.8,)</version>
338                                 </requireJavaVersion>
339                             </rules>
340                         </configuration>
341                     </execution>
342                 </executions>
343             </plugin>
344
345             <plugin>
346                 <groupId>org.apache.maven.plugins</groupId>
347                 <artifactId>maven-compiler-plugin</artifactId>
348                 <configuration>
349                     <source>1.8</source>  <!-- for NetBeans IDE -->
350                     <target>1.8</target>
351                     <compilerArguments>
352                         <Xlint/>
353                     </compilerArguments>
354                     <showWarnings>true</showWarnings>
355                     <showDeprecation>true</showDeprecation>
356                 </configuration>
357             </plugin>
358
359             <plugin>
360                 <groupId>org.apache.maven.plugins</groupId>
361                 <artifactId>maven-surefire-plugin</artifactId>
362                 <configuration>
363                     <enableAssertions>true</enableAssertions>
364                 </configuration>
365             </plugin>
366
367             <plugin>
368                 <groupId>org.jacoco</groupId>
369                 <artifactId>jacoco-maven-plugin</artifactId>
370                 <executions>
371                     <execution>
372                         <id>default-prepare-agent</id>
373                         <goals>
374                             <goal>prepare-agent</goal>
375                         </goals>
376                     </execution>
377                 </executions>
378             </plugin>
379
380             <plugin>
381                 <groupId>org.apache.maven.plugins</groupId>
382                 <artifactId>maven-jar-plugin</artifactId>
383                 <configuration>
384                     <archive>
385                         <manifest>
386                             <addDefaultImplementationEntries>
387                                 true
388                             </addDefaultImplementationEntries>
389                         </manifest>
390                         <manifestEntries>
391                             <Built-By>${project.organization.name}</Built-By>
392                         </manifestEntries>
393                     </archive>
394                 </configuration>
395             </plugin>
396
397
398             <!-- site lifecycle -->
399
400             <plugin>
401                 <groupId>org.apache.maven.plugins</groupId>
402                 <artifactId>maven-site-plugin</artifactId>
403                 <configuration>
404                     <locales>${site.locales}</locales>
405                 </configuration>
406             </plugin>
407
408
409             <!-- goals without lifecycle -->
410
411             <plugin>
412                 <groupId>org.apache.maven.plugins</groupId>
413                 <artifactId>maven-javadoc-plugin</artifactId>
414                 <configuration>
415                     <locale>${javadoc.locale}</locale>
416                     <!-- for JDK11 javadoc -->
417                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
418                     <source>${maven.compiler.source}</source>
419                     <notimestamp>true</notimestamp>
420                     <header>${project.name} ${project.version} API</header>
421                     <nohelp>true</nohelp>
422                     <author>false</author>
423                     <quiet>true</quiet>
424                     <doclint>all</doclint>
425                     <show>protected</show>
426                 </configuration>
427             </plugin>
428
429             <plugin>
430                 <groupId>org.apache.maven.plugins</groupId>
431                 <artifactId>maven-assembly-plugin</artifactId>
432                 <configuration>
433                     <tarLongFileMode>posix</tarLongFileMode>
434                     <descriptors>
435                         <descriptor>src/assembly/src.xml</descriptor>
436                     </descriptors>
437                 </configuration>
438             </plugin>
439
440             <plugin>
441                 <groupId>org.apache.maven.plugins</groupId>
442                 <artifactId>maven-pmd-plugin</artifactId>
443                 <configuration>
444                     <rulesets>
445                         <ruleset>config/pmd/pmdrules.xml</ruleset>
446                     </rulesets>
447                 </configuration>
448             </plugin>
449
450         </plugins>
451
452         <resources>
453
454             <resource>
455                 <directory>src/main/resources</directory>
456                 <filtering>true</filtering>
457                 <includes>
458                     <include>**/version.properties</include>
459                 </includes>
460             </resource>
461
462             <resource>
463                 <directory>src/main/resources</directory>
464                 <includes>
465                     <include>**/*.txt</include>
466
467                     <include>**/*.properties</include>
468
469                     <include>**/*.xml</include>
470                     <include>**/*.xsd</include>
471                     <include>**/*.dtd</include>
472
473                     <include>**/*.html</include>
474                     <include>**/*.htm</include>
475                     <include>**/*.css</include>
476
477                     <include>**/*.png</include>
478                     <include>**/*.gif</include>
479                     <include>**/*.jpeg</include>
480                     <include>**/*.jpg</include>
481                 </includes>
482                 <excludes>
483                     <exclude>**/version.properties</exclude>
484
485                     <exclude>**/.DS_Store</exclude>
486                     <exclude>**/__MACOSX</exclude>
487                     <exclude>**/Thumbs.db</exclude>
488                     <exclude>**/thumbs.db</exclude>
489                     <exclude>**/Desktop.ini</exclude>
490                     <exclude>**/desktop.ini</exclude>
491                     <exclude>**/core</exclude>
492                 </excludes>
493             </resource>
494
495         </resources>
496
497     </build>
498
499     <reporting>
500
501         <plugins>
502
503             <plugin>
504                 <groupId>org.apache.maven.plugins</groupId>
505                 <artifactId>maven-project-info-reports-plugin</artifactId>
506                 <configuration>
507                     <linkOnly>true</linkOnly>
508                     <offline>true</offline>
509                 </configuration>
510                 <reportSets>
511                     <reportSet>
512                         <reports>
513                             <report>index</report>
514                             <report>summary</report>
515                             <report>licenses</report>
516                             <report>dependency-info</report>
517                             <report>dependencies</report>
518                             <report>dependency-convergence</report>
519                             <report>plugins</report>
520                             <report>team</report>
521                             <report>issue-management</report>
522                             <report>scm</report>
523 <!--
524                             <report>dependency-management</report>
525                             <report>distribution-management</report>
526                             <report>ci-management</report>
527                             <report>mailing-lists</report>
528                             <report>modules</report>
529                             <report>plugin-management</report>
530 -->
531                         </reports>
532                     </reportSet>
533                 </reportSets>
534             </plugin>
535
536             <plugin>
537                 <groupId>org.apache.maven.plugins</groupId>
538                 <artifactId>maven-javadoc-plugin</artifactId>
539                 <configuration>
540                     <locale>${javadoc.locale}</locale>
541                     <!-- for JDK11 javadoc -->
542                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
543                     <source>${maven.compiler.source}</source>
544                     <notimestamp>true</notimestamp>
545                     <header>${project.name} ${project.version} API</header>
546                     <nohelp>true</nohelp>
547                     <author>false</author>
548                     <quiet>true</quiet>
549                     <doclint>all</doclint>
550                     <show>protected</show>
551                 </configuration>
552                 <reportSets>
553                     <reportSet>
554                         <reports>
555                             <report>javadoc</report>
556                         </reports>
557                     </reportSet>
558                 </reportSets>
559             </plugin>
560
561             <plugin>
562                 <groupId>org.apache.maven.plugins</groupId>
563                 <artifactId>maven-jxr-plugin</artifactId>
564             </plugin>
565
566             <plugin>
567                 <groupId>org.apache.maven.plugins</groupId>
568                 <artifactId>maven-surefire-report-plugin</artifactId>
569             </plugin>
570
571             <plugin>
572                 <groupId>org.jacoco</groupId>
573                 <artifactId>jacoco-maven-plugin</artifactId>
574                 <reportSets>
575                     <reportSet>
576                         <reports>
577                             <report>report</report>
578                         </reports>
579                     </reportSet>
580                 </reportSets>
581             </plugin>
582
583             <plugin>
584                 <groupId>org.apache.maven.plugins</groupId>
585                 <artifactId>maven-checkstyle-plugin</artifactId>
586                 <reportSets>
587                     <reportSet>
588                         <reports>
589                             <report>checkstyle</report>
590                         </reports>
591                     </reportSet>
592                 </reportSets>
593             </plugin>
594
595             <plugin>
596                 <groupId>org.apache.maven.plugins</groupId>
597                 <artifactId>maven-pmd-plugin</artifactId>
598                 <configuration>
599                     <rulesets>
600                         <ruleset>config/pmd/pmdrules.xml</ruleset>
601                     </rulesets>
602                 </configuration>
603                 <reportSets>
604                     <reportSet>
605                         <reports>
606                             <report>pmd</report>
607                             <report>cpd</report>
608                         </reports>
609                     </reportSet>
610                 </reportSets>
611             </plugin>
612
613             <plugin>
614                 <groupId>com.github.spotbugs</groupId>
615                 <artifactId>spotbugs-maven-plugin</artifactId>
616             </plugin>
617
618         </plugins>
619
620     </reporting>
621
622     <profiles>
623
624         <profile>
625             <id>release-profile</id>
626
627             <activation>
628                 <property>
629                     <name>performRelease</name>
630                     <value>true</value>
631                 </property>
632             </activation>
633
634             <build>
635                 <plugins>
636
637                     <plugin>
638                         <inherited>true</inherited>
639                         <groupId>org.apache.maven.plugins</groupId>
640                         <artifactId>maven-source-plugin</artifactId>
641                         <configuration>
642                             <includePom>true</includePom>
643                             <archive>
644                                 <manifestEntries>
645                                     <Built-By>${project.organization.name}</Built-By>
646                                 </manifestEntries>
647                             </archive>
648                         </configuration>
649                         <executions>
650                             <execution>
651                                 <id>attach-sources</id>
652                                 <goals>
653                                     <goal>jar-no-fork</goal>
654                                 </goals>
655                             </execution>
656                         </executions>
657                     </plugin>
658
659                     <plugin>
660                         <inherited>true</inherited>
661                         <groupId>org.apache.maven.plugins</groupId>
662                         <artifactId>maven-javadoc-plugin</artifactId>
663                         <configuration>
664                             <show>protected</show>
665                             <archive>
666                                 <manifestEntries>
667                                     <Built-By>${project.organization.name}</Built-By>
668                                 </manifestEntries>
669                             </archive>
670                         </configuration>
671                         <executions>
672                             <execution>
673                                 <id>attach-javadocs</id>
674                                 <goals>
675                                     <goal>jar</goal>
676                                 </goals>
677                             </execution>
678                         </executions>
679                     </plugin>
680
681                 </plugins>
682             </build>
683         </profile>
684
685     </profiles>
686
687 </project>
688
689 <!-- EOF -->