OSDN Git Service

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