OSDN Git Service

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