OSDN Git Service

start 4.101.7-SNAPSHOT
[jindolf/Jindolf.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.sourceforge.jindolf</groupId>
17     <artifactId>jindolf</artifactId>
18
19     <version>4.101.7-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>Jindolf</name>
23
24     <description><!--
25 -->Jindolfプロジェクトは、CGIゲーム「人狼BBS」を快適にプレイするための<!--
26 -->専用クライアントを製作するために発足したオープンソースプロジェクトです。<!--
27  --></description>
28
29     <url>http://jindolf.osdn.jp/</url>
30     <inceptionYear>2008</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/Jindolf.git</connection>
67         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jindolf/Jindolf.git</developerConnection>
68         <url>https://osdn.net/projects/jindolf/scm/git/Jindolf/</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         <project.mainentry>jp.sfjp.jindolf.Jindolf</project.mainentry>
109         <project.splash>jp/sfjp/jindolf/resources/image/logo.png</project.splash>
110
111     </properties>
112
113     <dependencyManagement/>
114
115     <dependencies>
116
117         <dependency>
118             <groupId>junit</groupId>
119             <artifactId>junit</artifactId>
120             <version>4.13.2</version>
121             <scope>test</scope>
122         </dependency>
123
124         <dependency>
125             <groupId>jp.osdn.jindolf</groupId>
126             <artifactId>jinparser</artifactId>
127             <version>2.102.6</version>
128             <scope>compile</scope>
129         </dependency>
130
131         <dependency>
132             <groupId>jp.sourceforge.jovsonz</groupId>
133             <artifactId>jovsonz</artifactId>
134             <version>1.101.106</version>
135             <scope>compile</scope>
136         </dependency>
137
138         <dependency>
139             <groupId>io.github.olyutorskii</groupId>
140             <artifactId>quetexj</artifactId>
141             <version>1.0.8</version>
142             <scope>compile</scope>
143         </dependency>
144
145     </dependencies>
146
147     <repositories/>
148     <pluginRepositories/>
149
150     <build>
151
152         <pluginManagement>
153
154             <plugins>
155
156                 <plugin>
157                     <groupId>org.apache.maven.plugins</groupId>
158                     <artifactId>maven-clean-plugin</artifactId>
159                     <version>3.2.0</version>
160                 </plugin>
161
162                 <plugin>
163                     <groupId>org.apache.maven.plugins</groupId>
164                     <artifactId>maven-enforcer-plugin</artifactId>
165                     <version>3.1.0</version>
166                 </plugin>
167
168                 <plugin>
169                     <groupId>org.apache.maven.plugins</groupId>
170                     <artifactId>maven-resources-plugin</artifactId>
171                     <version>3.3.0</version>
172                 </plugin>
173
174                 <plugin>
175                     <groupId>org.apache.maven.plugins</groupId>
176                     <artifactId>maven-compiler-plugin</artifactId>
177                     <version>3.10.1</version>
178                 </plugin>
179
180                 <plugin>
181                     <groupId>org.apache.maven.plugins</groupId>
182                     <artifactId>maven-surefire-plugin</artifactId>
183                     <version>3.0.0-M7</version>
184                 </plugin>
185
186                 <plugin>
187                     <groupId>org.apache.maven.plugins</groupId>
188                     <artifactId>maven-surefire-report-plugin</artifactId>
189                     <version>3.0.0-M7</version>
190                 </plugin>
191
192                 <plugin>
193                     <groupId>org.jacoco</groupId>
194                     <artifactId>jacoco-maven-plugin</artifactId>
195                     <version>0.8.8</version>
196                 </plugin>
197
198                 <plugin>
199                     <groupId>org.apache.maven.plugins</groupId>
200                     <artifactId>maven-jar-plugin</artifactId>
201                     <version>3.3.0</version>
202                 </plugin>
203
204                 <plugin>
205                     <groupId>org.apache.maven.plugins</groupId>
206                     <artifactId>maven-shade-plugin</artifactId>
207                     <version>3.4.0</version>
208                 </plugin>
209
210                 <plugin>
211                     <groupId>org.apache.maven.plugins</groupId>
212                     <artifactId>maven-source-plugin</artifactId>
213                     <version>3.2.1</version>
214                 </plugin>
215
216                 <plugin>
217                     <groupId>org.apache.maven.plugins</groupId>
218                     <artifactId>maven-install-plugin</artifactId>
219                     <version>3.0.1</version>
220                 </plugin>
221
222                 <plugin>
223                     <groupId>org.apache.maven.plugins</groupId>
224                     <artifactId>maven-deploy-plugin</artifactId>
225                     <version>3.0.0</version>
226                 </plugin>
227
228                 <plugin>
229                     <groupId>org.apache.maven.plugins</groupId>
230                     <artifactId>maven-site-plugin</artifactId>
231                     <version>3.12.1</version>
232                 </plugin>
233
234                 <plugin>
235                     <groupId>org.apache.maven.plugins</groupId>
236                     <artifactId>maven-assembly-plugin</artifactId>
237                     <version>3.4.2</version>
238                 </plugin>
239
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-project-info-reports-plugin</artifactId>
243                     <version>3.4.1</version>
244                 </plugin>
245
246                 <plugin>
247                     <groupId>org.apache.maven.plugins</groupId>
248                     <artifactId>maven-javadoc-plugin</artifactId>
249                     <version>3.4.1</version>
250                 </plugin>
251
252                 <plugin>
253                     <groupId>org.apache.maven.plugins</groupId>
254                     <artifactId>maven-jxr-plugin</artifactId>
255                     <version>3.3.0</version>
256                 </plugin>
257
258                 <plugin>
259                     <groupId>org.apache.maven.plugins</groupId>
260                     <artifactId>maven-checkstyle-plugin</artifactId>
261                     <version>3.2.0</version>
262                     <dependencies>
263                         <dependency>
264                             <groupId>com.puppycrawl.tools</groupId>
265                             <artifactId>checkstyle</artifactId>
266                             <version>10.3.4</version>
267                         </dependency>
268                     </dependencies>
269                 </plugin>
270
271                 <plugin>
272                     <groupId>org.apache.maven.plugins</groupId>
273                     <artifactId>maven-pmd-plugin</artifactId>
274                     <version>3.19.0</version>
275                     <dependencies>
276                         <dependency>
277                             <groupId>net.sourceforge.pmd</groupId>
278                             <artifactId>pmd-core</artifactId>
279                             <version>6.50.0</version>
280                         </dependency>
281                         <dependency>
282                             <groupId>net.sourceforge.pmd</groupId>
283                             <artifactId>pmd-java</artifactId>
284                             <version>6.50.0</version>
285                         </dependency>
286                     </dependencies>
287                 </plugin>
288
289                 <plugin>
290                     <groupId>com.github.spotbugs</groupId>
291                     <artifactId>spotbugs-maven-plugin</artifactId>
292                     <version>4.7.2.1</version>
293                     <dependencies>
294                         <dependency>
295                             <groupId>com.github.spotbugs</groupId>
296                             <artifactId>spotbugs</artifactId>
297                             <version>4.7.2</version>
298                         </dependency>
299                     </dependencies>
300                 </plugin>
301
302             </plugins>
303
304         </pluginManagement>
305
306         <plugins>
307
308
309             <!-- clean lifecycle -->
310
311             <plugin>
312                 <groupId>org.apache.maven.plugins</groupId>
313                 <artifactId>maven-clean-plugin</artifactId>
314                 <configuration>
315                     <filesets>
316                         <fileset>
317                             <directory>${project.basedir}</directory>
318                             <includes>
319                                 <include>**/*~</include>
320                                 <include>**/*.swp</include>
321                                 <include>**/*.DS_Store</include>
322                                 <include>**/._*</include>
323                                 <include>**/__MACOSX</include>
324                                 <include>**/Thumbs.db</include>
325                                 <include>**/desktop.ini</include>
326                                 <include>**/core</include>
327                                 <include>**/hs_err_pid*</include>
328                             </includes>
329                         </fileset>
330                     </filesets>
331                 </configuration>
332             </plugin>
333
334
335             <!-- default lifecycle -->
336
337             <plugin>
338                 <groupId>org.apache.maven.plugins</groupId>
339                 <artifactId>maven-enforcer-plugin</artifactId>
340                 <executions>
341                     <execution>
342                         <id>enforce-versions</id>
343                         <goals>
344                             <goal>enforce</goal>
345                         </goals>
346                         <configuration>
347                             <rules>
348                                 <requireMavenVersion>
349                                     <version>[3.3.9,)</version>
350                                 </requireMavenVersion>
351                                 <requireJavaVersion>
352                                     <version>[1.8,)</version>
353                                 </requireJavaVersion>
354                             </rules>
355                         </configuration>
356                     </execution>
357                 </executions>
358             </plugin>
359
360             <plugin>
361                 <groupId>org.apache.maven.plugins</groupId>
362                 <artifactId>maven-compiler-plugin</artifactId>
363                 <configuration>
364                     <source>1.8</source>  <!-- for NetBeans IDE -->
365                     <target>1.8</target>
366                     <compilerArguments>
367                         <Xlint/>
368                     </compilerArguments>
369                     <showWarnings>true</showWarnings>
370                     <showDeprecation>true</showDeprecation>
371                 </configuration>
372             </plugin>
373
374             <plugin>
375                 <groupId>org.apache.maven.plugins</groupId>
376                 <artifactId>maven-surefire-plugin</artifactId>
377                 <configuration>
378                     <enableAssertions>true</enableAssertions>
379                 </configuration>
380             </plugin>
381
382             <plugin>
383                 <groupId>org.jacoco</groupId>
384                 <artifactId>jacoco-maven-plugin</artifactId>
385                 <executions>
386                     <execution>
387                         <id>default-prepare-agent</id>
388                         <goals>
389                             <goal>prepare-agent</goal>
390                         </goals>
391                     </execution>
392                 </executions>
393             </plugin>
394
395             <plugin>
396                 <groupId>org.apache.maven.plugins</groupId>
397                 <artifactId>maven-jar-plugin</artifactId>
398                 <configuration>
399                     <archive>
400                         <manifest>
401                             <mainClass>${project.mainentry}</mainClass>
402                             <addDefaultImplementationEntries>
403                                 false
404                             </addDefaultImplementationEntries>
405                         </manifest>
406                         <manifestEntries>
407                             <SplashScreen-Image>${project.splash}</SplashScreen-Image>
408                             <Built-By>${project.organization.name}</Built-By>
409                         </manifestEntries>
410                     </archive>
411                 </configuration>
412             </plugin>
413
414             <plugin>
415                 <groupId>org.apache.maven.plugins</groupId>
416                 <artifactId>maven-shade-plugin</artifactId>
417                 <executions>
418                     <execution>
419                         <phase>package</phase>
420                         <goals>
421                             <goal>shade</goal>
422                         </goals>
423                         <configuration>
424                             <createDependencyReducedPom>false</createDependencyReducedPom>
425                             <filters>
426                                 <filter>
427                                     <artifact>jp.sourceforge.jindolf:jincore</artifact>
428                                     <excludes>
429                                         <exclude>META-INF/MANIFEST.MF</exclude>
430                                     </excludes>
431                                 </filter>
432                                 <filter>
433                                     <artifact>jp.osdn.jindolf:jinparser</artifact>
434                                     <excludes>
435                                         <exclude>META-INF/MANIFEST.MF</exclude>
436                                     </excludes>
437                                 </filter>
438                                 <filter>
439                                     <artifact>io.bitbucket.olyutorskii:jiocema</artifact>
440                                     <excludes>
441                                         <exclude>META-INF/MANIFEST.MF</exclude>
442                                     </excludes>
443                                 </filter>
444                                 <filter>
445                                     <artifact>io.github.olyutorskii:quetexj</artifact>
446                                     <excludes>
447                                         <exclude>META-INF/MANIFEST.MF</exclude>
448                                     </excludes>
449                                 </filter>
450                                 <filter>
451                                     <artifact>jp.sourceforge.jovsonz:jovsonz</artifact>
452                                     <excludes>
453                                         <exclude>META-INF/MANIFEST.MF</exclude>
454                                     </excludes>
455                                 </filter>
456                             </filters>
457                         </configuration>
458                     </execution>
459                 </executions>
460             </plugin>
461
462             <!-- site lifecycle -->
463
464             <plugin>
465                 <groupId>org.apache.maven.plugins</groupId>
466                 <artifactId>maven-site-plugin</artifactId>
467                 <configuration>
468                     <locales>${site.locales}</locales>
469                 </configuration>
470             </plugin>
471
472
473             <!-- goals without lifecycle -->
474
475             <plugin>
476                 <groupId>org.apache.maven.plugins</groupId>
477                 <artifactId>maven-javadoc-plugin</artifactId>
478                 <configuration>
479                     <locale>${javadoc.locale}</locale>
480                     <!-- for JDK11 javadoc -->
481                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
482                     <source>${maven.compiler.source}</source>
483                     <notimestamp>true</notimestamp>
484                     <header>${project.name} ${project.version} API</header>
485                     <nohelp>true</nohelp>
486                     <author>false</author>
487                     <quiet>true</quiet>
488                     <doclint>all</doclint>
489                     <show>protected</show>
490                 </configuration>
491             </plugin>
492
493             <plugin>
494                 <groupId>org.apache.maven.plugins</groupId>
495                 <artifactId>maven-assembly-plugin</artifactId>
496                 <configuration>
497                     <tarLongFileMode>posix</tarLongFileMode>
498                     <descriptors>
499                         <descriptor>src/assembly/src.xml</descriptor>
500                     </descriptors>
501                 </configuration>
502             </plugin>
503
504             <plugin>
505                 <groupId>org.apache.maven.plugins</groupId>
506                 <artifactId>maven-pmd-plugin</artifactId>
507                 <configuration>
508                     <rulesets>
509                         <ruleset>config/pmd/pmdrules.xml</ruleset>
510                     </rulesets>
511                 </configuration>
512             </plugin>
513
514         </plugins>
515
516         <resources>
517
518             <resource>
519                 <directory>src/main/resources</directory>
520                 <filtering>true</filtering>
521                 <includes>
522                     <include>**/version.properties</include>
523                 </includes>
524             </resource>
525
526             <resource>
527                 <directory>src/main/resources</directory>
528                 <includes>
529                     <include>**/*.txt</include>
530
531                     <include>**/*.properties</include>
532
533                     <include>**/*.xml</include>
534                     <include>**/*.xsd</include>
535                     <include>**/*.dtd</include>
536
537                     <include>**/*.html</include>
538                     <include>**/*.htm</include>
539                     <include>**/*.css</include>
540
541                     <include>**/*.png</include>
542                     <include>**/*.gif</include>
543                     <include>**/*.jpeg</include>
544                     <include>**/*.jpg</include>
545
546                     <include>**/*.json</include>
547                 </includes>
548                 <excludes>
549                     <exclude>**/version.properties</exclude>
550
551                     <exclude>**/.DS_Store</exclude>
552                     <exclude>**/__MACOSX</exclude>
553                     <exclude>**/Thumbs.db</exclude>
554                     <exclude>**/thumbs.db</exclude>
555                     <exclude>**/Desktop.ini</exclude>
556                     <exclude>**/desktop.ini</exclude>
557                     <exclude>**/core</exclude>
558                 </excludes>
559             </resource>
560
561         </resources>
562
563     </build>
564
565     <reporting>
566
567         <plugins>
568
569             <plugin>
570                 <groupId>org.apache.maven.plugins</groupId>
571                 <artifactId>maven-project-info-reports-plugin</artifactId>
572                 <configuration>
573                     <linkOnly>true</linkOnly>
574                     <offline>true</offline>
575                 </configuration>
576                 <reportSets>
577                     <reportSet>
578                         <reports>
579                             <report>index</report>
580                             <report>summary</report>
581                             <report>licenses</report>
582                             <report>dependency-info</report>
583                             <report>dependencies</report>
584                             <report>dependency-convergence</report>
585                             <report>plugins</report>
586                             <report>team</report>
587                             <report>issue-management</report>
588                             <report>scm</report>
589 <!--
590                             <report>dependency-management</report>
591                             <report>distribution-management</report>
592                             <report>ci-management</report>
593                             <report>mailing-lists</report>
594                             <report>modules</report>
595                             <report>plugin-management</report>
596 -->
597                         </reports>
598                     </reportSet>
599                 </reportSets>
600             </plugin>
601
602             <plugin>
603                 <groupId>org.apache.maven.plugins</groupId>
604                 <artifactId>maven-javadoc-plugin</artifactId>
605                 <configuration>
606                     <locale>${javadoc.locale}</locale>
607                     <!-- for JDK11 javadoc -->
608                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
609                     <source>${maven.compiler.source}</source>
610                     <notimestamp>true</notimestamp>
611                     <header>${project.name} ${project.version} API</header>
612                     <nohelp>true</nohelp>
613                     <author>false</author>
614                     <quiet>true</quiet>
615                     <doclint>all</doclint>
616                     <show>protected</show>
617                 </configuration>
618                 <reportSets>
619                     <reportSet>
620                         <reports>
621                             <report>javadoc</report>
622                         </reports>
623                     </reportSet>
624                 </reportSets>
625             </plugin>
626
627             <plugin>
628                 <groupId>org.apache.maven.plugins</groupId>
629                 <artifactId>maven-jxr-plugin</artifactId>
630             </plugin>
631
632             <plugin>
633                 <groupId>org.apache.maven.plugins</groupId>
634                 <artifactId>maven-surefire-report-plugin</artifactId>
635             </plugin>
636
637             <plugin>
638                 <groupId>org.jacoco</groupId>
639                 <artifactId>jacoco-maven-plugin</artifactId>
640                 <reportSets>
641                     <reportSet>
642                         <reports>
643                             <report>report</report>
644                         </reports>
645                     </reportSet>
646                 </reportSets>
647             </plugin>
648
649             <plugin>
650                 <groupId>org.apache.maven.plugins</groupId>
651                 <artifactId>maven-checkstyle-plugin</artifactId>
652                 <reportSets>
653                     <reportSet>
654                         <reports>
655                             <report>checkstyle</report>
656                         </reports>
657                     </reportSet>
658                 </reportSets>
659             </plugin>
660
661             <plugin>
662                 <groupId>org.apache.maven.plugins</groupId>
663                 <artifactId>maven-pmd-plugin</artifactId>
664                 <configuration>
665                     <rulesets>
666                         <ruleset>config/pmd/pmdrules.xml</ruleset>
667                     </rulesets>
668                 </configuration>
669                 <reportSets>
670                     <reportSet>
671                         <reports>
672                             <report>pmd</report>
673                             <report>cpd</report>
674                         </reports>
675                     </reportSet>
676                 </reportSets>
677             </plugin>
678
679             <plugin>
680                 <groupId>com.github.spotbugs</groupId>
681                 <artifactId>spotbugs-maven-plugin</artifactId>
682             </plugin>
683
684         </plugins>
685
686     </reporting>
687
688     <profiles>
689
690         <profile>
691             <id>release-profile</id>
692
693             <activation>
694                 <property>
695                     <name>performRelease</name>
696                     <value>true</value>
697                 </property>
698             </activation>
699
700             <build>
701                 <plugins>
702
703                     <plugin>
704                         <inherited>true</inherited>
705                         <groupId>org.apache.maven.plugins</groupId>
706                         <artifactId>maven-source-plugin</artifactId>
707                         <configuration>
708                             <includePom>true</includePom>
709                             <archive>
710                                 <manifestEntries>
711                                     <Built-By>${project.organization.name}</Built-By>
712                                 </manifestEntries>
713                             </archive>
714                         </configuration>
715                         <executions>
716                             <execution>
717                                 <id>attach-sources</id>
718                                 <goals>
719                                     <goal>jar-no-fork</goal>
720                                 </goals>
721                             </execution>
722                         </executions>
723                     </plugin>
724
725                     <plugin>
726                         <inherited>true</inherited>
727                         <groupId>org.apache.maven.plugins</groupId>
728                         <artifactId>maven-javadoc-plugin</artifactId>
729                         <configuration>
730                             <show>protected</show>
731                             <archive>
732                                 <manifestEntries>
733                                     <Built-By>${project.organization.name}</Built-By>
734                                 </manifestEntries>
735                             </archive>
736                         </configuration>
737                         <executions>
738                             <execution>
739                                 <id>attach-javadocs</id>
740                                 <goals>
741                                     <goal>jar</goal>
742                                 </goals>
743                             </execution>
744                         </executions>
745                     </plugin>
746
747                 </plugins>
748             </build>
749         </profile>
750
751     </profiles>
752
753 </project>
754
755 <!-- EOF -->