OSDN Git Service

0060ac57212c21f4d0e902827d3a502403ccc3bb
[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>http://sourceforge.jp/projects/mikutoga/</url>
29     <inceptionYear>2010</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/Pmd2XML</connection>
66         <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/mikutoga/Pmd2XML</developerConnection>
67         <url>http://hg.sourceforge.jp/view/mikutoga/Pmd2XML</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.source>1.6</maven.compiler.source>
80         <maven.compiler.target>1.6</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>1.3.1</version>
170                 <configuration>
171                     <rules>
172                         <requireMavenVersion>
173                             <version>[3.0,)</version>
174                         </requireMavenVersion>
175                         <requireJavaVersion>
176                             <version>[1.6,)</version>
177                         </requireJavaVersion>
178                     </rules>
179                 </configuration>
180             </plugin>
181
182             <plugin>
183                 <groupId>org.apache.maven.plugins</groupId>
184                 <artifactId>maven-resources-plugin</artifactId>
185                 <version>2.6</version>
186             </plugin>
187
188             <plugin>
189                 <groupId>org.apache.maven.plugins</groupId>
190                 <artifactId>maven-compiler-plugin</artifactId>
191                 <version>3.1</version>
192                 <configuration>
193                     <source>1.6</source>  <!-- for NetBeans IDE -->
194                     <target>1.6</target>
195                     <showDeprecation>true</showDeprecation>
196                     <showWarnings>true</showWarnings>
197                     <compilerArguments>
198                         <Xlint/>
199                     </compilerArguments>
200                 </configuration>
201             </plugin>
202
203             <plugin>
204                 <groupId>org.apache.maven.plugins</groupId>
205                 <artifactId>maven-surefire-plugin</artifactId>
206                 <version>2.16</version>
207                 <configuration>
208                     <skipTests>false</skipTests>
209                     <enableAssertions>true</enableAssertions>
210                 </configuration>
211             </plugin>
212
213             <plugin>
214                 <groupId>org.codehaus.mojo</groupId>
215                 <artifactId>cobertura-maven-plugin</artifactId>
216                 <version>2.5.2</version>
217                 <configuration>
218                     <encoding>${project.build.sourceEncoding}</encoding>
219                     <formats>
220                         <format>html</format>
221                         <format>xml</format> <!-- for Jenkins -->
222                     </formats>
223                 </configuration>
224             </plugin>
225
226             <plugin>
227                 <groupId>org.apache.maven.plugins</groupId>
228                 <artifactId>maven-jar-plugin</artifactId>
229                 <version>2.4</version>
230                 <configuration>
231                     <archive>
232                         <manifest>
233                             <mainClass>${project.mainentry}</mainClass>
234                         </manifest>
235                         <manifestEntries>
236                             <Built-By>${project.organization.name}</Built-By>
237                         </manifestEntries>
238                     </archive>
239                 </configuration>
240             </plugin>
241
242             <plugin>
243                 <groupId>org.apache.maven.plugins</groupId>
244                 <artifactId>maven-shade-plugin</artifactId>
245                 <version>2.1</version>
246                 <executions>
247                     <execution>
248                         <phase>package</phase>
249                         <goals>
250                           <goal>shade</goal>
251                         </goals>
252                         <configuration>
253                             <createDependencyReducedPom>false</createDependencyReducedPom>
254                             <artifactSet>
255                                 <includes>
256                                     <include>jp.sourceforge.mikutoga:togagem</include>
257                                 </includes>
258                                 <excludes>
259                                     <exclude>junit:junit</exclude>
260                                 </excludes>
261                             </artifactSet>
262                         </configuration>
263                     </execution>
264                 </executions>
265             </plugin>
266
267             <plugin>
268                 <groupId>org.apache.maven.plugins</groupId>
269                 <artifactId>maven-source-plugin</artifactId>
270                 <version>2.2.1</version>
271                 <configuration>
272                     <includePom>true</includePom>
273                     <archive>
274                         <manifestEntries>
275                             <Built-By>${project.organization.name}</Built-By>
276                         </manifestEntries>
277                     </archive>
278                 </configuration>
279                 <executions>
280                     <execution>
281                         <id>attach-sources</id>
282                         <phase>verify</phase>
283                         <goals>
284                           <goal>jar-no-fork</goal>
285                         </goals>
286                     </execution>
287                 </executions>
288             </plugin>
289
290             <plugin>
291                 <groupId>org.apache.maven.plugins</groupId>
292                 <artifactId>maven-install-plugin</artifactId>
293                 <version>2.5.1</version>
294             </plugin>
295
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-deploy-plugin</artifactId>
299                 <version>3.0.0-M1</version>
300             </plugin>
301
302
303             <!-- site lifecycle -->
304
305             <plugin>
306                 <groupId>org.apache.maven.plugins</groupId>
307                 <artifactId>maven-site-plugin</artifactId>
308                 <version>3.3</version>
309                 <configuration>
310                     <generateReports>true</generateReports>
311                     <locales>ja</locales>
312                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
313                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
314                 </configuration>
315             </plugin>
316
317
318             <!-- goals without lifecycle -->
319
320             <plugin>
321                 <groupId>org.apache.maven.plugins</groupId>
322                 <artifactId>maven-assembly-plugin</artifactId>
323                 <version>2.4</version>
324                 <configuration>
325                     <archiveBaseDirectory>.</archiveBaseDirectory>
326                     <descriptors>
327                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
328                     </descriptors>
329                 </configuration>
330             </plugin>
331
332             <plugin>
333                 <groupId>org.apache.maven.plugins</groupId>
334                 <artifactId>maven-checkstyle-plugin</artifactId>
335                 <version>2.11</version>
336                 <!-- config from property value -->
337             </plugin>
338
339             <plugin>
340                 <groupId>org.apache.maven.plugins</groupId>
341                 <artifactId>maven-pmd-plugin</artifactId>
342                 <version>3.0.1</version>
343                 <configuration>
344                     <targetJdk>${maven.compiler.target}</targetJdk>
345                     <rulesets>
346                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
347                     </rulesets>
348                 </configuration>
349             </plugin>
350
351             <plugin>
352                 <groupId>com.github.spotbugs</groupId>
353                 <artifactId>spotbugs-maven-plugin</artifactId>
354                 <version>${spotbugs-plugin.version}</version>
355             </plugin>
356
357         </plugins>
358
359         <resources>
360
361             <resource>
362                 <directory>src/main/resources</directory>
363                 <filtering>true</filtering>
364                 <includes>
365                     <include>**/version.properties</include>
366                 </includes>
367             </resource>
368
369             <resource>
370                 <directory>src/main/resources</directory>
371                 <includes>
372                     <include>**/*.txt</include>
373
374                     <include>**/*.properties</include>
375
376                     <include>**/*.xml</include>
377                     <include>**/*.xsd</include>
378                     <include>**/*.dtd</include>
379
380                     <include>**/*.html</include>
381                     <include>**/*.htm</include>
382                     <include>**/*.css</include>
383
384                     <include>**/*.png</include>
385                     <include>**/*.gif</include>
386                     <include>**/*.jpeg</include>
387                     <include>**/*.jpg</include>
388                 </includes>
389                 <excludes>
390                     <exclude>**/version.properties</exclude>
391
392                     <exclude>**/.DS_Store</exclude>
393                     <exclude>**/__MACOSX</exclude>
394                     <exclude>**/Thumbs.db</exclude>
395                     <exclude>**/thumbs.db</exclude>
396                     <exclude>**/Desktop.ini</exclude>
397                     <exclude>**/desktop.ini</exclude>
398                     <exclude>**/core</exclude>
399                 </excludes>
400             </resource>
401
402         </resources>
403
404     </build>
405
406     <reporting>
407
408         <plugins>
409
410             <plugin>
411                 <groupId>org.apache.maven.plugins</groupId>
412                 <artifactId>maven-project-info-reports-plugin</artifactId>
413                 <version>2.7</version>
414                 <configuration>
415                     <linkOnly>true</linkOnly>
416                     <offline>true</offline>
417                 </configuration>
418                 <reportSets>
419                     <reportSet>
420                         <reports>
421                             <report>index</report>
422                             <report>summary</report>
423                             <report>license</report>
424                             <report>dependencies</report>
425                             <report>plugins</report>
426                             <report>scm</report>
427                             <report>project-team</report>
428 <!--
429                             <report>dependency-convergence</report>
430                             <report>dependency-info</report>
431                             <report>dependency-management</report>
432                             <report>distribution-management</report>
433                             <report>issue-tracking</report>
434                             <report>mailing-list</report>
435                             <report>modules</report>
436                             <report>plugin-management</report>
437 -->
438                         </reports>
439                     </reportSet>
440                 </reportSets>
441             </plugin>
442
443             <plugin>
444                 <groupId>org.apache.maven.plugins</groupId>
445                 <artifactId>maven-javadoc-plugin</artifactId>
446                 <version>2.9.1</version>
447                 <configuration>
448                     <skip>false</skip>
449                     <notimestamp>true</notimestamp>
450                     <quiet>true</quiet>
451                     <show>protected</show>
452                     <stylesheet>maven</stylesheet>
453                 </configuration>
454                 <reportSets>
455                     <reportSet>
456                         <reports>
457                             <report>javadoc</report>
458                         </reports>
459                     </reportSet>
460                 </reportSets>
461             </plugin>
462
463             <plugin>
464                 <groupId>org.apache.maven.plugins</groupId>
465                 <artifactId>maven-jxr-plugin</artifactId>
466                 <version>2.3</version>
467                 <configuration>
468                     <skip>false</skip>
469                 </configuration>
470             </plugin>
471
472             <plugin>
473                 <groupId>org.apache.maven.plugins</groupId>
474                 <artifactId>maven-surefire-report-plugin</artifactId>
475                 <version>2.16</version>
476                 <configuration>
477                     <showSuccess>false</showSuccess>
478                 </configuration>
479                 <reportSets>
480                     <reportSet>
481                         <reports>
482                             <report>report-only</report>
483                         </reports>
484                     </reportSet>
485                 </reportSets>
486             </plugin>
487
488             <plugin>
489                 <groupId>org.codehaus.mojo</groupId>
490                 <artifactId>cobertura-maven-plugin</artifactId>
491                 <version>2.5.2</version>
492                 <configuration>
493                     <encoding>${project.build.sourceEncoding}</encoding>
494                     <formats>
495                         <format>html</format>
496                         <format>xml</format> <!-- for Jenkins -->
497                     </formats>
498                 </configuration>
499             </plugin>
500
501             <plugin>
502                 <groupId>org.apache.maven.plugins</groupId>
503                 <artifactId>maven-checkstyle-plugin</artifactId>
504                 <version>2.11</version>
505                 <configuration>
506                     <skip>false</skip>
507                     <!-- config from property value -->
508                 </configuration>
509                 <reportSets>
510                     <reportSet>
511                         <reports>
512                             <report>checkstyle</report>
513                         </reports>
514                     </reportSet>
515                 </reportSets>
516             </plugin>
517
518             <plugin>
519                 <groupId>org.apache.maven.plugins</groupId>
520                 <artifactId>maven-pmd-plugin</artifactId>
521                 <version>3.0.1</version>
522                 <configuration>
523                     <skip>false</skip>
524                     <targetJdk>${maven.compiler.target}</targetJdk>
525                     <rulesets>
526                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
527                     </rulesets>
528                 </configuration>
529                 <reportSets>
530                     <reportSet>
531                         <reports>
532                             <report>pmd</report>
533                             <report>cpd</report>
534                         </reports>
535                     </reportSet>
536                 </reportSets>
537             </plugin>
538
539             <plugin>
540                 <groupId>com.github.spotbugs</groupId>
541                 <artifactId>spotbugs-maven-plugin</artifactId>
542                 <version>${spotbugs-plugin.version}</version>
543             </plugin>
544
545         </plugins>
546
547     </reporting>
548
549     <profiles/>
550
551 </project>
552
553 <!-- EOF -->