OSDN Git Service

JDK6 to JDK8
[mikutoga/Vmd2XML.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>vmd2xml</artifactId>
18
19     <version>2.101.104-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>Vmd2XML</name>
23
24     <description><!--
25 -->Vmd2XML is a VMD-XML converter for MikuMikuDance.<!--
26  --></description>
27
28     <url>http://sourceforge.jp/projects/mikutoga/</url>
29     <inceptionYear>2011</inceptionYear>
30
31     <organization>
32         <name>MikuToga Partners</name>
33         <url>http://sourceforge.jp/projects/mikutoga/devel/</url>
34     </organization>
35
36     <licenses>
37         <license>
38             <name>The MIT License</name>
39             <url>https://opensource.org/licenses/MIT</url>
40             <distribution>manual</distribution>
41         </license>
42     </licenses>
43
44     <developers>
45         <developer>
46             <id>olyutorskii</id>
47             <url>http://sites.google.com/site/olyutorskiipit/</url>
48             <organization>MikuToga Partners</organization>
49             <organizationUrl>http://sourceforge.jp/projects/mikutoga/devel/</organizationUrl>
50             <roles>
51                 <role>Project Founder</role>
52                 <role>Java Developer</role>
53             </roles>
54         </developer>
55     </developers>
56
57     <contributors/>
58     <mailingLists/>
59
60     <!-- prerequisites/ -->
61
62     <modules/>
63
64     <scm>
65         <connection>scm:hg:http://hg.sourceforge.jp/view/mikutoga/Vmd2XML</connection>
66         <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/mikutoga/Vmd2XML</developerConnection>
67         <url>http://hg.sourceforge.jp/view/mikutoga/Vmd2XML</url>
68     </scm>
69
70     <issueManagement>
71         <system>SourceForge.JP</system>
72         <url>http://sourceforge.jp/projects/mikutoga/ticket/</url>
73     </issueManagement>
74
75     <ciManagement/>
76     <distributionManagement/>
77
78     <properties>
79         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
80
81         <maven.compiler.source>1.8</maven.compiler.source>
82         <maven.compiler.target>1.8</maven.compiler.target>
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
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         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
96         <spotbugs.effort>Max</spotbugs.effort>
97         <spotbugs.threshold>Low</spotbugs.threshold>
98         <!-- for Jenkins -->
99         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
100
101         <project.mainentry>jp.sfjp.mikutoga.vmd2xml.Vmd2Xml</project.mainentry>
102
103     </properties>
104
105     <dependencyManagement/>
106
107     <dependencies>
108
109         <dependency>
110             <groupId>junit</groupId>
111             <artifactId>junit</artifactId>
112             <version>4.11</version>
113             <scope>test</scope>
114         </dependency>
115
116         <dependency>
117             <groupId>jp.sourceforge.mikutoga</groupId>
118             <artifactId>togagem</artifactId>
119             <version>3.101.4</version>
120             <scope>compile</scope>
121         </dependency>
122
123     </dependencies>
124
125     <repositories/>
126     <pluginRepositories/>
127
128     <build>
129
130         <pluginManagement>
131
132             <plugins>
133             </plugins>
134
135         </pluginManagement>
136
137         <plugins>
138
139
140             <!-- clean lifecycle -->
141
142             <plugin>
143                 <groupId>org.apache.maven.plugins</groupId>
144                 <artifactId>maven-clean-plugin</artifactId>
145                 <version>2.5</version>
146                 <configuration>
147                     <filesets>
148                         <fileset>
149                             <directory>${project.basedir}</directory>
150                             <includes>
151                                 <include>**/.DS_Store</include>
152                                 <include>**/_MACOSX</include>
153                                 <include>**/Thumbs.db</include>
154                                 <include>**/thumbs.db</include>
155                                 <include>**/Desktop.ini</include>
156                                 <include>**/desktop.ini</include>
157                                 <include>**/core</include>
158                             </includes>
159                         </fileset>
160                     </filesets>
161                 </configuration>
162             </plugin>
163
164
165             <!-- default lifecycle -->
166
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-enforcer-plugin</artifactId>
170                 <version>1.2</version>
171                 <configuration>
172                     <rules>
173                         <requireMavenVersion>
174                             <version>[3.0,)</version>
175                         </requireMavenVersion>
176                         <requireJavaVersion>
177                             <version>[1.8,)</version>
178                         </requireJavaVersion>
179                     </rules>
180                 </configuration>
181             </plugin>
182
183             <plugin>
184                 <groupId>org.apache.maven.plugins</groupId>
185                 <artifactId>maven-resources-plugin</artifactId>
186                 <version>2.6</version>
187             </plugin>
188
189             <plugin>
190                 <groupId>org.apache.maven.plugins</groupId>
191                 <artifactId>maven-compiler-plugin</artifactId>
192                 <version>3.1</version>
193                 <configuration>
194                     <source>1.8</source>  <!-- for NetBeans IDE -->
195                     <target>1.8</target>
196                     <showDeprecation>true</showDeprecation>
197                     <showWarnings>true</showWarnings>
198                     <compilerArguments>
199                         <Xlint/>
200                     </compilerArguments>
201                 </configuration>
202             </plugin>
203
204             <plugin>
205                 <groupId>org.apache.maven.plugins</groupId>
206                 <artifactId>maven-surefire-plugin</artifactId>
207                 <version>2.14.1</version>
208                 <configuration>
209                     <skipTests>false</skipTests>
210                     <enableAssertions>true</enableAssertions>
211                 </configuration>
212             </plugin>
213
214             <plugin>
215                 <groupId>org.codehaus.mojo</groupId>
216                 <artifactId>cobertura-maven-plugin</artifactId>
217                 <version>2.7</version>
218                 <configuration>
219                     <encoding>${project.build.sourceEncoding}</encoding>
220                     <formats>
221                         <format>html</format>
222                         <format>xml</format> <!-- for Jenkins -->
223                     </formats>
224                 </configuration>
225             </plugin>
226
227             <plugin>
228                 <groupId>org.apache.maven.plugins</groupId>
229                 <artifactId>maven-jar-plugin</artifactId>
230                 <version>2.4</version>
231                 <configuration>
232                     <archive>
233                         <manifest>
234                             <mainClass>${project.mainentry}</mainClass>
235                         </manifest>
236                         <manifestEntries>
237                             <Built-By>${project.organization.name}</Built-By>
238                         </manifestEntries>
239                     </archive>
240                 </configuration>
241             </plugin>
242
243             <plugin>
244                 <groupId>org.apache.maven.plugins</groupId>
245                 <artifactId>maven-shade-plugin</artifactId>
246                 <version>2.1</version>
247                 <executions>
248                     <execution>
249                         <phase>package</phase>
250                         <goals>
251                           <goal>shade</goal>
252                         </goals>
253                         <configuration>
254                             <createDependencyReducedPom>false</createDependencyReducedPom>
255                             <artifactSet>
256                                 <includes>
257                                     <include>jp.sourceforge.mikutoga:togagem</include>
258                                 </includes>
259                                 <excludes>
260                                     <exclude>junit:junit</exclude>
261                                 </excludes>
262                             </artifactSet>
263                         </configuration>
264                     </execution>
265                 </executions>
266             </plugin>
267
268             <plugin>
269                 <groupId>org.apache.maven.plugins</groupId>
270                 <artifactId>maven-source-plugin</artifactId>
271                 <version>2.2.1</version>
272                 <configuration>
273                     <includePom>true</includePom>
274                     <archive>
275                         <manifestEntries>
276                             <Built-By>${project.organization.name}</Built-By>
277                         </manifestEntries>
278                     </archive>
279                 </configuration>
280                 <executions>
281                     <execution>
282                         <id>attach-sources</id>
283                         <phase>verify</phase>
284                         <goals>
285                           <goal>jar-no-fork</goal>
286                         </goals>
287                     </execution>
288                 </executions>
289             </plugin>
290
291             <plugin>
292                 <groupId>org.apache.maven.plugins</groupId>
293                 <artifactId>maven-install-plugin</artifactId>
294                 <version>2.4</version>
295             </plugin>
296
297             <plugin>
298                 <groupId>org.apache.maven.plugins</groupId>
299                 <artifactId>maven-deploy-plugin</artifactId>
300                 <version>3.0.0-M1</version>
301             </plugin>
302
303
304             <!-- site lifecycle -->
305
306             <plugin>
307                 <groupId>org.apache.maven.plugins</groupId>
308                 <artifactId>maven-site-plugin</artifactId>
309                 <version>3.3</version>
310                 <configuration>
311                     <generateReports>true</generateReports>
312                     <locales>ja</locales>
313                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
314                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
315                 </configuration>
316             </plugin>
317
318
319             <!-- goals without lifecycle -->
320
321             <plugin>
322                 <groupId>org.apache.maven.plugins</groupId>
323                 <artifactId>maven-assembly-plugin</artifactId>
324                 <version>2.4</version>
325                 <configuration>
326                     <archiveBaseDirectory>.</archiveBaseDirectory>
327                     <descriptors>
328                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
329                     </descriptors>
330                 </configuration>
331             </plugin>
332
333             <plugin>
334                 <groupId>org.apache.maven.plugins</groupId>
335                 <artifactId>maven-checkstyle-plugin</artifactId>
336                 <version>2.10</version>
337                 <!-- config from property value -->
338             </plugin>
339
340             <plugin>
341                 <groupId>org.apache.maven.plugins</groupId>
342                 <artifactId>maven-pmd-plugin</artifactId>
343                 <version>3.0.1</version>
344                 <configuration>
345                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
346                     <rulesets>
347                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
348                     </rulesets>
349                 </configuration>
350             </plugin>
351
352             <plugin>
353                 <groupId>com.github.spotbugs</groupId>
354                 <artifactId>spotbugs-maven-plugin</artifactId>
355                 <version>${spotbugs-plugin.version}</version>
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>2.7</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>license</report>
425                             <report>dependencies</report>
426                             <report>plugins</report>
427                             <report>scm</report>
428                             <report>project-team</report>
429 <!--
430                             <report>dependency-convergence</report>
431                             <report>dependency-info</report>
432                             <report>dependency-management</report>
433                             <report>distribution-management</report>
434                             <report>issue-tracking</report>
435                             <report>mailing-list</report>
436                             <report>modules</report>
437                             <report>plugin-management</report>
438 -->
439                         </reports>
440                     </reportSet>
441                 </reportSets>
442             </plugin>
443
444             <plugin>
445                 <groupId>org.apache.maven.plugins</groupId>
446                 <artifactId>maven-javadoc-plugin</artifactId>
447                 <version>2.9</version>
448                 <configuration>
449                     <skip>false</skip>
450                     <notimestamp>true</notimestamp>
451                     <quiet>true</quiet>
452                     <show>protected</show>
453                     <stylesheet>maven</stylesheet>
454                 </configuration>
455                 <reportSets>
456                     <reportSet>
457                         <reports>
458                             <report>javadoc</report>
459                         </reports>
460                     </reportSet>
461                 </reportSets>
462             </plugin>
463
464             <plugin>
465                 <groupId>org.apache.maven.plugins</groupId>
466                 <artifactId>maven-jxr-plugin</artifactId>
467                 <version>2.3</version>
468                 <configuration>
469                     <skip>false</skip>
470                 </configuration>
471             </plugin>
472
473             <plugin>
474                 <groupId>org.apache.maven.plugins</groupId>
475                 <artifactId>maven-surefire-report-plugin</artifactId>
476                 <version>2.14.1</version>
477                 <configuration>
478                     <showSuccess>false</showSuccess>
479                 </configuration>
480                 <reportSets>
481                     <reportSet>
482                         <reports>
483                             <report>report-only</report>
484                         </reports>
485                     </reportSet>
486                 </reportSets>
487             </plugin>
488
489             <plugin>
490                 <groupId>org.codehaus.mojo</groupId>
491                 <artifactId>cobertura-maven-plugin</artifactId>
492                 <version>2.7</version>
493                 <configuration>
494                     <encoding>${project.build.sourceEncoding}</encoding>
495                     <formats>
496                         <format>html</format>
497                         <format>xml</format> <!-- for Jenkins -->
498                     </formats>
499                 </configuration>
500             </plugin>
501
502             <plugin>
503                 <groupId>org.apache.maven.plugins</groupId>
504                 <artifactId>maven-checkstyle-plugin</artifactId>
505                 <version>2.10</version>
506                 <configuration>
507                     <skip>false</skip>
508                     <!-- config from property value -->
509                 </configuration>
510                 <reportSets>
511                     <reportSet>
512                         <reports>
513                             <report>checkstyle</report>
514                         </reports>
515                     </reportSet>
516                 </reportSets>
517             </plugin>
518
519             <plugin>
520                 <groupId>org.apache.maven.plugins</groupId>
521                 <artifactId>maven-pmd-plugin</artifactId>
522                 <version>3.0.1</version>
523                 <configuration>
524                     <skip>false</skip>
525                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
526                     <rulesets>
527                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
528                     </rulesets>
529                 </configuration>
530                 <reportSets>
531                     <reportSet>
532                         <reports>
533                             <report>pmd</report>
534                             <report>cpd</report>
535                         </reports>
536                     </reportSet>
537                 </reportSets>
538             </plugin>
539
540             <plugin>
541                 <groupId>com.github.spotbugs</groupId>
542                 <artifactId>spotbugs-maven-plugin</artifactId>
543                 <version>${spotbugs-plugin.version}</version>
544             </plugin>
545
546             <plugin>
547                 <groupId>org.codehaus.mojo</groupId>
548                 <artifactId>javancss-maven-plugin</artifactId>
549                 <version>2.0</version>
550             </plugin>
551
552             <plugin>
553                 <groupId>org.codehaus.mojo</groupId>
554                 <artifactId>jdepend-maven-plugin</artifactId>
555                 <version>2.0-beta-2</version>
556             </plugin>
557
558         </plugins>
559
560     </reporting>
561
562     <profiles/>
563
564 </project>
565
566 <!-- EOF -->