OSDN Git Service

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