OSDN Git Service

modify changelog
[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.4</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         <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
96         <jacoco-plugin.version>0.7.9</jacoco-plugin.version>
97
98         <checkstyle-plugin.version>2.17</checkstyle-plugin.version>
99         <checkstyleruntime.version>6.19</checkstyleruntime.version>
100         <checkstyle.config.location>${project.basedir}/checkstyle.xml</checkstyle.config.location>
101         <checkstyle.suppressions.location>${project.basedir}/checkstyle-suppressions.xml</checkstyle.suppressions.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>3.0.0</version>
305                 <executions>
306                     <execution>
307                         <phase>package</phase>
308                         <goals>
309                           <goal>shade</goal>
310                         </goals>
311                         <configuration>
312                             <createDependencyReducedPom>false</createDependencyReducedPom>
313                         </configuration>
314                     </execution>
315                 </executions>
316             </plugin>
317
318             <plugin>
319                 <groupId>org.apache.maven.plugins</groupId>
320                 <artifactId>maven-source-plugin</artifactId>
321                 <version>3.0.1</version>
322                 <configuration>
323                     <includePom>true</includePom>
324                     <archive>
325                         <manifestEntries>
326                             <Built-By>${project.organization.name}</Built-By>
327                         </manifestEntries>
328                     </archive>
329                 </configuration>
330                 <executions>
331                     <execution>
332                         <id>attach-sources</id>
333                         <phase>verify</phase>
334                         <goals>
335                           <goal>jar-no-fork</goal>
336                         </goals>
337                     </execution>
338                 </executions>
339             </plugin>
340
341             <plugin>
342                 <groupId>org.apache.maven.plugins</groupId>
343                 <artifactId>maven-install-plugin</artifactId>
344                 <version>2.5.2</version>
345             </plugin>
346
347             <plugin>
348                 <groupId>org.apache.maven.plugins</groupId>
349                 <artifactId>maven-deploy-plugin</artifactId>
350                 <version>2.8.2</version>
351             </plugin>
352
353
354             <!-- site lifecycle -->
355
356             <plugin>
357                 <groupId>org.apache.maven.plugins</groupId>
358                 <artifactId>maven-site-plugin</artifactId>
359                 <version>3.6</version>
360                 <configuration>
361                     <locales>${site.locales}</locales>
362                 </configuration>
363             </plugin>
364
365
366             <!-- goals without lifecycle -->
367
368             <plugin>
369                 <groupId>org.apache.maven.plugins</groupId>
370                 <artifactId>maven-assembly-plugin</artifactId>
371                 <version>3.0.0</version>
372                 <configuration>
373                     <descriptors>
374                         <descriptor>src/assembly/src.xml</descriptor>
375                     </descriptors>
376                 </configuration>
377             </plugin>
378
379             <plugin>
380                 <groupId>org.apache.maven.plugins</groupId>
381                 <artifactId>maven-checkstyle-plugin</artifactId>
382                 <version>${checkstyle-plugin.version}</version>
383             </plugin>
384
385         </plugins>
386
387         <resources>
388
389             <resource>
390                 <directory>src/main/resources</directory>
391                 <filtering>true</filtering>
392                 <includes>
393                     <include>**/version.properties</include>
394                 </includes>
395             </resource>
396
397             <resource>
398                 <directory>src/main/resources</directory>
399                 <includes>
400                     <include>**/*.txt</include>
401
402                     <include>**/*.properties</include>
403
404                     <include>**/*.xml</include>
405                     <include>**/*.xsd</include>
406                     <include>**/*.dtd</include>
407
408                     <include>**/*.html</include>
409                     <include>**/*.htm</include>
410                     <include>**/*.css</include>
411
412                     <include>**/*.png</include>
413                     <include>**/*.gif</include>
414                     <include>**/*.jpeg</include>
415                     <include>**/*.jpg</include>
416                 </includes>
417                 <excludes>
418                     <exclude>**/version.properties</exclude>
419
420                     <exclude>**/.DS_Store</exclude>
421                     <exclude>**/__MACOSX</exclude>
422                     <exclude>**/Thumbs.db</exclude>
423                     <exclude>**/thumbs.db</exclude>
424                     <exclude>**/Desktop.ini</exclude>
425                     <exclude>**/desktop.ini</exclude>
426                     <exclude>**/core</exclude>
427                 </excludes>
428             </resource>
429
430         </resources>
431
432     </build>
433
434     <reporting>
435
436         <plugins>
437
438             <plugin>
439                 <groupId>org.apache.maven.plugins</groupId>
440                 <artifactId>maven-project-info-reports-plugin</artifactId>
441                 <version>2.9</version>
442                 <configuration>
443                     <linkOnly>true</linkOnly>
444                     <offline>true</offline>
445                 </configuration>
446                 <reportSets>
447                     <reportSet>
448                         <reports>
449                             <report>index</report>
450                             <report>summary</report>
451                             <report>license</report>
452                             <report>dependency-info</report>
453                             <report>dependencies</report>
454                             <report>dependency-convergence</report>
455                             <report>plugins</report>
456                             <report>plugin-management</report>
457                             <report>project-team</report>
458                             <report>issue-tracking</report>
459                             <report>scm</report>
460 <!--
461                             <report>dependency-management</report>
462                             <report>distribution-management</report>
463                             <report>cim</report>
464                             <report>mailing-list</report>
465                             <report>modules</report>
466 -->
467                         </reports>
468                     </reportSet>
469                 </reportSets>
470             </plugin>
471
472             <plugin>
473                 <groupId>org.apache.maven.plugins</groupId>
474                 <artifactId>maven-javadoc-plugin</artifactId>
475                 <version>2.10.4</version>
476                 <configuration>
477                     <author>false</author>
478                     <notimestamp>true</notimestamp>
479                     <quiet>true</quiet>
480                     <show>protected</show>
481                     <locale>${javadoc.locale}</locale>
482                     <header>${project.name} ${project.version} API</header>
483                     <version>true</version>
484                 </configuration>
485                 <reportSets>
486                     <reportSet>
487                         <reports>
488                             <report>javadoc</report>
489                         </reports>
490                     </reportSet>
491                 </reportSets>
492             </plugin>
493
494             <plugin>
495                 <groupId>org.apache.maven.plugins</groupId>
496                 <artifactId>maven-jxr-plugin</artifactId>
497                 <version>2.5</version>
498             </plugin>
499
500             <plugin>
501                 <groupId>org.apache.maven.plugins</groupId>
502                 <artifactId>maven-surefire-report-plugin</artifactId>
503                 <version>2.19.1</version>
504             </plugin>
505
506             <plugin>
507                 <groupId>org.jacoco</groupId>
508                 <artifactId>jacoco-maven-plugin</artifactId>
509                 <version>${jacoco-plugin.version}</version>
510                 <reportSets>
511                     <reportSet>
512                         <reports>
513                             <report>report</report>
514                         </reports>
515                     </reportSet>
516                 </reportSets>
517             </plugin>
518
519             <plugin>
520                 <groupId>org.apache.maven.plugins</groupId>
521                 <artifactId>maven-checkstyle-plugin</artifactId>
522                 <version>${checkstyle-plugin.version}</version>
523                 <reportSets>
524                     <reportSet>
525                         <reports>
526                             <report>checkstyle</report>
527                         </reports>
528                     </reportSet>
529                 </reportSets>
530             </plugin>
531
532             <plugin>
533                 <groupId>org.apache.maven.plugins</groupId>
534                 <artifactId>maven-pmd-plugin</artifactId>
535                 <version>${pmd-plugin.version}</version>
536                 <configuration>
537                     <rulesets>
538                         <ruleset>${project.basedir}/pmdrules.xml</ruleset>
539                     </rulesets>
540                 </configuration>
541                 <reportSets>
542                     <reportSet>
543                         <reports>
544                             <report>pmd</report>
545                             <report>cpd</report>
546                         </reports>
547                     </reportSet>
548                 </reportSets>
549             </plugin>
550
551             <plugin>
552                 <groupId>org.codehaus.mojo</groupId>
553                 <artifactId>findbugs-maven-plugin</artifactId>
554                 <version>${findbugs-plugin.version}</version>
555             </plugin>
556
557         </plugins>
558
559     </reporting>
560
561     <profiles/>
562
563 </project>
564
565 <!-- EOF -->