OSDN Git Service

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