OSDN Git Service

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