OSDN Git Service

start 1.504.9-SNAPSHOT
[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.504.9-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         <!--maven.compiler.release>8</maven.compiler.release-->
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
87         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
88         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
89         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
90
91         <!-- MJAVADOC-700 -->
92         <sourcepath>${basedir}/src/main/java</sourcepath>
93
94         <!-- DO NOT USE ${locale} with site-plugin -->
95         <site.locales>en</site.locales>
96         <javadoc.locale>en</javadoc.locale>
97         <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
98
99         <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
100         <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
101         <checkstyle.enable.rss>false</checkstyle.enable.rss>
102
103         <spotbugs.effort>Max</spotbugs.effort>
104         <spotbugs.threshold>Low</spotbugs.threshold>
105         <!-- for Jenkins -->
106         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
107
108         <project.mainentry>jp.osdn.jindolf.ar.JinArchiver</project.mainentry>
109
110     </properties>
111
112     <dependencyManagement/>
113
114     <dependencies>
115
116         <dependency>
117             <groupId>junit</groupId>
118             <artifactId>junit</artifactId>
119             <version>4.13.2</version>
120             <scope>test</scope>
121         </dependency>
122
123         <dependency>
124             <groupId>jp.osdn.jindolf</groupId>
125             <artifactId>jinparser</artifactId>
126             <version>2.102.6</version>
127             <scope>compile</scope>
128         </dependency>
129
130     </dependencies>
131
132     <repositories/>
133     <pluginRepositories/>
134
135     <build>
136
137         <pluginManagement>
138
139             <plugins>
140
141                 <plugin>
142                     <groupId>org.apache.maven.plugins</groupId>
143                     <artifactId>maven-clean-plugin</artifactId>
144                     <version>3.2.0</version>
145                 </plugin>
146
147                 <plugin>
148                     <groupId>org.apache.maven.plugins</groupId>
149                     <artifactId>maven-enforcer-plugin</artifactId>
150                     <version>3.1.0</version>
151                 </plugin>
152
153                 <plugin>
154                     <groupId>org.apache.maven.plugins</groupId>
155                     <artifactId>maven-resources-plugin</artifactId>
156                     <version>3.3.0</version>
157                 </plugin>
158
159                 <plugin>
160                     <groupId>org.apache.maven.plugins</groupId>
161                     <artifactId>maven-compiler-plugin</artifactId>
162                     <version>3.10.1</version>
163                 </plugin>
164
165                 <plugin>
166                     <groupId>org.apache.maven.plugins</groupId>
167                     <artifactId>maven-surefire-plugin</artifactId>
168                     <version>3.0.0-M7</version>
169                 </plugin>
170
171                 <plugin>
172                     <groupId>org.apache.maven.plugins</groupId>
173                     <artifactId>maven-surefire-report-plugin</artifactId>
174                     <version>3.0.0-M7</version>
175                 </plugin>
176
177                 <plugin>
178                     <groupId>org.jacoco</groupId>
179                     <artifactId>jacoco-maven-plugin</artifactId>
180                     <version>0.8.8</version>
181                 </plugin>
182
183                 <plugin>
184                     <groupId>org.apache.maven.plugins</groupId>
185                     <artifactId>maven-jar-plugin</artifactId>
186                     <version>3.3.0</version>
187                 </plugin>
188
189                 <plugin>
190                     <groupId>org.apache.maven.plugins</groupId>
191                     <artifactId>maven-shade-plugin</artifactId>
192                     <version>3.4.0</version>
193                 </plugin>
194
195                 <plugin>
196                     <groupId>org.apache.maven.plugins</groupId>
197                     <artifactId>maven-source-plugin</artifactId>
198                     <version>3.2.1</version>
199                 </plugin>
200
201                 <plugin>
202                     <groupId>org.apache.maven.plugins</groupId>
203                     <artifactId>maven-install-plugin</artifactId>
204                     <version>3.0.1</version>
205                 </plugin>
206
207                 <plugin>
208                     <groupId>org.apache.maven.plugins</groupId>
209                     <artifactId>maven-deploy-plugin</artifactId>
210                     <version>3.0.0</version>
211                 </plugin>
212
213                 <plugin>
214                     <groupId>org.apache.maven.plugins</groupId>
215                     <artifactId>maven-site-plugin</artifactId>
216                     <version>3.12.1</version>
217                 </plugin>
218
219                 <plugin>
220                     <groupId>org.apache.maven.plugins</groupId>
221                     <artifactId>maven-assembly-plugin</artifactId>
222                     <version>3.4.2</version>
223                 </plugin>
224
225                 <plugin>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-project-info-reports-plugin</artifactId>
228                     <version>3.4.1</version>
229                 </plugin>
230
231                 <plugin>
232                     <groupId>org.apache.maven.plugins</groupId>
233                     <artifactId>maven-javadoc-plugin</artifactId>
234                     <version>3.4.1</version>
235                 </plugin>
236
237                 <plugin>
238                     <groupId>org.apache.maven.plugins</groupId>
239                     <artifactId>maven-jxr-plugin</artifactId>
240                     <version>3.3.0</version>
241                 </plugin>
242
243                 <plugin>
244                     <groupId>org.apache.maven.plugins</groupId>
245                     <artifactId>maven-checkstyle-plugin</artifactId>
246                     <version>3.2.0</version>
247                     <dependencies>
248                         <dependency>
249                             <groupId>com.puppycrawl.tools</groupId>
250                             <artifactId>checkstyle</artifactId>
251                             <version>10.3.4</version>
252                         </dependency>
253                     </dependencies>
254                 </plugin>
255
256                 <plugin>
257                     <groupId>org.apache.maven.plugins</groupId>
258                     <artifactId>maven-pmd-plugin</artifactId>
259                     <version>3.19.0</version>
260                     <dependencies>
261                         <dependency>
262                             <groupId>net.sourceforge.pmd</groupId>
263                             <artifactId>pmd-core</artifactId>
264                             <version>6.50.0</version>
265                         </dependency>
266                         <dependency>
267                             <groupId>net.sourceforge.pmd</groupId>
268                             <artifactId>pmd-java</artifactId>
269                             <version>6.50.0</version>
270                         </dependency>
271                     </dependencies>
272                 </plugin>
273
274                 <plugin>
275                     <groupId>com.github.spotbugs</groupId>
276                     <artifactId>spotbugs-maven-plugin</artifactId>
277                     <version>4.7.2.1</version>
278                     <dependencies>
279                         <dependency>
280                             <groupId>com.github.spotbugs</groupId>
281                             <artifactId>spotbugs</artifactId>
282                             <version>4.7.2</version>
283                         </dependency>
284                     </dependencies>
285                 </plugin>
286
287             </plugins>
288
289         </pluginManagement>
290
291         <plugins>
292
293
294             <!-- clean lifecycle -->
295
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-clean-plugin</artifactId>
299                 <configuration>
300                     <filesets>
301                         <fileset>
302                             <directory>${project.basedir}</directory>
303                             <includes>
304                                 <include>**/*~</include>
305                                 <include>**/*.swp</include>
306                                 <include>**/*.DS_Store</include>
307                                 <include>**/._*</include>
308                                 <include>**/__MACOSX</include>
309                                 <include>**/Thumbs.db</include>
310                                 <include>**/desktop.ini</include>
311                                 <include>**/core</include>
312                                 <include>**/hs_err_pid*</include>
313                             </includes>
314                         </fileset>
315                     </filesets>
316                 </configuration>
317             </plugin>
318
319
320             <!-- default lifecycle -->
321
322             <plugin>
323                 <groupId>org.apache.maven.plugins</groupId>
324                 <artifactId>maven-enforcer-plugin</artifactId>
325                 <executions>
326                     <execution>
327                         <id>enforce-versions</id>
328                         <goals>
329                             <goal>enforce</goal>
330                         </goals>
331                         <configuration>
332                             <rules>
333                                 <requireMavenVersion>
334                                     <version>[3.3.9,)</version>
335                                 </requireMavenVersion>
336                                 <requireJavaVersion>
337                                     <version>[1.8,)</version>
338                                 </requireJavaVersion>
339                             </rules>
340                         </configuration>
341                     </execution>
342                 </executions>
343             </plugin>
344
345             <plugin>
346                 <groupId>org.apache.maven.plugins</groupId>
347                 <artifactId>maven-compiler-plugin</artifactId>
348                 <configuration>
349                     <source>1.8</source>  <!-- for NetBeans IDE -->
350                     <target>1.8</target>
351                     <compilerArguments>
352                         <Xlint/>
353                     </compilerArguments>
354                     <showWarnings>true</showWarnings>
355                     <showDeprecation>true</showDeprecation>
356                 </configuration>
357             </plugin>
358
359             <plugin>
360                 <groupId>org.apache.maven.plugins</groupId>
361                 <artifactId>maven-surefire-plugin</artifactId>
362                 <configuration>
363                     <enableAssertions>true</enableAssertions>
364                 </configuration>
365             </plugin>
366
367             <plugin>
368                 <groupId>org.jacoco</groupId>
369                 <artifactId>jacoco-maven-plugin</artifactId>
370                 <executions>
371                     <execution>
372                         <id>default-prepare-agent</id>
373                         <goals>
374                             <goal>prepare-agent</goal>
375                         </goals>
376                     </execution>
377                 </executions>
378             </plugin>
379
380             <plugin>
381                 <groupId>org.apache.maven.plugins</groupId>
382                 <artifactId>maven-jar-plugin</artifactId>
383                 <configuration>
384                     <archive>
385                         <manifest>
386                             <mainClass>${project.mainentry}</mainClass>
387                             <addDefaultImplementationEntries>
388                                 false
389                             </addDefaultImplementationEntries>
390                         </manifest>
391                         <manifestEntries>
392                             <Built-By>${project.organization.name}</Built-By>
393                         </manifestEntries>
394                     </archive>
395                 </configuration>
396             </plugin>
397
398             <plugin>
399                 <groupId>org.apache.maven.plugins</groupId>
400                 <artifactId>maven-shade-plugin</artifactId>
401                 <executions>
402                     <execution>
403                         <phase>package</phase>
404                         <goals>
405                             <goal>shade</goal>
406                         </goals>
407                         <configuration>
408                             <createDependencyReducedPom>false</createDependencyReducedPom>
409                             <filters>
410                                 <filter>
411                                     <artifact>jp.sourceforge.jindolf:jincore</artifact>
412                                     <excludes>
413                                         <exclude>META-INF/MANIFEST.MF</exclude>
414                                     </excludes>
415                                 </filter>
416                                 <filter>
417                                     <artifact>jp.osdn.jindolf:jinparser</artifact>
418                                     <excludes>
419                                         <exclude>META-INF/MANIFEST.MF</exclude>
420                                     </excludes>
421                                 </filter>
422                                 <filter>
423                                     <artifact>io.bitbucket.olyutorskii:jiocema</artifact>
424                                     <excludes>
425                                         <exclude>META-INF/MANIFEST.MF</exclude>
426                                     </excludes>
427                                 </filter>
428                             </filters>
429                         </configuration>
430                     </execution>
431                 </executions>
432             </plugin>
433
434             <!-- site lifecycle -->
435
436             <plugin>
437                 <groupId>org.apache.maven.plugins</groupId>
438                 <artifactId>maven-site-plugin</artifactId>
439                 <configuration>
440                     <locales>${site.locales}</locales>
441                 </configuration>
442             </plugin>
443
444
445             <!-- goals without lifecycle -->
446
447             <plugin>
448                 <groupId>org.apache.maven.plugins</groupId>
449                 <artifactId>maven-javadoc-plugin</artifactId>
450                 <configuration>
451                     <locale>${javadoc.locale}</locale>
452                     <!-- for JDK11 javadoc -->
453                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
454                     <source>${maven.compiler.source}</source>
455                     <notimestamp>true</notimestamp>
456                     <header>${project.name} ${project.version} API</header>
457                     <nohelp>true</nohelp>
458                     <author>false</author>
459                     <quiet>true</quiet>
460                     <doclint>all</doclint>
461                     <show>protected</show>
462                 </configuration>
463             </plugin>
464
465             <plugin>
466                 <groupId>org.apache.maven.plugins</groupId>
467                 <artifactId>maven-assembly-plugin</artifactId>
468                 <configuration>
469                     <tarLongFileMode>posix</tarLongFileMode>
470                     <descriptors>
471                         <descriptor>src/assembly/src.xml</descriptor>
472                     </descriptors>
473                 </configuration>
474             </plugin>
475
476             <plugin>
477                 <groupId>org.apache.maven.plugins</groupId>
478                 <artifactId>maven-pmd-plugin</artifactId>
479                 <configuration>
480                     <rulesets>
481                         <ruleset>config/pmd/pmdrules.xml</ruleset>
482                     </rulesets>
483                 </configuration>
484             </plugin>
485
486         </plugins>
487
488         <resources>
489
490             <resource>
491                 <directory>src/main/resources</directory>
492                 <filtering>true</filtering>
493                 <includes>
494                     <include>**/version.properties</include>
495                 </includes>
496             </resource>
497
498             <resource>
499                 <directory>src/main/resources</directory>
500                 <includes>
501                     <include>**/*.txt</include>
502
503                     <include>**/*.properties</include>
504
505                     <include>**/*.xml</include>
506                     <include>**/*.xsd</include>
507                     <include>**/*.dtd</include>
508
509                     <include>**/*.html</include>
510                     <include>**/*.htm</include>
511                     <include>**/*.css</include>
512
513                     <include>**/*.png</include>
514                     <include>**/*.gif</include>
515                     <include>**/*.jpeg</include>
516                     <include>**/*.jpg</include>
517                 </includes>
518                 <excludes>
519                     <exclude>**/version.properties</exclude>
520
521                     <exclude>**/.DS_Store</exclude>
522                     <exclude>**/__MACOSX</exclude>
523                     <exclude>**/Thumbs.db</exclude>
524                     <exclude>**/thumbs.db</exclude>
525                     <exclude>**/Desktop.ini</exclude>
526                     <exclude>**/desktop.ini</exclude>
527                     <exclude>**/core</exclude>
528                 </excludes>
529             </resource>
530
531         </resources>
532
533     </build>
534
535     <reporting>
536
537         <plugins>
538
539             <plugin>
540                 <groupId>org.apache.maven.plugins</groupId>
541                 <artifactId>maven-project-info-reports-plugin</artifactId>
542                 <configuration>
543                     <linkOnly>true</linkOnly>
544                     <offline>true</offline>
545                 </configuration>
546                 <reportSets>
547                     <reportSet>
548                         <reports>
549                             <report>index</report>
550                             <report>summary</report>
551                             <report>licenses</report>
552                             <report>dependency-info</report>
553                             <report>dependencies</report>
554                             <report>dependency-convergence</report>
555                             <report>plugins</report>
556                             <report>team</report>
557                             <report>issue-management</report>
558                             <report>scm</report>
559 <!--
560                             <report>dependency-management</report>
561                             <report>distribution-management</report>
562                             <report>ci-management</report>
563                             <report>mailing-lists</report>
564                             <report>modules</report>
565                             <report>plugin-management</report>
566 -->
567                         </reports>
568                     </reportSet>
569                 </reportSets>
570             </plugin>
571
572             <plugin>
573                 <groupId>org.apache.maven.plugins</groupId>
574                 <artifactId>maven-javadoc-plugin</artifactId>
575                 <configuration>
576                     <locale>${javadoc.locale}</locale>
577                     <!-- for JDK11 javadoc -->
578                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
579                     <source>${maven.compiler.source}</source>
580                     <notimestamp>true</notimestamp>
581                     <header>${project.name} ${project.version} API</header>
582                     <nohelp>true</nohelp>
583                     <author>false</author>
584                     <quiet>true</quiet>
585                     <doclint>all</doclint>
586                     <show>protected</show>
587                 </configuration>
588                 <reportSets>
589                     <reportSet>
590                         <reports>
591                             <report>javadoc</report>
592                         </reports>
593                     </reportSet>
594                 </reportSets>
595             </plugin>
596
597             <plugin>
598                 <groupId>org.apache.maven.plugins</groupId>
599                 <artifactId>maven-jxr-plugin</artifactId>
600             </plugin>
601
602             <plugin>
603                 <groupId>org.apache.maven.plugins</groupId>
604                 <artifactId>maven-surefire-report-plugin</artifactId>
605             </plugin>
606
607             <plugin>
608                 <groupId>org.jacoco</groupId>
609                 <artifactId>jacoco-maven-plugin</artifactId>
610                 <reportSets>
611                     <reportSet>
612                         <reports>
613                             <report>report</report>
614                         </reports>
615                     </reportSet>
616                 </reportSets>
617             </plugin>
618
619             <plugin>
620                 <groupId>org.apache.maven.plugins</groupId>
621                 <artifactId>maven-checkstyle-plugin</artifactId>
622                 <reportSets>
623                     <reportSet>
624                         <reports>
625                             <report>checkstyle</report>
626                         </reports>
627                     </reportSet>
628                 </reportSets>
629             </plugin>
630
631             <plugin>
632                 <groupId>org.apache.maven.plugins</groupId>
633                 <artifactId>maven-pmd-plugin</artifactId>
634                 <configuration>
635                     <rulesets>
636                         <ruleset>config/pmd/pmdrules.xml</ruleset>
637                     </rulesets>
638                 </configuration>
639                 <reportSets>
640                     <reportSet>
641                         <reports>
642                             <report>pmd</report>
643                             <report>cpd</report>
644                         </reports>
645                     </reportSet>
646                 </reportSets>
647             </plugin>
648
649             <plugin>
650                 <groupId>com.github.spotbugs</groupId>
651                 <artifactId>spotbugs-maven-plugin</artifactId>
652             </plugin>
653
654         </plugins>
655
656     </reporting>
657
658     <profiles>
659
660         <profile>
661             <id>release-profile</id>
662
663             <activation>
664                 <property>
665                     <name>performRelease</name>
666                     <value>true</value>
667                 </property>
668             </activation>
669
670             <build>
671                 <plugins>
672
673                     <plugin>
674                         <inherited>true</inherited>
675                         <groupId>org.apache.maven.plugins</groupId>
676                         <artifactId>maven-source-plugin</artifactId>
677                         <configuration>
678                             <includePom>true</includePom>
679                             <archive>
680                                 <manifestEntries>
681                                     <Built-By>${project.organization.name}</Built-By>
682                                 </manifestEntries>
683                             </archive>
684                         </configuration>
685                         <executions>
686                             <execution>
687                                 <id>attach-sources</id>
688                                 <goals>
689                                     <goal>jar-no-fork</goal>
690                                 </goals>
691                             </execution>
692                         </executions>
693                     </plugin>
694
695                     <plugin>
696                         <inherited>true</inherited>
697                         <groupId>org.apache.maven.plugins</groupId>
698                         <artifactId>maven-javadoc-plugin</artifactId>
699                         <configuration>
700                             <show>protected</show>
701                             <archive>
702                                 <manifestEntries>
703                                     <Built-By>${project.organization.name}</Built-By>
704                                 </manifestEntries>
705                             </archive>
706                         </configuration>
707                         <executions>
708                             <execution>
709                                 <id>attach-javadocs</id>
710                                 <goals>
711                                     <goal>jar</goal>
712                                 </goals>
713                             </execution>
714                         </executions>
715                     </plugin>
716
717                 </plugins>
718             </build>
719         </profile>
720
721     </profiles>
722
723 </project>
724
725 <!-- EOF -->