OSDN Git Service

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