OSDN Git Service

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