OSDN Git Service

start 3.122.3-SNAPSHOT
[mikutoga/TogaGem.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.mikutoga</groupId>
17     <artifactId>togagem</artifactId>
18
19     <version>3.122.3-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>TogaGem</name>
23
24     <description><!--
25 -->TogaGem is a file reader library for MikuMikuDance(MMD) with Java. <!--
26 -->TogaGem is a sub-project of MikuToga project. <!--
27 --></description>
28
29     <url>https://ja.osdn.net/projects/mikutoga/devel/</url>
30     <inceptionYear>2010</inceptionYear>
31
32     <organization>
33         <name>MikuToga Partners</name>
34         <url>https://ja.osdn.net/projects/mikutoga/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>MikuToga Partners</organization>
50             <organizationUrl>https://ja.osdn.net/projects/mikutoga/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/mikutoga/TogaGem.git</connection>
67         <developerConnection>scm:git:https://scm.osdn.net/gitroot/mikutoga/TogaGem.git</developerConnection>
68         <url>https://osdn.net/projects/mikutoga/scm/git/TogaGem/</url>
69     </scm>
70
71     <issueManagement>
72         <system>OSDN.net</system>
73         <url>https://ja.osdn.net/projects/mikutoga/ticket/</url>
74     </issueManagement>
75
76     <ciManagement/>
77     <distributionManagement/>
78
79     <properties>
80         <maven.compiler.source>1.8</maven.compiler.source>
81         <maven.compiler.target>1.8</maven.compiler.target>
82
83         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
84         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
85
86         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <!-- DO NOT USE ${locale} with site-plugin -->
91         <site.locales>en</site.locales>
92         <javadoc.locale>en</javadoc.locale>
93         <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
94
95         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
96         <jacoco-plugin.version>0.8.4</jacoco-plugin.version>
97
98         <checkstyle-plugin.version>3.1.0</checkstyle-plugin.version>
99         <checkstyleruntime.version>8.22</checkstyleruntime.version>
100         <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
101         <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
102         <checkstyle.enable.rss>false</checkstyle.enable.rss>
103
104         <pmd-plugin.version>3.12.0</pmd-plugin.version>
105
106         <spotbugs-plugin.version>3.1.12</spotbugs-plugin.version>
107         <spotbugs.effort>Max</spotbugs.effort>
108         <spotbugs.threshold>Low</spotbugs.threshold>
109         <!-- for Jenkins -->
110         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
111
112     </properties>
113
114     <dependencyManagement/>
115
116     <dependencies>
117
118         <dependency>
119             <groupId>junit</groupId>
120             <artifactId>junit</artifactId>
121             <version>4.12</version>
122             <scope>test</scope>
123         </dependency>
124
125     </dependencies>
126
127     <repositories/>
128     <pluginRepositories/>
129
130     <build>
131
132         <pluginManagement>
133
134             <plugins>
135
136                 <plugin>
137                     <groupId>org.apache.maven.plugins</groupId>
138                     <artifactId>maven-checkstyle-plugin</artifactId>
139                     <version>${checkstyle-plugin.version}</version>
140                     <dependencies>
141                         <dependency>
142                             <groupId>com.puppycrawl.tools</groupId>
143                             <artifactId>checkstyle</artifactId>
144                             <version>${checkstyleruntime.version}</version>
145                         </dependency>
146                     </dependencies>
147                 </plugin>
148
149             </plugins>
150
151         </pluginManagement>
152
153         <plugins>
154
155
156             <!-- clean lifecycle -->
157
158             <plugin>
159                 <groupId>org.apache.maven.plugins</groupId>
160                 <artifactId>maven-clean-plugin</artifactId>
161                 <version>3.1.0</version>
162                 <configuration>
163                     <filesets>
164                         <fileset>
165                             <directory>${project.basedir}</directory>
166                             <includes>
167                                 <include>**/*~</include>
168                                 <include>**/*.swp</include>
169                                 <include>**/*.DS_Store</include>
170                                 <include>**/._*</include>
171                                 <include>**/__MACOSX</include>
172                                 <include>**/Thumbs.db</include>
173                                 <include>**/desktop.ini</include>
174                                 <include>**/core</include>
175                                 <include>**/hs_err_pid*</include>
176                             </includes>
177                         </fileset>
178                     </filesets>
179                 </configuration>
180             </plugin>
181
182
183             <!-- default lifecycle -->
184
185             <plugin>
186                 <groupId>org.apache.maven.plugins</groupId>
187                 <artifactId>maven-enforcer-plugin</artifactId>
188                 <version>3.0.0-M2</version>
189                 <executions>
190                     <execution>
191                         <id>enforce-versions</id>
192                         <goals>
193                             <goal>enforce</goal>
194                         </goals>
195                         <configuration>
196                             <rules>
197                                 <requireMavenVersion>
198                                     <version>[3.3.9,)</version>
199                                 </requireMavenVersion>
200                                 <requireJavaVersion>
201                                     <version>[1.8,)</version>
202                                 </requireJavaVersion>
203                             </rules>
204                         </configuration>
205                     </execution>
206                 </executions>
207             </plugin>
208
209             <plugin>
210                 <groupId>org.apache.maven.plugins</groupId>
211                 <artifactId>maven-resources-plugin</artifactId>
212                 <version>3.1.0</version>
213             </plugin>
214
215             <plugin>
216                 <groupId>org.apache.maven.plugins</groupId>
217                 <artifactId>maven-compiler-plugin</artifactId>
218                 <version>3.8.1</version>
219                 <configuration>
220                     <source>1.8</source>  <!-- for NetBeans IDE -->
221                     <target>1.8</target>
222                     <compilerArguments>
223                         <Xlint/>
224                     </compilerArguments>
225                     <showWarnings>true</showWarnings>
226                     <showDeprecation>true</showDeprecation>
227                 </configuration>
228             </plugin>
229
230             <plugin>
231                 <groupId>org.apache.maven.plugins</groupId>
232                 <artifactId>maven-surefire-plugin</artifactId>
233                 <version>${surefire-plugin.version}</version>
234                 <configuration>
235                     <enableAssertions>true</enableAssertions>
236                 </configuration>
237             </plugin>
238
239             <plugin>
240                 <groupId>org.jacoco</groupId>
241                 <artifactId>jacoco-maven-plugin</artifactId>
242                 <version>${jacoco-plugin.version}</version>
243                 <executions>
244                     <execution>
245                         <id>default-prepare-agent</id>
246                         <goals>
247                             <goal>prepare-agent</goal>
248                         </goals>
249                     </execution>
250                     <execution>
251                         <id>default-report</id>
252                         <phase>prepare-package</phase>
253                         <goals>
254                             <goal>report</goal>
255                         </goals>
256                     </execution>
257                     <execution>
258                         <id>default-check</id>
259                         <goals>
260                             <goal>check</goal>
261                         </goals>
262                         <configuration>
263                             <rules>
264                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
265                                     <element>BUNDLE</element>
266                                     <limits>
267                                         <limit implementation="org.jacoco.report.check.Limit">
268                                             <counter>COMPLEXITY</counter>
269                                             <value>COVEREDRATIO</value>
270                                             <minimum>0.0</minimum>
271                                         </limit>
272                                     </limits>
273                                 </rule>
274                             </rules>
275                         </configuration>
276                     </execution>
277                 </executions>
278             </plugin>
279
280             <plugin>
281                 <groupId>org.apache.maven.plugins</groupId>
282                 <artifactId>maven-jar-plugin</artifactId>
283                 <version>3.1.2</version>
284                 <configuration>
285                     <archive>
286                         <manifest>
287                             <addDefaultImplementationEntries>
288                                 true
289                             </addDefaultImplementationEntries>
290                         </manifest>
291                         <manifestEntries>
292                             <Built-By>${project.organization.name}</Built-By>
293                         </manifestEntries>
294                     </archive>
295                 </configuration>
296             </plugin>
297
298             <plugin>
299                 <groupId>org.apache.maven.plugins</groupId>
300                 <artifactId>maven-source-plugin</artifactId>
301                 <version>3.1.0</version>
302                 <configuration>
303                     <includePom>true</includePom>
304                     <archive>
305                         <manifestEntries>
306                             <Built-By>${project.organization.name}</Built-By>
307                         </manifestEntries>
308                     </archive>
309                 </configuration>
310                 <executions>
311                     <execution>
312                         <id>attach-sources</id>
313                         <phase>verify</phase>
314                         <goals>
315                             <goal>jar-no-fork</goal>
316                         </goals>
317                     </execution>
318                 </executions>
319             </plugin>
320
321             <plugin>
322                 <groupId>org.apache.maven.plugins</groupId>
323                 <artifactId>maven-install-plugin</artifactId>
324                 <version>3.0.0-M1</version>
325             </plugin>
326
327             <plugin>
328                 <groupId>org.apache.maven.plugins</groupId>
329                 <artifactId>maven-deploy-plugin</artifactId>
330                 <version>3.0.0-M1</version>
331             </plugin>
332
333
334             <!-- site lifecycle -->
335
336             <plugin>
337                 <groupId>org.apache.maven.plugins</groupId>
338                 <artifactId>maven-site-plugin</artifactId>
339                 <version>3.7.1</version>
340                 <configuration>
341                     <locales>${site.locales}</locales>
342                 </configuration>
343             </plugin>
344
345
346             <!-- goals without lifecycle -->
347
348             <plugin>
349                 <groupId>org.apache.maven.plugins</groupId>
350                 <artifactId>maven-assembly-plugin</artifactId>
351                 <version>3.1.1</version>
352                 <configuration>
353                     <descriptors>
354                         <descriptor>src/assembly/src.xml</descriptor>
355                     </descriptors>
356                 </configuration>
357             </plugin>
358
359             <plugin>
360                 <groupId>org.apache.maven.plugins</groupId>
361                 <artifactId>maven-checkstyle-plugin</artifactId>
362                 <version>${checkstyle-plugin.version}</version>
363             </plugin>
364
365             <plugin>
366                 <groupId>org.apache.maven.plugins</groupId>
367                 <artifactId>maven-pmd-plugin</artifactId>
368                 <version>${pmd-plugin.version}</version>
369                 <configuration>
370                     <rulesets>
371                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
372                     </rulesets>
373                 </configuration>
374             </plugin>
375
376             <plugin>
377                 <groupId>com.github.spotbugs</groupId>
378                 <artifactId>spotbugs-maven-plugin</artifactId>
379                 <version>${spotbugs-plugin.version}</version>
380             </plugin>
381
382         </plugins>
383
384         <resources>
385
386             <resource>
387                 <directory>src/main/resources</directory>
388                 <filtering>true</filtering>
389                 <includes>
390                     <include>**/version.properties</include>
391                 </includes>
392             </resource>
393
394             <resource>
395                 <directory>src/main/resources</directory>
396                 <includes>
397                     <include>**/*.txt</include>
398
399                     <include>**/*.properties</include>
400
401                     <include>**/*.xml</include>
402                     <include>**/*.xsd</include>
403                     <include>**/*.dtd</include>
404
405                     <include>**/*.html</include>
406                     <include>**/*.htm</include>
407                     <include>**/*.css</include>
408
409                     <include>**/*.png</include>
410                     <include>**/*.gif</include>
411                     <include>**/*.jpeg</include>
412                     <include>**/*.jpg</include>
413                 </includes>
414                 <excludes>
415                     <exclude>**/version.properties</exclude>
416
417                     <exclude>**/.DS_Store</exclude>
418                     <exclude>**/__MACOSX</exclude>
419                     <exclude>**/Thumbs.db</exclude>
420                     <exclude>**/thumbs.db</exclude>
421                     <exclude>**/Desktop.ini</exclude>
422                     <exclude>**/desktop.ini</exclude>
423                     <exclude>**/core</exclude>
424                 </excludes>
425             </resource>
426
427         </resources>
428
429     </build>
430
431     <reporting>
432
433         <plugins>
434
435             <plugin>
436                 <groupId>org.apache.maven.plugins</groupId>
437                 <artifactId>maven-project-info-reports-plugin</artifactId>
438                 <version>3.0.0</version>
439                 <configuration>
440                     <linkOnly>true</linkOnly>
441                     <offline>true</offline>
442                 </configuration>
443                 <reportSets>
444                     <reportSet>
445                         <reports>
446                             <report>index</report>
447                             <report>summary</report>
448                             <report>licenses</report>
449                             <report>dependency-info</report>
450                             <report>dependencies</report>
451                             <report>dependency-convergence</report>
452                             <report>plugins</report>
453                             <report>plugin-management</report>
454                             <report>team</report>
455                             <report>issue-management</report>
456                             <report>scm</report>
457 <!--
458                             <report>dependency-management</report>
459                             <report>distribution-management</report>
460                             <report>ci-management</report>
461                             <report>mailing-lists</report>
462                             <report>modules</report>
463 -->
464                         </reports>
465                     </reportSet>
466                 </reportSets>
467             </plugin>
468
469             <plugin>
470                 <groupId>org.apache.maven.plugins</groupId>
471                 <artifactId>maven-javadoc-plugin</artifactId>
472                 <version>3.1.0</version>
473                 <configuration>
474                     <locale>${javadoc.locale}</locale>
475                     <source>${maven.compiler.source}</source>
476                     <author>false</author>
477                     <notimestamp>true</notimestamp>
478                     <quiet>true</quiet>
479                     <show>protected</show>
480                     <header>${project.name} ${project.version} API</header>
481                     <version>true</version>
482                     <!-- for JDK11 javadoc -->
483                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
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>3.0.0</version>
498             </plugin>
499
500             <plugin>
501                 <groupId>org.apache.maven.plugins</groupId>
502                 <artifactId>maven-surefire-report-plugin</artifactId>
503                 <version>${surefire-plugin.version}</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>config/pmd/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>com.github.spotbugs</groupId>
553                 <artifactId>spotbugs-maven-plugin</artifactId>
554                 <version>${spotbugs-plugin.version}</version>
555             </plugin>
556
557         </plugins>
558
559     </reporting>
560
561     <profiles/>
562
563 </project>
564
565 <!-- EOF -->