OSDN Git Service

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