OSDN Git Service

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