OSDN Git Service

add local avatar images.
[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.107-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                     <descriptors>
444                         <descriptor>src/assembly/src.xml</descriptor>
445                     </descriptors>
446                 </configuration>
447             </plugin>
448
449             <plugin>
450                 <groupId>org.apache.maven.plugins</groupId>
451                 <artifactId>maven-pmd-plugin</artifactId>
452                 <configuration>
453                     <rulesets>
454                         <ruleset>config/pmd/pmdrules.xml</ruleset>
455                     </rulesets>
456                 </configuration>
457             </plugin>
458
459         </plugins>
460
461         <resources>
462
463             <resource>
464                 <directory>src/main/resources</directory>
465                 <filtering>true</filtering>
466                 <includes>
467                     <include>**/version.properties</include>
468                 </includes>
469             </resource>
470
471             <resource>
472                 <directory>src/main/resources</directory>
473                 <includes>
474                     <include>**/*.txt</include>
475
476                     <include>**/*.properties</include>
477
478                     <include>**/*.xml</include>
479                     <include>**/*.xsd</include>
480                     <include>**/*.dtd</include>
481
482                     <include>**/*.html</include>
483                     <include>**/*.htm</include>
484                     <include>**/*.css</include>
485
486                     <include>**/*.png</include>
487                     <include>**/*.gif</include>
488                     <include>**/*.jpeg</include>
489                     <include>**/*.jpg</include>
490
491                     <include>**/*.json</include>
492                 </includes>
493                 <excludes>
494                     <exclude>**/version.properties</exclude>
495
496                     <exclude>**/.DS_Store</exclude>
497                     <exclude>**/__MACOSX</exclude>
498                     <exclude>**/Thumbs.db</exclude>
499                     <exclude>**/thumbs.db</exclude>
500                     <exclude>**/Desktop.ini</exclude>
501                     <exclude>**/desktop.ini</exclude>
502                     <exclude>**/core</exclude>
503                 </excludes>
504             </resource>
505
506         </resources>
507
508     </build>
509
510     <reporting>
511
512         <plugins>
513
514             <plugin>
515                 <groupId>org.apache.maven.plugins</groupId>
516                 <artifactId>maven-project-info-reports-plugin</artifactId>
517                 <configuration>
518                     <linkOnly>true</linkOnly>
519                     <offline>true</offline>
520                 </configuration>
521                 <reportSets>
522                     <reportSet>
523                         <reports>
524                             <report>index</report>
525                             <report>summary</report>
526                             <report>licenses</report>
527                             <report>dependency-info</report>
528                             <report>dependencies</report>
529                             <report>dependency-convergence</report>
530                             <report>plugins</report>
531                             <report>team</report>
532                             <report>issue-management</report>
533                             <report>scm</report>
534 <!--
535                             <report>dependency-management</report>
536                             <report>distribution-management</report>
537                             <report>ci-management</report>
538                             <report>mailing-lists</report>
539                             <report>modules</report>
540                             <report>plugin-management</report>
541 -->
542                         </reports>
543                     </reportSet>
544                 </reportSets>
545             </plugin>
546
547             <plugin>
548                 <groupId>org.apache.maven.plugins</groupId>
549                 <artifactId>maven-javadoc-plugin</artifactId>
550                 <configuration>
551                     <locale>${javadoc.locale}</locale>
552                     <!-- for JDK11 javadoc -->
553                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
554                     <source>${maven.compiler.source}</source>
555                     <notimestamp>true</notimestamp>
556                     <header>${project.name} ${project.version} API</header>
557                     <nohelp>true</nohelp>
558                     <author>false</author>
559                     <quiet>true</quiet>
560                     <doclint>all</doclint>
561                     <show>protected</show>
562                 </configuration>
563                 <reportSets>
564                     <reportSet>
565                         <reports>
566                             <report>javadoc</report>
567                         </reports>
568                     </reportSet>
569                 </reportSets>
570             </plugin>
571
572             <plugin>
573                 <groupId>org.apache.maven.plugins</groupId>
574                 <artifactId>maven-jxr-plugin</artifactId>
575             </plugin>
576
577             <plugin>
578                 <groupId>org.apache.maven.plugins</groupId>
579                 <artifactId>maven-surefire-report-plugin</artifactId>
580             </plugin>
581
582             <plugin>
583                 <groupId>org.jacoco</groupId>
584                 <artifactId>jacoco-maven-plugin</artifactId>
585                 <reportSets>
586                     <reportSet>
587                         <reports>
588                             <report>report</report>
589                         </reports>
590                     </reportSet>
591                 </reportSets>
592             </plugin>
593
594             <plugin>
595                 <groupId>org.apache.maven.plugins</groupId>
596                 <artifactId>maven-checkstyle-plugin</artifactId>
597                 <reportSets>
598                     <reportSet>
599                         <reports>
600                             <report>checkstyle</report>
601                         </reports>
602                     </reportSet>
603                 </reportSets>
604             </plugin>
605
606             <plugin>
607                 <groupId>org.apache.maven.plugins</groupId>
608                 <artifactId>maven-pmd-plugin</artifactId>
609                 <configuration>
610                     <rulesets>
611                         <ruleset>config/pmd/pmdrules.xml</ruleset>
612                     </rulesets>
613                 </configuration>
614                 <reportSets>
615                     <reportSet>
616                         <reports>
617                             <report>pmd</report>
618                             <report>cpd</report>
619                         </reports>
620                     </reportSet>
621                 </reportSets>
622             </plugin>
623
624             <plugin>
625                 <groupId>com.github.spotbugs</groupId>
626                 <artifactId>spotbugs-maven-plugin</artifactId>
627             </plugin>
628
629         </plugins>
630
631     </reporting>
632
633     <profiles>
634
635         <profile>
636             <id>release-profile</id>
637
638             <activation>
639                 <property>
640                     <name>performRelease</name>
641                     <value>true</value>
642                 </property>
643             </activation>
644
645             <build>
646                 <plugins>
647
648                     <plugin>
649                         <inherited>true</inherited>
650                         <groupId>org.apache.maven.plugins</groupId>
651                         <artifactId>maven-source-plugin</artifactId>
652                         <configuration>
653                             <includePom>true</includePom>
654                             <archive>
655                                 <manifestEntries>
656                                     <Built-By>${project.organization.name}</Built-By>
657                                 </manifestEntries>
658                             </archive>
659                         </configuration>
660                         <executions>
661                             <execution>
662                                 <id>attach-sources</id>
663                                 <goals>
664                                     <goal>jar-no-fork</goal>
665                                 </goals>
666                             </execution>
667                         </executions>
668                     </plugin>
669
670                     <plugin>
671                         <inherited>true</inherited>
672                         <groupId>org.apache.maven.plugins</groupId>
673                         <artifactId>maven-javadoc-plugin</artifactId>
674                         <configuration>
675                             <show>protected</show>
676                             <archive>
677                                 <manifestEntries>
678                                     <Built-By>${project.organization.name}</Built-By>
679                                 </manifestEntries>
680                             </archive>
681                         </configuration>
682                         <executions>
683                             <execution>
684                                 <id>attach-javadocs</id>
685                                 <goals>
686                                     <goal>jar</goal>
687                                 </goals>
688                             </execution>
689                         </executions>
690                     </plugin>
691
692                 </plugins>
693             </build>
694         </profile>
695
696     </profiles>
697
698 </project>
699
700 <!-- EOF -->