OSDN Git Service

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