OSDN Git Service

6fd6bf713c832d0963f6e0ac039f23c874f23a1e
[mikutoga/TogaGem.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4     Maven2(or3) 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/maven-v4_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>2.101.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>http://sourceforge.jp/projects/mikutoga/</url>
30     <inceptionYear>2010</inceptionYear>
31
32     <organization>
33         <name>MikuToga Partners</name>
34         <url>http://sourceforge.jp/projects/mikutoga/devel/</url>
35     </organization>
36
37     <licenses>
38         <license>
39             <name>The MIT License</name>
40             <url>http://www.opensource.org/licenses/mit-license.php</url>
41             <distribution>manual</distribution>
42         </license>
43     </licenses>
44
45     <developers>
46         <developer>
47             <id>olyutorskii</id>
48             <url>http://sites.google.com/site/olyutorskiipit/</url>
49             <organization>MikuToga Partners</organization>
50             <organizationUrl>http://sourceforge.jp/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         <maven>2.2</maven>
63     </prerequisites>
64
65     <modules/>
66
67     <scm>
68         <connection>scm:hg:http://hg.sourceforge.jp/view/mikutoga/TogaGem</connection>
69         <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/mikutoga/TogaGem</developerConnection>
70         <url>http://hg.sourceforge.jp/view/mikutoga/TogaGem</url>
71     </scm>
72
73     <issueManagement>
74         <system>SourceForge.JP</system>
75         <url>http://sourceforge.jp/projects/mikutoga/ticket/</url>
76     </issueManagement>
77
78     <ciManagement/>
79     <distributionManagement/>
80
81     <properties>
82         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
83
84         <maven.compiler.source>1.6</maven.compiler.source>
85         <maven.compiler.target>1.6</maven.compiler.target>
86
87         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
88         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
89
90         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
92
93         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
94
95         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
96         <checkstyle.enable.rss>false</checkstyle.enable.rss>
97
98     </properties>
99
100     <dependencyManagement/>
101
102     <dependencies>
103
104         <dependency>
105             <groupId>junit</groupId>
106             <artifactId>junit</artifactId>
107             <version>4.10</version>
108             <scope>test</scope>
109         </dependency>
110
111     </dependencies>
112
113     <repositories/>
114     <pluginRepositories/>
115
116     <build>
117         <pluginManagement/>
118
119         <plugins>
120
121             <plugin>
122                 <groupId>org.apache.maven.plugins</groupId>
123                 <artifactId>maven-enforcer-plugin</artifactId>
124                 <version>1.0.1</version>
125                 <configuration>
126                     <rules>
127                         <requireMavenVersion>
128                             <version>[2.2,)</version>
129                         </requireMavenVersion>
130                         <requireJavaVersion>
131                             <version>[1.6,)</version>
132                         </requireJavaVersion>
133                     </rules>
134                 </configuration>
135             </plugin>
136
137             <plugin>
138                 <groupId>org.apache.maven.plugins</groupId>
139                 <artifactId>maven-clean-plugin</artifactId>
140                 <version>2.4.1</version>
141                 <configuration>
142                     <filesets>
143                         <fileset>
144                             <directory>${project.basedir}</directory>
145                             <includes>
146                                 <include>**/.DS_Store</include>
147                                 <include>**/_MACOSX</include>
148                                 <include>**/Thumbs.db</include>
149                                 <include>**/thumbs.db</include>
150                                 <include>**/Desktop.ini</include>
151                                 <include>**/desktop.ini</include>
152                                 <include>**/core</include>
153                             </includes>
154                         </fileset>
155                     </filesets>
156                 </configuration>
157             </plugin>
158
159             <plugin>
160                 <groupId>org.apache.maven.plugins</groupId>
161                 <artifactId>maven-compiler-plugin</artifactId>
162                 <version>2.3.2</version>
163                 <configuration>
164                     <source>1.6</source>  <!-- for NetBeans IDE -->
165                     <target>1.6</target>
166                     <showDeprecation>true</showDeprecation>
167                     <showWarnings>true</showWarnings>
168                     <compilerArguments>
169                         <Xlint/>
170                     </compilerArguments>
171                 </configuration>
172             </plugin>
173
174             <plugin>
175                 <groupId>org.apache.maven.plugins</groupId>
176                 <artifactId>maven-jar-plugin</artifactId>
177                 <version>2.3.2</version>
178                 <configuration>
179                     <archive>
180                         <manifestEntries>
181                             <Built-By>${project.organization.name}</Built-By>
182                         </manifestEntries>
183                     </archive>
184                 </configuration>
185             </plugin>
186
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-assembly-plugin</artifactId>
190                 <version>2.2.1</version>
191                 <configuration>
192                     <descriptors>
193                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
194                     </descriptors>
195                 </configuration>
196             </plugin>
197
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-source-plugin</artifactId>
201                 <version>2.1.2</version>
202                 <configuration>
203                     <includePom>true</includePom>
204                     <archive>
205                         <manifestEntries>
206                             <Built-By>${project.organization.name}</Built-By>
207                         </manifestEntries>
208                     </archive>
209                 </configuration>
210                 <executions>
211                     <execution>
212                         <id>attach-sources</id>
213                         <phase>verify</phase>
214                         <goals>
215                           <goal>jar-no-fork</goal>
216                         </goals>
217                     </execution>
218                 </executions>
219             </plugin>
220
221             <plugin>
222                 <groupId>org.apache.maven.plugins</groupId>
223                 <artifactId>maven-resources-plugin</artifactId>
224                 <version>2.5</version>
225             </plugin>
226
227             <plugin>
228                 <groupId>org.apache.maven.plugins</groupId>
229                 <artifactId>maven-surefire-plugin</artifactId>
230                 <version>2.10</version>
231                 <configuration>
232                     <skipTests>false</skipTests>
233                     <enableAssertions>true</enableAssertions>
234                 </configuration>
235             </plugin>
236
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-site-plugin</artifactId>
240                 <version>3.0</version>
241                 <configuration>
242                     <generateReports>true</generateReports>
243                     <locales>ja</locales>
244                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
245                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
246                 </configuration>
247             </plugin>
248
249             <plugin>
250                 <groupId>org.apache.maven.plugins</groupId>
251                 <artifactId>maven-checkstyle-plugin</artifactId>
252                 <version>2.8</version>
253                 <!-- config from property value -->
254             </plugin>
255
256             <plugin>
257                 <groupId>org.apache.maven.plugins</groupId>
258                 <artifactId>maven-pmd-plugin</artifactId>
259                 <version>2.6</version>
260                 <configuration>
261                     <targetJdk>${maven.compiler.target}</targetJdk>
262                     <rulesets>
263                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
264                     </rulesets>
265                 </configuration>
266             </plugin>
267
268             <plugin>
269                 <groupId>org.codehaus.mojo</groupId>
270                 <artifactId>findbugs-maven-plugin</artifactId>
271                 <version>2.3.2</version>
272                 <configuration>
273                     <effort>Max</effort>
274                     <threshold>Low</threshold>
275                 </configuration>
276             </plugin>
277
278         </plugins>
279
280         <resources>
281
282             <resource>
283                 <directory>src/main/resources</directory>
284                 <filtering>true</filtering>
285                 <includes>
286                     <include>**/version.properties</include>
287                 </includes>
288             </resource>
289
290             <resource>
291                 <directory>src/main/resources</directory>
292                 <includes>
293                     <include>**/*.txt</include>
294
295                     <include>**/*.properties</include>
296
297                     <include>**/*.xml</include>
298                     <include>**/*.xsd</include>
299                     <include>**/*.dtd</include>
300
301                     <include>**/*.html</include>
302                     <include>**/*.htm</include>
303                     <include>**/*.css</include>
304
305                     <include>**/*.png</include>
306                     <include>**/*.gif</include>
307                     <include>**/*.jpeg</include>
308                     <include>**/*.jpg</include>
309                 </includes>
310                 <excludes>
311                     <exclude>**/version.properties</exclude>
312
313                     <exclude>**/.DS_Store</exclude>
314                     <exclude>**/_MACOSX</exclude>
315                     <exclude>**/Thumbs.db</exclude>
316                     <exclude>**/thumbs.db</exclude>
317                     <exclude>**/Desktop.ini</exclude>
318                     <exclude>**/desktop.ini</exclude>
319                     <exclude>**/core</exclude>
320                 </excludes>
321             </resource>
322
323         </resources>
324
325     </build>
326
327     <reporting>
328
329         <plugins>
330
331             <plugin>
332                 <groupId>org.apache.maven.plugins</groupId>
333                 <artifactId>maven-project-info-reports-plugin</artifactId>
334                 <version>2.4</version>
335                 <configuration>
336                     <linkOnly>true</linkOnly>
337                     <offline>true</offline>
338                 </configuration>
339                 <reportSets>
340                     <reportSet>
341                         <reports>
342                             <report>index</report>
343                             <report>summary</report>
344                             <report>license</report>
345                             <report>dependencies</report>
346                             <report>plugins</report>
347                             <report>scm</report>
348                             <report>project-team</report>
349 <!--
350                             <report>dependency-convergence</report>
351                             <report>dependency-management</report>
352                             <report>distribution-management</report>
353                             <report>issue-tracking</report>
354                             <report>mailing-list</report>
355                             <report>modules</report>
356                             <report>plugin-management</report>
357 -->
358                         </reports>
359                     </reportSet>
360                 </reportSets>
361             </plugin>
362
363             <plugin>
364                 <groupId>org.apache.maven.plugins</groupId>
365                 <artifactId>maven-javadoc-plugin</artifactId>
366                 <version>2.8</version>
367                 <configuration>
368                     <skip>false</skip>
369                     <notimestamp>true</notimestamp>
370                     <quiet>true</quiet>
371                     <show>protected</show>
372                     <stylesheet>maven</stylesheet>
373                 </configuration>
374                 <reportSets>
375                     <reportSet>
376                         <reports>
377                             <report>javadoc</report>
378                         </reports>
379                     </reportSet>
380                 </reportSets>
381             </plugin>
382
383             <plugin>
384                 <groupId>org.apache.maven.plugins</groupId>
385                 <artifactId>maven-jxr-plugin</artifactId>
386                 <version>2.3</version>
387                 <configuration>
388                     <skip>false</skip>
389                 </configuration>
390             </plugin>
391
392             <plugin>
393                 <groupId>org.apache.maven.plugins</groupId>
394                 <artifactId>maven-surefire-report-plugin</artifactId>
395                 <version>2.10</version>
396                 <configuration>
397                     <showSuccess>false</showSuccess>
398                 </configuration>
399                 <reportSets>
400                     <reportSet>
401                         <reports>
402                             <report>report-only</report>
403                         </reports>
404                     </reportSet>
405                 </reportSets>
406             </plugin>
407
408             <plugin>
409                 <groupId>org.codehaus.mojo</groupId>
410                 <artifactId>cobertura-maven-plugin</artifactId>
411                 <version>2.5.1</version>
412                 <configuration>
413                     <encoding>${project.build.sourceEncoding}</encoding>
414                 </configuration>
415             </plugin>
416
417             <plugin>
418                 <groupId>org.apache.maven.plugins</groupId>
419                 <artifactId>maven-checkstyle-plugin</artifactId>
420                 <version>2.8</version>
421                 <configuration>
422                     <skip>false</skip>
423                     <!-- config from property value -->
424                 </configuration>
425                 <reportSets>
426                     <reportSet>
427                         <reports>
428                             <report>checkstyle</report>
429                         </reports>
430                     </reportSet>
431                 </reportSets>
432             </plugin>
433
434             <plugin>
435                 <groupId>org.apache.maven.plugins</groupId>
436                 <artifactId>maven-pmd-plugin</artifactId>
437                 <version>2.6</version>
438                 <configuration>
439                     <skip>false</skip>
440                     <targetJdk>${maven.compiler.target}</targetJdk>
441                     <rulesets>
442                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
443                     </rulesets>
444                 </configuration>
445                 <reportSets>
446                     <reportSet>
447                         <reports>
448                             <report>pmd</report>
449                             <report>cpd</report>
450                         </reports>
451                     </reportSet>
452                 </reportSets>
453             </plugin>
454
455             <plugin>
456                 <groupId>org.codehaus.mojo</groupId>
457                 <artifactId>findbugs-maven-plugin</artifactId>
458                 <version>2.3.2</version>
459                 <configuration>
460                     <skip>true</skip>  <!-- UTF-8 Bugs? -->
461                     <effort>Max</effort>
462                     <threshold>Low</threshold>
463                     <!-- excludeFilterFile/ -->
464                 </configuration>
465             </plugin>
466
467             <plugin>
468                 <groupId>org.codehaus.mojo</groupId>
469                 <artifactId>javancss-maven-plugin</artifactId>
470                 <version>2.0</version>
471             </plugin>
472
473             <plugin>
474                 <groupId>org.codehaus.mojo</groupId>
475                 <artifactId>jdepend-maven-plugin</artifactId>
476                 <version>2.0-beta-2</version>
477             </plugin>
478
479         </plugins>
480
481     </reporting>
482
483     <profiles/>
484
485 </project>
486
487 <!-- EOF -->