OSDN Git Service

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