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