OSDN Git Service

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