OSDN Git Service

start 3.101.107-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.101.107-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         <locale>en</locale>
91         <site.locales>${locale}</site.locales>
92         <javadoc.locale>${locale}</javadoc.locale>
93         <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.jvmArgs>
94
95         <!-- Walk around: JDK 11 javadoc + Maven -->
96         <detectJavaApiLink>false</detectJavaApiLink>
97
98         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
99         <jacoco-plugin.version>0.8.3</jacoco-plugin.version>
100
101         <checkstyle-plugin.version>3.0.0</checkstyle-plugin.version>
102         <checkstyleruntime.version>8.20</checkstyleruntime.version>
103         <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
104         <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
105         <checkstyle.enable.rss>false</checkstyle.enable.rss>
106
107         <pmd-plugin.version>3.12.0</pmd-plugin.version>
108         <pmd.analysisCache>true</pmd.analysisCache>
109
110         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
111         <spotbugs.effort>Max</spotbugs.effort>
112         <spotbugs.threshold>Low</spotbugs.threshold>
113         <!-- for Jenkins -->
114         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
115
116     </properties>
117
118     <dependencyManagement/>
119
120     <dependencies>
121
122         <dependency>
123             <groupId>junit</groupId>
124             <artifactId>junit</artifactId>
125             <version>4.12</version>
126             <scope>test</scope>
127         </dependency>
128
129     </dependencies>
130
131     <repositories/>
132     <pluginRepositories/>
133
134     <build>
135
136         <pluginManagement>
137
138             <plugins>
139
140                 <plugin>
141                     <groupId>org.apache.maven.plugins</groupId>
142                     <artifactId>maven-checkstyle-plugin</artifactId>
143                     <version>${checkstyle-plugin.version}</version>
144                     <dependencies>
145                         <dependency>
146                             <groupId>com.puppycrawl.tools</groupId>
147                             <artifactId>checkstyle</artifactId>
148                             <version>${checkstyleruntime.version}</version>
149                         </dependency>
150                     </dependencies>
151                 </plugin>
152
153             </plugins>
154
155         </pluginManagement>
156
157         <plugins>
158
159
160             <!-- clean lifecycle -->
161
162             <plugin>
163                 <groupId>org.apache.maven.plugins</groupId>
164                 <artifactId>maven-clean-plugin</artifactId>
165                 <version>3.1.0</version>
166                 <configuration>
167                     <filesets>
168                         <fileset>
169                             <directory>${project.basedir}</directory>
170                             <includes>
171                                 <include>**/*~</include>
172                                 <include>**/*.swp</include>
173                                 <include>**/*.DS_Store</include>
174                                 <include>**/._*</include>
175                                 <include>**/__MACOSX</include>
176                                 <include>**/Thumbs.db</include>
177                                 <include>**/desktop.ini</include>
178                                 <include>**/core</include>
179                                 <include>**/hs_err_pid*</include>
180                             </includes>
181                         </fileset>
182                     </filesets>
183                 </configuration>
184             </plugin>
185
186
187             <!-- default lifecycle -->
188
189             <plugin>
190                 <groupId>org.apache.maven.plugins</groupId>
191                 <artifactId>maven-enforcer-plugin</artifactId>
192                 <version>3.0.0-M2</version>
193                 <executions>
194                     <execution>
195                         <id>enforce-versions</id>
196                         <goals>
197                             <goal>enforce</goal>
198                         </goals>
199                         <configuration>
200                             <rules>
201                                 <requireMavenVersion>
202                                     <version>[3.3.9,)</version>
203                                 </requireMavenVersion>
204                                 <requireJavaVersion>
205                                     <!-- JAXB -->
206                                     <version>1.8</version>
207                                 </requireJavaVersion>
208                             </rules>
209                         </configuration>
210                     </execution>
211                 </executions>
212             </plugin>
213
214             <plugin>
215                 <groupId>org.apache.maven.plugins</groupId>
216                 <artifactId>maven-resources-plugin</artifactId>
217                 <version>3.1.0</version>
218             </plugin>
219
220             <plugin>
221                 <groupId>org.apache.maven.plugins</groupId>
222                 <artifactId>maven-compiler-plugin</artifactId>
223                 <version>3.8.0</version>
224                 <configuration>
225                     <source>1.8</source>  <!-- for NetBeans IDE -->
226                     <target>1.8</target>
227                     <compilerArguments>
228                         <Xlint/>
229                     </compilerArguments>
230                     <showWarnings>true</showWarnings>
231                     <showDeprecation>true</showDeprecation>
232                 </configuration>
233             </plugin>
234
235             <plugin>
236                 <groupId>org.apache.maven.plugins</groupId>
237                 <artifactId>maven-surefire-plugin</artifactId>
238                 <version>${surefire-plugin.version}</version>
239                 <configuration>
240                     <enableAssertions>true</enableAssertions>
241                 </configuration>
242             </plugin>
243
244             <plugin>
245                 <groupId>org.jacoco</groupId>
246                 <artifactId>jacoco-maven-plugin</artifactId>
247                 <version>${jacoco-plugin.version}</version>
248                 <executions>
249                     <execution>
250                         <id>default-prepare-agent</id>
251                         <goals>
252                             <goal>prepare-agent</goal>
253                         </goals>
254                     </execution>
255                     <execution>
256                         <id>default-report</id>
257                         <phase>prepare-package</phase>
258                         <goals>
259                             <goal>report</goal>
260                         </goals>
261                     </execution>
262                     <execution>
263                         <id>default-check</id>
264                         <goals>
265                             <goal>check</goal>
266                         </goals>
267                         <configuration>
268                             <rules>
269                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
270                                     <element>BUNDLE</element>
271                                     <limits>
272                                         <limit implementation="org.jacoco.report.check.Limit">
273                                             <counter>COMPLEXITY</counter>
274                                             <value>COVEREDRATIO</value>
275                                             <minimum>0.0</minimum>
276                                         </limit>
277                                     </limits>
278                                 </rule>
279                             </rules>
280                         </configuration>
281                     </execution>
282                 </executions>
283             </plugin>
284
285             <plugin>
286                 <groupId>org.apache.maven.plugins</groupId>
287                 <artifactId>maven-jar-plugin</artifactId>
288                 <version>3.1.1</version>
289                 <configuration>
290                     <archive>
291                         <manifest>
292                             <addDefaultImplementationEntries>
293                                 true
294                             </addDefaultImplementationEntries>
295                         </manifest>
296                         <manifestEntries>
297                             <Built-By>${project.organization.name}</Built-By>
298                         </manifestEntries>
299                     </archive>
300                 </configuration>
301             </plugin>
302
303             <plugin>
304                 <groupId>org.apache.maven.plugins</groupId>
305                 <artifactId>maven-source-plugin</artifactId>
306                 <version>3.0.1</version>
307                 <configuration>
308                     <includePom>true</includePom>
309                     <archive>
310                         <manifestEntries>
311                             <Built-By>${project.organization.name}</Built-By>
312                         </manifestEntries>
313                     </archive>
314                 </configuration>
315                 <executions>
316                     <execution>
317                         <id>attach-sources</id>
318                         <phase>verify</phase>
319                         <goals>
320                           <goal>jar-no-fork</goal>
321                         </goals>
322                     </execution>
323                 </executions>
324             </plugin>
325
326             <plugin>
327                 <groupId>org.apache.maven.plugins</groupId>
328                 <artifactId>maven-install-plugin</artifactId>
329                 <version>3.0.0-M1</version>
330             </plugin>
331
332             <plugin>
333                 <groupId>org.apache.maven.plugins</groupId>
334                 <artifactId>maven-deploy-plugin</artifactId>
335                 <version>3.0.0-M1</version>
336             </plugin>
337
338
339             <!-- site lifecycle -->
340
341             <plugin>
342                 <groupId>org.apache.maven.plugins</groupId>
343                 <artifactId>maven-site-plugin</artifactId>
344                 <version>3.7.1</version>
345                 <configuration>
346                     <locales>${site.locales}</locales>
347                 </configuration>
348             </plugin>
349
350
351             <!-- goals without lifecycle -->
352
353             <plugin>
354                 <groupId>org.apache.maven.plugins</groupId>
355                 <artifactId>maven-assembly-plugin</artifactId>
356                 <version>3.1.1</version>
357                 <configuration>
358                     <descriptors>
359                         <descriptor>src/assembly/src.xml</descriptor>
360                     </descriptors>
361                 </configuration>
362             </plugin>
363
364             <plugin>
365                 <groupId>org.apache.maven.plugins</groupId>
366                 <artifactId>maven-checkstyle-plugin</artifactId>
367                 <version>${checkstyle-plugin.version}</version>
368             </plugin>
369
370             <plugin>
371                 <groupId>org.apache.maven.plugins</groupId>
372                 <artifactId>maven-pmd-plugin</artifactId>
373                 <version>${pmd-plugin.version}</version>
374                 <configuration>
375                     <rulesets>
376                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
377                     </rulesets>
378                 </configuration>
379             </plugin>
380
381             <plugin>
382                 <groupId>com.github.spotbugs</groupId>
383                 <artifactId>spotbugs-maven-plugin</artifactId>
384                 <version>${spotbugs-plugin.version}</version>
385             </plugin>
386
387         </plugins>
388
389         <resources>
390
391             <resource>
392                 <directory>src/main/resources</directory>
393                 <filtering>true</filtering>
394                 <includes>
395                     <include>**/version.properties</include>
396                 </includes>
397             </resource>
398
399             <resource>
400                 <directory>src/main/resources</directory>
401                 <includes>
402                     <include>**/*.txt</include>
403
404                     <include>**/*.properties</include>
405
406                     <include>**/*.xml</include>
407                     <include>**/*.xsd</include>
408                     <include>**/*.dtd</include>
409
410                     <include>**/*.html</include>
411                     <include>**/*.htm</include>
412                     <include>**/*.css</include>
413
414                     <include>**/*.png</include>
415                     <include>**/*.gif</include>
416                     <include>**/*.jpeg</include>
417                     <include>**/*.jpg</include>
418                 </includes>
419                 <excludes>
420                     <exclude>**/version.properties</exclude>
421
422                     <exclude>**/.DS_Store</exclude>
423                     <exclude>**/__MACOSX</exclude>
424                     <exclude>**/Thumbs.db</exclude>
425                     <exclude>**/thumbs.db</exclude>
426                     <exclude>**/Desktop.ini</exclude>
427                     <exclude>**/desktop.ini</exclude>
428                     <exclude>**/core</exclude>
429                 </excludes>
430             </resource>
431
432         </resources>
433
434     </build>
435
436     <reporting>
437
438         <plugins>
439
440             <plugin>
441                 <groupId>org.apache.maven.plugins</groupId>
442                 <artifactId>maven-project-info-reports-plugin</artifactId>
443                 <version>3.0.0</version>
444                 <configuration>
445                     <linkOnly>true</linkOnly>
446                     <offline>true</offline>
447                 </configuration>
448                 <reportSets>
449                     <reportSet>
450                         <reports>
451                             <report>index</report>
452                             <report>summary</report>
453                             <report>licenses</report>
454                             <report>dependency-info</report>
455                             <report>dependencies</report>
456                             <report>dependency-convergence</report>
457                             <report>plugins</report>
458                             <report>plugin-management</report>
459                             <report>team</report>
460                             <report>issue-management</report>
461                             <report>scm</report>
462 <!--
463                             <report>dependency-management</report>
464                             <report>distribution-management</report>
465                             <report>ci-management</report>
466                             <report>mailing-lists</report>
467                             <report>modules</report>
468 -->
469                         </reports>
470                     </reportSet>
471                 </reportSets>
472             </plugin>
473
474             <plugin>
475                 <groupId>org.apache.maven.plugins</groupId>
476                 <artifactId>maven-javadoc-plugin</artifactId>
477                 <version>3.1.0</version>
478                 <configuration>
479                     <author>false</author>
480                     <notimestamp>true</notimestamp>
481                     <quiet>true</quiet>
482                     <show>protected</show>
483                     <header>${project.name} ${project.version} API</header>
484                     <version>true</version>
485                     <locale>${javadoc.locale}</locale>
486                     <!-- for JDK11 javadoc -->
487                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
488                 </configuration>
489                 <reportSets>
490                     <reportSet>
491                         <reports>
492                             <report>javadoc</report>
493                         </reports>
494                     </reportSet>
495                 </reportSets>
496             </plugin>
497
498             <plugin>
499                 <groupId>org.apache.maven.plugins</groupId>
500                 <artifactId>maven-jxr-plugin</artifactId>
501                 <version>3.0.0</version>
502             </plugin>
503
504             <plugin>
505                 <groupId>org.apache.maven.plugins</groupId>
506                 <artifactId>maven-surefire-report-plugin</artifactId>
507                 <version>${surefire-plugin.version}</version>
508             </plugin>
509
510             <plugin>
511                 <groupId>org.jacoco</groupId>
512                 <artifactId>jacoco-maven-plugin</artifactId>
513                 <version>${jacoco-plugin.version}</version>
514                 <reportSets>
515                     <reportSet>
516                         <reports>
517                             <report>report</report>
518                         </reports>
519                     </reportSet>
520                 </reportSets>
521             </plugin>
522
523             <plugin>
524                 <groupId>org.apache.maven.plugins</groupId>
525                 <artifactId>maven-checkstyle-plugin</artifactId>
526                 <version>${checkstyle-plugin.version}</version>
527                 <reportSets>
528                     <reportSet>
529                         <reports>
530                             <report>checkstyle</report>
531                         </reports>
532                     </reportSet>
533                 </reportSets>
534             </plugin>
535
536             <plugin>
537                 <groupId>org.apache.maven.plugins</groupId>
538                 <artifactId>maven-pmd-plugin</artifactId>
539                 <version>${pmd-plugin.version}</version>
540                 <configuration>
541                     <rulesets>
542                         <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
543                     </rulesets>
544                 </configuration>
545                 <reportSets>
546                     <reportSet>
547                         <reports>
548                             <report>pmd</report>
549                             <report>cpd</report>
550                         </reports>
551                     </reportSet>
552                 </reportSets>
553             </plugin>
554
555             <plugin>
556                 <groupId>com.github.spotbugs</groupId>
557                 <artifactId>spotbugs-maven-plugin</artifactId>
558                 <version>${spotbugs-plugin.version}</version>
559             </plugin>
560
561         </plugins>
562
563     </reporting>
564
565     <profiles/>
566
567 </project>
568
569 <!-- EOF -->