OSDN Git Service

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