OSDN Git Service

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