OSDN Git Service

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