OSDN Git Service

Merge branch 'pomconfig' into develop
[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.3-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</version>
118             <scope>test</scope>
119         </dependency>
120
121         <dependency>
122             <groupId>jp.osdn.jindolf</groupId>
123             <artifactId>jinparser</artifactId>
124             <version>2.102.4</version>
125             <scope>compile</scope>
126         </dependency>
127
128         <dependency>
129             <groupId>jp.sourceforge.jovsonz</groupId>
130             <artifactId>jovsonz</artifactId>
131             <version>1.101.104</version>
132             <scope>compile</scope>
133         </dependency>
134
135         <dependency>
136             <groupId>io.github.olyutorskii</groupId>
137             <artifactId>quetexj</artifactId>
138             <version>1.0.4</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-M3</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.6</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.1</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.0.0</version>
253                 </plugin>
254
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-checkstyle-plugin</artifactId>
258                     <version>3.1.1</version>
259                     <dependencies>
260                         <dependency>
261                             <groupId>com.puppycrawl.tools</groupId>
262                             <artifactId>checkstyle</artifactId>
263                             <version>8.36.2</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.13.0</version>
272                 </plugin>
273
274                 <plugin>
275                     <groupId>com.github.spotbugs</groupId>
276                     <artifactId>spotbugs-maven-plugin</artifactId>
277                     <version>4.1.3</version>
278                     <dependencies>
279                         <dependency>
280                             <groupId>com.github.spotbugs</groupId>
281                             <artifactId>spotbugs</artifactId>
282                             <version>4.1.3</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                             <mainClass>${project.mainentry}</mainClass>
387                             <addDefaultImplementationEntries>
388                                 false
389                             </addDefaultImplementationEntries>
390                         </manifest>
391                         <manifestEntries>
392                             <SplashScreen-Image>${project.splash}</SplashScreen-Image>
393                             <Built-By>${project.organization.name}</Built-By>
394                         </manifestEntries>
395                     </archive>
396                 </configuration>
397             </plugin>
398
399             <plugin>
400                 <groupId>org.apache.maven.plugins</groupId>
401                 <artifactId>maven-shade-plugin</artifactId>
402                 <executions>
403                     <execution>
404                         <phase>package</phase>
405                         <goals>
406                             <goal>shade</goal>
407                         </goals>
408                         <configuration>
409                             <createDependencyReducedPom>false</createDependencyReducedPom>
410                         </configuration>
411                     </execution>
412                 </executions>
413             </plugin>
414
415             <!-- site lifecycle -->
416
417             <plugin>
418                 <groupId>org.apache.maven.plugins</groupId>
419                 <artifactId>maven-site-plugin</artifactId>
420                 <configuration>
421                     <locales>${site.locales}</locales>
422                 </configuration>
423             </plugin>
424
425
426             <!-- goals without lifecycle -->
427
428             <plugin>
429                 <groupId>org.apache.maven.plugins</groupId>
430                 <artifactId>maven-javadoc-plugin</artifactId>
431                 <configuration>
432                     <locale>${javadoc.locale}</locale>
433                     <!-- for JDK11 javadoc -->
434                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
435                     <source>${maven.compiler.source}</source>
436                     <notimestamp>true</notimestamp>
437                     <header>${project.name} ${project.version} API</header>
438                     <nohelp>true</nohelp>
439                     <author>false</author>
440                     <quiet>true</quiet>
441                     <doclint>all</doclint>
442                     <show>protected</show>
443                 </configuration>
444             </plugin>
445
446             <plugin>
447                 <groupId>org.apache.maven.plugins</groupId>
448                 <artifactId>maven-assembly-plugin</artifactId>
449                 <configuration>
450                     <tarLongFileMode>posix</tarLongFileMode>
451                     <descriptors>
452                         <descriptor>src/assembly/src.xml</descriptor>
453                     </descriptors>
454                 </configuration>
455             </plugin>
456
457             <plugin>
458                 <groupId>org.apache.maven.plugins</groupId>
459                 <artifactId>maven-pmd-plugin</artifactId>
460                 <configuration>
461                     <rulesets>
462                         <ruleset>config/pmd/pmdrules.xml</ruleset>
463                     </rulesets>
464                 </configuration>
465             </plugin>
466
467         </plugins>
468
469         <resources>
470
471             <resource>
472                 <directory>src/main/resources</directory>
473                 <filtering>true</filtering>
474                 <includes>
475                     <include>**/version.properties</include>
476                 </includes>
477             </resource>
478
479             <resource>
480                 <directory>src/main/resources</directory>
481                 <includes>
482                     <include>**/*.txt</include>
483
484                     <include>**/*.properties</include>
485
486                     <include>**/*.xml</include>
487                     <include>**/*.xsd</include>
488                     <include>**/*.dtd</include>
489
490                     <include>**/*.html</include>
491                     <include>**/*.htm</include>
492                     <include>**/*.css</include>
493
494                     <include>**/*.png</include>
495                     <include>**/*.gif</include>
496                     <include>**/*.jpeg</include>
497                     <include>**/*.jpg</include>
498
499                     <include>**/*.json</include>
500                 </includes>
501                 <excludes>
502                     <exclude>**/version.properties</exclude>
503
504                     <exclude>**/.DS_Store</exclude>
505                     <exclude>**/__MACOSX</exclude>
506                     <exclude>**/Thumbs.db</exclude>
507                     <exclude>**/thumbs.db</exclude>
508                     <exclude>**/Desktop.ini</exclude>
509                     <exclude>**/desktop.ini</exclude>
510                     <exclude>**/core</exclude>
511                 </excludes>
512             </resource>
513
514         </resources>
515
516     </build>
517
518     <reporting>
519
520         <plugins>
521
522             <plugin>
523                 <groupId>org.apache.maven.plugins</groupId>
524                 <artifactId>maven-project-info-reports-plugin</artifactId>
525                 <configuration>
526                     <linkOnly>true</linkOnly>
527                     <offline>true</offline>
528                 </configuration>
529                 <reportSets>
530                     <reportSet>
531                         <reports>
532                             <report>index</report>
533                             <report>summary</report>
534                             <report>licenses</report>
535                             <report>dependency-info</report>
536                             <report>dependencies</report>
537                             <report>dependency-convergence</report>
538                             <report>plugins</report>
539                             <report>team</report>
540                             <report>issue-management</report>
541                             <report>scm</report>
542 <!--
543                             <report>dependency-management</report>
544                             <report>distribution-management</report>
545                             <report>ci-management</report>
546                             <report>mailing-lists</report>
547                             <report>modules</report>
548                             <report>plugin-management</report>
549 -->
550                         </reports>
551                     </reportSet>
552                 </reportSets>
553             </plugin>
554
555             <plugin>
556                 <groupId>org.apache.maven.plugins</groupId>
557                 <artifactId>maven-javadoc-plugin</artifactId>
558                 <configuration>
559                     <locale>${javadoc.locale}</locale>
560                     <!-- for JDK11 javadoc -->
561                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
562                     <source>${maven.compiler.source}</source>
563                     <notimestamp>true</notimestamp>
564                     <header>${project.name} ${project.version} API</header>
565                     <nohelp>true</nohelp>
566                     <author>false</author>
567                     <quiet>true</quiet>
568                     <doclint>all</doclint>
569                     <show>protected</show>
570                 </configuration>
571                 <reportSets>
572                     <reportSet>
573                         <reports>
574                             <report>javadoc</report>
575                         </reports>
576                     </reportSet>
577                 </reportSets>
578             </plugin>
579
580             <plugin>
581                 <groupId>org.apache.maven.plugins</groupId>
582                 <artifactId>maven-jxr-plugin</artifactId>
583             </plugin>
584
585             <plugin>
586                 <groupId>org.apache.maven.plugins</groupId>
587                 <artifactId>maven-surefire-report-plugin</artifactId>
588             </plugin>
589
590             <plugin>
591                 <groupId>org.jacoco</groupId>
592                 <artifactId>jacoco-maven-plugin</artifactId>
593                 <reportSets>
594                     <reportSet>
595                         <reports>
596                             <report>report</report>
597                         </reports>
598                     </reportSet>
599                 </reportSets>
600             </plugin>
601
602             <plugin>
603                 <groupId>org.apache.maven.plugins</groupId>
604                 <artifactId>maven-checkstyle-plugin</artifactId>
605                 <reportSets>
606                     <reportSet>
607                         <reports>
608                             <report>checkstyle</report>
609                         </reports>
610                     </reportSet>
611                 </reportSets>
612             </plugin>
613
614             <plugin>
615                 <groupId>org.apache.maven.plugins</groupId>
616                 <artifactId>maven-pmd-plugin</artifactId>
617                 <configuration>
618                     <rulesets>
619                         <ruleset>config/pmd/pmdrules.xml</ruleset>
620                     </rulesets>
621                 </configuration>
622                 <reportSets>
623                     <reportSet>
624                         <reports>
625                             <report>pmd</report>
626                             <report>cpd</report>
627                         </reports>
628                     </reportSet>
629                 </reportSets>
630             </plugin>
631
632             <plugin>
633                 <groupId>com.github.spotbugs</groupId>
634                 <artifactId>spotbugs-maven-plugin</artifactId>
635             </plugin>
636
637         </plugins>
638
639     </reporting>
640
641     <profiles>
642
643         <profile>
644             <id>release-profile</id>
645
646             <activation>
647                 <property>
648                     <name>performRelease</name>
649                     <value>true</value>
650                 </property>
651             </activation>
652
653             <build>
654                 <plugins>
655
656                     <plugin>
657                         <inherited>true</inherited>
658                         <groupId>org.apache.maven.plugins</groupId>
659                         <artifactId>maven-source-plugin</artifactId>
660                         <configuration>
661                             <includePom>true</includePom>
662                             <archive>
663                                 <manifestEntries>
664                                     <Built-By>${project.organization.name}</Built-By>
665                                 </manifestEntries>
666                             </archive>
667                         </configuration>
668                         <executions>
669                             <execution>
670                                 <id>attach-sources</id>
671                                 <goals>
672                                     <goal>jar-no-fork</goal>
673                                 </goals>
674                             </execution>
675                         </executions>
676                     </plugin>
677
678                     <plugin>
679                         <inherited>true</inherited>
680                         <groupId>org.apache.maven.plugins</groupId>
681                         <artifactId>maven-javadoc-plugin</artifactId>
682                         <configuration>
683                             <show>protected</show>
684                             <archive>
685                                 <manifestEntries>
686                                     <Built-By>${project.organization.name}</Built-By>
687                                 </manifestEntries>
688                             </archive>
689                         </configuration>
690                         <executions>
691                             <execution>
692                                 <id>attach-javadocs</id>
693                                 <goals>
694                                     <goal>jar</goal>
695                                 </goals>
696                             </execution>
697                         </executions>
698                     </plugin>
699
700                 </plugins>
701             </build>
702         </profile>
703
704     </profiles>
705
706 </project>
707
708 <!-- EOF -->