OSDN Git Service

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