OSDN Git Service

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