OSDN Git Service

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