OSDN Git Service

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