OSDN Git Service

pomconfig とマージ
[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.1-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         </dependency>
136
137     </dependencies>
138
139     <repositories/>
140     <pluginRepositories/>
141
142     <build>
143
144         <pluginManagement>
145
146             <plugins>
147
148                 <plugin>
149                     <groupId>org.apache.maven.plugins</groupId>
150                     <artifactId>maven-checkstyle-plugin</artifactId>
151                     <version>${checkstyle-plugin.version}</version>
152                     <dependencies>
153                         <!-- dependency>
154                             <groupId>com.puppycrawl.tools</groupId>
155                             <artifactId>checkstyle</artifactId>
156                             <artifactId>checkstyle-backport-jre6</artifactId>
157                             <version>${checkstyleruntime.version}</version>
158                         </dependency -->
159                     </dependencies>
160                 </plugin>
161
162             </plugins>
163
164         </pluginManagement>
165
166         <plugins>
167
168
169             <!-- clean lifecycle -->
170
171             <plugin>
172                 <groupId>org.apache.maven.plugins</groupId>
173                 <artifactId>maven-clean-plugin</artifactId>
174                 <version>3.0.0</version>
175                 <configuration>
176                     <filesets>
177                         <fileset>
178                             <directory>${project.basedir}</directory>
179                             <includes>
180                                 <include>**/*~</include>
181                                 <include>**/*.swp</include>
182                                 <include>**/*.DS_Store</include>
183                                 <include>**/._*</include>
184                                 <include>**/__MACOSX</include>
185                                 <include>**/Thumbs.db</include>
186                                 <include>**/desktop.ini</include>
187                                 <include>**/core</include>
188                                 <include>**/hs_err_pid*</include>
189                             </includes>
190                         </fileset>
191                     </filesets>
192                 </configuration>
193             </plugin>
194
195
196             <!-- default lifecycle -->
197
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-enforcer-plugin</artifactId>
201                 <version>3.0.0-M1</version>
202                 <configuration>
203                     <rules>
204                         <requireMavenVersion>
205                             <version>[3.0.1,)</version>
206                         </requireMavenVersion>
207                         <requireJavaVersion>
208                             <version>[1.7,)</version>
209                         </requireJavaVersion>
210                     </rules>
211                 </configuration>
212             </plugin>
213
214             <plugin>
215                 <groupId>org.apache.maven.plugins</groupId>
216                 <artifactId>maven-resources-plugin</artifactId>
217                 <version>3.0.2</version>
218             </plugin>
219
220             <plugin>
221                 <groupId>org.apache.maven.plugins</groupId>
222                 <artifactId>maven-compiler-plugin</artifactId>
223                 <version>3.7.0</version>
224                 <configuration>
225                     <source>1.7</source>  <!-- for NetBeans IDE -->
226                     <target>1.7</target>
227                     <compilerArguments>
228                         <Xlint/>
229                     </compilerArguments>
230                     <showWarnings>true</showWarnings>
231                     <showDeprecation>true</showDeprecation>
232                 </configuration>
233             </plugin>
234
235             <plugin>
236                 <groupId>org.apache.maven.plugins</groupId>
237                 <artifactId>maven-surefire-plugin</artifactId>
238                 <version>2.21.0</version>
239                 <configuration>
240                     <enableAssertions>true</enableAssertions>
241                 </configuration>
242             </plugin>
243
244             <plugin>
245                 <groupId>org.jacoco</groupId>
246                 <artifactId>jacoco-maven-plugin</artifactId>
247                 <version>${jacoco-plugin.version}</version>
248                 <executions>
249                     <execution>
250                         <id>default-prepare-agent</id>
251                         <goals>
252                             <goal>prepare-agent</goal>
253                         </goals>
254                     </execution>
255                     <execution>
256                         <id>default-report</id>
257                         <phase>prepare-package</phase>
258                         <goals>
259                             <goal>report</goal>
260                         </goals>
261                     </execution>
262                     <execution>
263                         <id>default-check</id>
264                         <goals>
265                             <goal>check</goal>
266                         </goals>
267                         <configuration>
268                             <rules>
269                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
270                                     <element>BUNDLE</element>
271                                     <limits>
272                                         <limit implementation="org.jacoco.report.check.Limit">
273                                             <counter>COMPLEXITY</counter>
274                                             <value>COVEREDRATIO</value>
275                                             <minimum>0.0</minimum>
276                                         </limit>
277                                     </limits>
278                                 </rule>
279                             </rules>
280                         </configuration>
281                     </execution>
282                 </executions>
283             </plugin>
284
285             <plugin>
286                 <groupId>org.apache.maven.plugins</groupId>
287                 <artifactId>maven-jar-plugin</artifactId>
288                 <version>3.0.2</version>
289                 <configuration>
290                     <archive>
291                         <manifest>
292                             <addDefaultImplementationEntries>
293                                 true
294                             </addDefaultImplementationEntries>
295                         </manifest>
296                         <manifestEntries>
297                             <Built-By>${project.organization.name}</Built-By>
298                         </manifestEntries>
299                     </archive>
300                 </configuration>
301             </plugin>
302
303             <plugin>
304                 <groupId>org.apache.maven.plugins</groupId>
305                 <artifactId>maven-source-plugin</artifactId>
306                 <version>3.0.1</version>
307                 <configuration>
308                     <includePom>true</includePom>
309                     <archive>
310                         <manifestEntries>
311                             <Built-By>${project.organization.name}</Built-By>
312                         </manifestEntries>
313                     </archive>
314                 </configuration>
315                 <executions>
316                     <execution>
317                         <id>attach-sources</id>
318                         <phase>verify</phase>
319                         <goals>
320                           <goal>jar-no-fork</goal>
321                         </goals>
322                     </execution>
323                 </executions>
324             </plugin>
325
326             <plugin>
327                 <groupId>org.apache.maven.plugins</groupId>
328                 <artifactId>maven-install-plugin</artifactId>
329                 <version>2.5.2</version>
330             </plugin>
331
332             <plugin>
333                 <groupId>org.apache.maven.plugins</groupId>
334                 <artifactId>maven-deploy-plugin</artifactId>
335                 <version>2.8.2</version>
336             </plugin>
337
338
339             <!-- site lifecycle -->
340
341             <plugin>
342                 <groupId>org.apache.maven.plugins</groupId>
343                 <artifactId>maven-site-plugin</artifactId>
344                 <version>3.7</version>
345                 <configuration>
346                     <locales>${site.locales}</locales>
347                 </configuration>
348             </plugin>
349
350
351             <!-- goals without lifecycle -->
352
353             <plugin>
354                 <groupId>org.apache.maven.plugins</groupId>
355                 <artifactId>maven-assembly-plugin</artifactId>
356                 <version>3.1.0</version>
357                 <configuration>
358                     <descriptors>
359                         <descriptor>src/assembly/src.xml</descriptor>
360                     </descriptors>
361                 </configuration>
362             </plugin>
363
364             <plugin>
365                 <groupId>org.apache.maven.plugins</groupId>
366                 <artifactId>maven-checkstyle-plugin</artifactId>
367                 <version>${checkstyle-plugin.version}</version>
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>3.0.0</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.21.0</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>${checkstyle-plugin.version}</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>${pmd-plugin.version}</version>
521                 <configuration>
522                     <rulesets>
523                         <ruleset>${project.basedir}/config/pmd/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>${findbugs-plugin.version}</version>
540             </plugin>
541
542         </plugins>
543
544     </reporting>
545
546     <profiles/>
547
548 </project>
549
550 <!-- EOF -->