OSDN Git Service

Merge release/v3.303.106
[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>3.303.106</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
83         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
84         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
85
86         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <locale>en</locale>
91         <site.locales>${locale}</site.locales>
92         <javadoc.locale>${locale}</javadoc.locale>
93         <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.jvmArgs>
94
95         <!-- Walk around: JDK 11 javadoc + Maven -->
96         <detectJavaApiLink>false</detectJavaApiLink>
97
98         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
99         <jacoco-plugin.version>0.8.3</jacoco-plugin.version>
100
101         <checkstyle-plugin.version>3.0.0</checkstyle-plugin.version>
102         <checkstyleruntime.version>8.20</checkstyleruntime.version>
103         <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
104         <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
105         <checkstyle.enable.rss>false</checkstyle.enable.rss>
106
107         <pmd-plugin.version>3.12.0</pmd-plugin.version>
108         <pmd.analysisCache>true</pmd.analysisCache>
109
110         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
111         <spotbugs.effort>Max</spotbugs.effort>
112         <spotbugs.threshold>Low</spotbugs.threshold>
113         <!-- for Jenkins -->
114         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
115
116         <project.mainentry>jp.sfjp.jindolf.Jindolf</project.mainentry>
117         <project.splash>jp/sfjp/jindolf/resources/image/logo.png</project.splash>
118
119     </properties>
120
121     <dependencyManagement/>
122
123     <dependencies>
124
125         <dependency>
126             <groupId>junit</groupId>
127             <artifactId>junit</artifactId>
128             <version>4.12</version>
129             <scope>test</scope>
130         </dependency>
131
132         <dependency>
133             <groupId>jp.osdn.jindolf</groupId>
134             <artifactId>jinparser</artifactId>
135             <version>2.101.106</version>
136             <scope>compile</scope>
137         </dependency>
138
139         <dependency>
140             <groupId>jp.sourceforge.jovsonz</groupId>
141             <artifactId>jovsonz</artifactId>
142             <version>1.101.104</version>
143             <scope>compile</scope>
144         </dependency>
145
146     </dependencies>
147
148     <repositories/>
149     <pluginRepositories/>
150
151     <build>
152
153         <pluginManagement>
154
155             <plugins>
156
157                 <plugin>
158                     <groupId>org.apache.maven.plugins</groupId>
159                     <artifactId>maven-checkstyle-plugin</artifactId>
160                     <version>${checkstyle-plugin.version}</version>
161                     <dependencies>
162                         <dependency>
163                             <groupId>com.puppycrawl.tools</groupId>
164                             <artifactId>checkstyle</artifactId>
165                             <version>${checkstyleruntime.version}</version>
166                         </dependency>
167                     </dependencies>
168                 </plugin>
169
170             </plugins>
171
172         </pluginManagement>
173
174         <plugins>
175
176
177             <!-- clean lifecycle -->
178
179             <plugin>
180                 <groupId>org.apache.maven.plugins</groupId>
181                 <artifactId>maven-clean-plugin</artifactId>
182                 <version>3.1.0</version>
183                 <configuration>
184                     <filesets>
185                         <fileset>
186                             <directory>${project.basedir}</directory>
187                             <includes>
188                                 <include>**/*~</include>
189                                 <include>**/*.swp</include>
190                                 <include>**/*.DS_Store</include>
191                                 <include>**/._*</include>
192                                 <include>**/__MACOSX</include>
193                                 <include>**/Thumbs.db</include>
194                                 <include>**/desktop.ini</include>
195                                 <include>**/core</include>
196                                 <include>**/hs_err_pid*</include>
197                             </includes>
198                         </fileset>
199                     </filesets>
200                 </configuration>
201             </plugin>
202
203
204             <!-- default lifecycle -->
205
206             <plugin>
207                 <groupId>org.apache.maven.plugins</groupId>
208                 <artifactId>maven-enforcer-plugin</artifactId>
209                 <version>3.0.0-M2</version>
210                 <executions>
211                     <execution>
212                         <id>enforce-versions</id>
213                         <goals>
214                             <goal>enforce</goal>
215                         </goals>
216                         <configuration>
217                             <rules>
218                                 <requireMavenVersion>
219                                     <version>[3.3.9,)</version>
220                                 </requireMavenVersion>
221                                 <requireJavaVersion>
222                                     <version>[1.8,)</version>
223                                 </requireJavaVersion>
224                             </rules>
225                         </configuration>
226                     </execution>
227                 </executions>
228             </plugin>
229
230             <plugin>
231                 <groupId>org.apache.maven.plugins</groupId>
232                 <artifactId>maven-resources-plugin</artifactId>
233                 <version>3.1.0</version>
234             </plugin>
235
236             <plugin>
237                 <groupId>org.apache.maven.plugins</groupId>
238                 <artifactId>maven-compiler-plugin</artifactId>
239                 <version>3.8.0</version>
240                 <configuration>
241                     <source>1.8</source>  <!-- for NetBeans IDE -->
242                     <target>1.8</target>
243                     <compilerArguments>
244                         <Xlint/>
245                     </compilerArguments>
246                     <showWarnings>true</showWarnings>
247                     <showDeprecation>true</showDeprecation>
248                 </configuration>
249             </plugin>
250
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-surefire-plugin</artifactId>
254                 <version>${surefire-plugin.version}</version>
255                 <configuration>
256                     <enableAssertions>true</enableAssertions>
257                 </configuration>
258             </plugin>
259
260             <plugin>
261                 <groupId>org.jacoco</groupId>
262                 <artifactId>jacoco-maven-plugin</artifactId>
263                 <version>${jacoco-plugin.version}</version>
264                 <executions>
265                     <execution>
266                         <id>default-prepare-agent</id>
267                         <goals>
268                             <goal>prepare-agent</goal>
269                         </goals>
270                     </execution>
271                     <execution>
272                         <id>default-report</id>
273                         <phase>prepare-package</phase>
274                         <goals>
275                             <goal>report</goal>
276                         </goals>
277                     </execution>
278                     <execution>
279                         <id>default-check</id>
280                         <goals>
281                             <goal>check</goal>
282                         </goals>
283                         <configuration>
284                             <rules>
285                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
286                                     <element>BUNDLE</element>
287                                     <limits>
288                                         <limit implementation="org.jacoco.report.check.Limit">
289                                             <counter>COMPLEXITY</counter>
290                                             <value>COVEREDRATIO</value>
291                                             <minimum>0.0</minimum>
292                                         </limit>
293                                     </limits>
294                                 </rule>
295                             </rules>
296                         </configuration>
297                     </execution>
298                 </executions>
299             </plugin>
300
301             <plugin>
302                 <groupId>org.apache.maven.plugins</groupId>
303                 <artifactId>maven-jar-plugin</artifactId>
304                 <version>3.1.1</version>
305                 <configuration>
306                     <archive>
307                         <manifest>
308                             <mainClass>${project.mainentry}</mainClass>
309                             <addDefaultImplementationEntries>
310                                 false
311                             </addDefaultImplementationEntries>
312                         </manifest>
313                         <manifestEntries>
314                             <SplashScreen-Image>${project.splash}</SplashScreen-Image>
315                             <Built-By>${project.organization.name}</Built-By>
316                         </manifestEntries>
317                     </archive>
318                 </configuration>
319             </plugin>
320
321             <plugin>
322                 <groupId>org.apache.maven.plugins</groupId>
323                 <artifactId>maven-shade-plugin</artifactId>
324                 <version>3.2.1</version>
325                 <executions>
326                     <execution>
327                         <phase>package</phase>
328                         <goals>
329                           <goal>shade</goal>
330                         </goals>
331                         <configuration>
332                             <createDependencyReducedPom>false</createDependencyReducedPom>
333                         </configuration>
334                     </execution>
335                 </executions>
336             </plugin>
337
338             <plugin>
339                 <groupId>org.apache.maven.plugins</groupId>
340                 <artifactId>maven-source-plugin</artifactId>
341                 <version>3.0.1</version>
342                 <configuration>
343                     <includePom>true</includePom>
344                     <archive>
345                         <manifestEntries>
346                             <Built-By>${project.organization.name}</Built-By>
347                         </manifestEntries>
348                     </archive>
349                 </configuration>
350                 <executions>
351                     <execution>
352                         <id>attach-sources</id>
353                         <phase>verify</phase>
354                         <goals>
355                           <goal>jar-no-fork</goal>
356                         </goals>
357                     </execution>
358                 </executions>
359             </plugin>
360
361             <plugin>
362                 <groupId>org.apache.maven.plugins</groupId>
363                 <artifactId>maven-install-plugin</artifactId>
364                 <version>3.0.0-M1</version>
365             </plugin>
366
367             <plugin>
368                 <groupId>org.apache.maven.plugins</groupId>
369                 <artifactId>maven-deploy-plugin</artifactId>
370                 <version>3.0.0-M1</version>
371             </plugin>
372
373
374             <!-- site lifecycle -->
375
376             <plugin>
377                 <groupId>org.apache.maven.plugins</groupId>
378                 <artifactId>maven-site-plugin</artifactId>
379                 <version>3.7.1</version>
380                 <configuration>
381                     <locales>${site.locales}</locales>
382                 </configuration>
383             </plugin>
384
385
386             <!-- goals without lifecycle -->
387
388             <plugin>
389                 <groupId>org.apache.maven.plugins</groupId>
390                 <artifactId>maven-assembly-plugin</artifactId>
391                 <version>3.1.1</version>
392                 <configuration>
393                     <descriptors>
394                         <descriptor>src/assembly/src.xml</descriptor>
395                     </descriptors>
396                 </configuration>
397             </plugin>
398
399             <plugin>
400                 <groupId>org.apache.maven.plugins</groupId>
401                 <artifactId>maven-checkstyle-plugin</artifactId>
402                 <version>${checkstyle-plugin.version}</version>
403             </plugin>
404
405             <plugin>
406                 <groupId>org.apache.maven.plugins</groupId>
407                 <artifactId>maven-pmd-plugin</artifactId>
408                 <version>${pmd-plugin.version}</version>
409                 <configuration>
410                     <rulesets>
411                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
412                     </rulesets>
413                 </configuration>
414             </plugin>
415
416             <plugin>
417                 <groupId>com.github.spotbugs</groupId>
418                 <artifactId>spotbugs-maven-plugin</artifactId>
419                 <version>${spotbugs-plugin.version}</version>
420             </plugin>
421
422         </plugins>
423
424         <resources>
425
426             <resource>
427                 <directory>src/main/resources</directory>
428                 <filtering>true</filtering>
429                 <includes>
430                     <include>**/version.properties</include>
431                 </includes>
432             </resource>
433
434             <resource>
435                 <directory>src/main/resources</directory>
436                 <includes>
437                     <include>**/*.txt</include>
438
439                     <include>**/*.properties</include>
440
441                     <include>**/*.xml</include>
442                     <include>**/*.xsd</include>
443                     <include>**/*.dtd</include>
444
445                     <include>**/*.html</include>
446                     <include>**/*.htm</include>
447                     <include>**/*.css</include>
448
449                     <include>**/*.png</include>
450                     <include>**/*.gif</include>
451                     <include>**/*.jpeg</include>
452                     <include>**/*.jpg</include>
453                 </includes>
454                 <excludes>
455                     <exclude>**/version.properties</exclude>
456
457                     <exclude>**/.DS_Store</exclude>
458                     <exclude>**/__MACOSX</exclude>
459                     <exclude>**/Thumbs.db</exclude>
460                     <exclude>**/thumbs.db</exclude>
461                     <exclude>**/Desktop.ini</exclude>
462                     <exclude>**/desktop.ini</exclude>
463                     <exclude>**/core</exclude>
464                 </excludes>
465             </resource>
466
467         </resources>
468
469     </build>
470
471     <reporting>
472
473         <plugins>
474
475             <plugin>
476                 <groupId>org.apache.maven.plugins</groupId>
477                 <artifactId>maven-project-info-reports-plugin</artifactId>
478                 <version>3.0.0</version>
479                 <configuration>
480                     <linkOnly>true</linkOnly>
481                     <offline>true</offline>
482                 </configuration>
483                 <reportSets>
484                     <reportSet>
485                         <reports>
486                             <report>index</report>
487                             <report>summary</report>
488                             <report>licenses</report>
489                             <report>dependency-info</report>
490                             <report>dependencies</report>
491                             <report>dependency-convergence</report>
492                             <report>plugins</report>
493                             <report>plugin-management</report>
494                             <report>team</report>
495                             <report>issue-management</report>
496                             <report>scm</report>
497 <!--
498                             <report>dependency-management</report>
499                             <report>distribution-management</report>
500                             <report>ci-management</report>
501                             <report>mailing-lists</report>
502                             <report>modules</report>
503 -->
504                         </reports>
505                     </reportSet>
506                 </reportSets>
507             </plugin>
508
509             <plugin>
510                 <groupId>org.apache.maven.plugins</groupId>
511                 <artifactId>maven-javadoc-plugin</artifactId>
512                 <version>3.1.0</version>
513                 <configuration>
514                     <author>false</author>
515                     <notimestamp>true</notimestamp>
516                     <quiet>true</quiet>
517                     <show>protected</show>
518                     <header>${project.name} ${project.version} API</header>
519                     <version>true</version>
520                     <locale>${javadoc.locale}</locale>
521                     <!-- for JDK11 javadoc -->
522                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
523                 </configuration>
524                 <reportSets>
525                     <reportSet>
526                         <reports>
527                             <report>javadoc</report>
528                         </reports>
529                     </reportSet>
530                 </reportSets>
531             </plugin>
532
533             <plugin>
534                 <groupId>org.apache.maven.plugins</groupId>
535                 <artifactId>maven-jxr-plugin</artifactId>
536                 <version>3.0.0</version>
537             </plugin>
538
539             <plugin>
540                 <groupId>org.apache.maven.plugins</groupId>
541                 <artifactId>maven-surefire-report-plugin</artifactId>
542                 <version>${surefire-plugin.version}</version>
543             </plugin>
544
545             <plugin>
546                 <groupId>org.jacoco</groupId>
547                 <artifactId>jacoco-maven-plugin</artifactId>
548                 <version>${jacoco-plugin.version}</version>
549                 <reportSets>
550                     <reportSet>
551                         <reports>
552                             <report>report</report>
553                         </reports>
554                     </reportSet>
555                 </reportSets>
556             </plugin>
557
558             <plugin>
559                 <groupId>org.apache.maven.plugins</groupId>
560                 <artifactId>maven-checkstyle-plugin</artifactId>
561                 <version>${checkstyle-plugin.version}</version>
562                 <reportSets>
563                     <reportSet>
564                         <reports>
565                             <report>checkstyle</report>
566                         </reports>
567                     </reportSet>
568                 </reportSets>
569             </plugin>
570
571             <plugin>
572                 <groupId>org.apache.maven.plugins</groupId>
573                 <artifactId>maven-pmd-plugin</artifactId>
574                 <version>${pmd-plugin.version}</version>
575                 <configuration>
576                     <rulesets>
577                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
578                     </rulesets>
579                 </configuration>
580                 <reportSets>
581                     <reportSet>
582                         <reports>
583                             <report>pmd</report>
584                             <report>cpd</report>
585                         </reports>
586                     </reportSet>
587                 </reportSets>
588             </plugin>
589
590             <plugin>
591                 <groupId>com.github.spotbugs</groupId>
592                 <artifactId>spotbugs-maven-plugin</artifactId>
593                 <version>${spotbugs-plugin.version}</version>
594             </plugin>
595
596         </plugins>
597
598     </reporting>
599
600     <profiles/>
601
602 </project>
603
604 <!-- EOF -->