OSDN Git Service

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