OSDN Git Service

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