OSDN Git Service

957c1830a55c324e99a7b0b4f35497f7406d07cb
[mikutoga/Pmd2XML.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4     Pmd2XML
5     Maven2用プロジェクト構成定義ファイル
6 -->
7
8 <project
9   xmlns="http://maven.apache.org/POM/4.0.0"
10   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
12   http://maven.apache.org/maven-v4_0_0.xsd"
13 >
14     <modelVersion>4.0.0</modelVersion>
15
16     <groupId>jp.sourceforge.mikutoga</groupId>
17     <artifactId>pmd2xml</artifactId>
18
19     <version>1.101-SNAPSHOT</version>
20
21     <packaging>jar</packaging>
22     <name>Pmd2XML</name>
23
24     <description><!--
25 -->Pmd2XML<!--
26  -->
27     </description>
28
29     <url>http://sourceforge.jp/projects/mikutoga/</url>
30     <inceptionYear>2010</inceptionYear>
31
32     <organization>
33         <name>MikuToga Partners</name>
34         <url>http://sourceforge.jp/projects/mikutoga/</url>
35     </organization>
36
37     <licenses>
38         <license>
39             <name>The MIT License</name>
40             <url>http://www.opensource.org/licenses/mit-license.php</url>
41             <distribution>manual</distribution>
42         </license>
43     </licenses>
44
45     <developers>
46         <developer>
47             <id>olyutorskii</id>
48             <url>http://sites.google.com/site/olyutorskiipit/</url>
49             <organization>MikuToga Partners</organization>
50             <organizationUrl>http://sourceforge.jp/projects/mikutoga/devel/</organizationUrl>
51             <roles>
52                 <role>Project Founder</role>
53                 <role>Java Developer</role>
54             </roles>
55         </developer>
56     </developers>
57
58     <contributors/>
59     <mailingLists/>
60
61     <prerequisites>
62         <maven>2.1</maven>
63     </prerequisites>
64
65     <modules/>
66
67     <scm>
68         <connection>scm:hg:http://hg.sourceforge.jp/view/mikutoga/Pmd2XML</connection>
69         <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/mikutoga/Pmd2XML</developerConnection>
70         <url>http://hg.sourceforge.jp/view/mikutoga/Pmd2XML</url>
71     </scm>
72
73     <issueManagement>
74         <system>SourceForge.JP</system>
75         <url>http://sourceforge.jp/projects/mikutoga/ticket/</url>
76     </issueManagement>
77
78     <ciManagement/>
79     <distributionManagement/>
80
81     <properties>
82         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
83
84         <maven.compiler.source>1.6</maven.compiler.source>
85         <maven.compiler.target>1.6</maven.compiler.target>
86
87         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
88         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
89
90         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
92
93         <project.myrepoconf>${project.basedir}/src/main/config</project.myrepoconf>
94         <project.transformer>
95             org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
96         </project.transformer>
97         <project.mainentry>jp.sourceforge.mikutoga.pmd2xml.Pmd2Xml</project.mainentry>
98     </properties>
99
100     <dependencyManagement/>
101
102     <dependencies>
103
104         <dependency>
105             <groupId>junit</groupId>
106             <artifactId>junit</artifactId>
107             <version>[4,)</version>
108             <scope>test</scope>
109         </dependency>
110
111         <dependency>
112             <groupId>jp.sourceforge.mikutoga</groupId>
113             <artifactId>togagem</artifactId>
114             <version>1.104.2</version>
115             <scope>compile</scope>
116         </dependency>
117
118     </dependencies>
119
120     <repositories/>
121     <pluginRepositories/>
122
123     <build>
124         <pluginManagement/>
125
126         <plugins>
127
128             <plugin>
129                 <groupId>org.apache.maven.plugins</groupId>
130                 <artifactId>maven-compiler-plugin</artifactId>
131                 <configuration>
132                     <source>1.6</source>  <!-- for NetBeans IDE -->
133                     <target>1.6</target>
134                     <showDeprecation>true</showDeprecation>
135                     <showWarnings>true</showWarnings>
136                     <compilerArguments>
137                         <Xlint/>
138                     </compilerArguments>
139                 </configuration>
140             </plugin>
141
142             <plugin>
143                 <groupId>org.apache.maven.plugins</groupId>
144                 <artifactId>maven-clean-plugin</artifactId>
145                 <configuration>
146                     <filesets>
147                         <fileset>
148                             <directory>${project.basedir}</directory>
149                             <includes>
150                                 <include>**/.DS_Store</include>
151                                 <include>**/Thumbs.db</include>
152                                 <include>**/core</include>
153                             </includes>
154                         </fileset>
155                     </filesets>
156                 </configuration>
157             </plugin>
158
159             <plugin>
160                 <groupId>org.apache.maven.plugins</groupId>
161                 <artifactId>maven-jar-plugin</artifactId>
162                 <configuration>
163                     <archive>
164                         <manifestEntries>
165                             <Main-Class>${project.mainentry}</Main-Class>
166                             <Built-By>${project.organization.name}</Built-By>
167                         </manifestEntries>
168                     </archive>
169                 </configuration>
170             </plugin>
171
172             <plugin>
173                 <groupId>org.apache.maven.plugins</groupId>
174                 <artifactId>maven-assembly-plugin</artifactId>
175                 <configuration>
176                     <descriptors>
177                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
178                     </descriptors>
179                 </configuration>
180             </plugin>
181
182             <plugin>
183                 <groupId>org.apache.maven.plugins</groupId>
184                 <artifactId>maven-shade-plugin</artifactId>
185                 <executions>
186                     <execution>
187                         <phase>package</phase>
188                         <goals>
189                           <goal>shade</goal>
190                         </goals>
191                         <configuration>
192                             <artifactSet>
193                                 <includes>
194                                     <include>jp.sourceforge.mikutoga:togagem</include>
195                                 </includes>
196                                 <excludes>
197                                     <exclude>junit:junit</exclude>
198                                 </excludes>
199                             </artifactSet>
200                         </configuration>
201                     </execution>
202                 </executions>
203             </plugin>
204
205             <plugin>
206                 <groupId>org.apache.maven.plugins</groupId>
207                 <artifactId>maven-enforcer-plugin</artifactId>
208                 <configuration>
209                     <rules>
210                         <requireMavenVersion>
211                             <version>[2.1,3)</version>
212                         </requireMavenVersion>
213                         <requireJavaVersion>
214                             <version>[1.6,)</version>
215                         </requireJavaVersion>
216                     </rules>
217                 </configuration>
218             </plugin>
219
220         </plugins>
221
222         <resources>
223
224             <resource>
225                 <directory>src/main/resources</directory>
226                 <filtering>true</filtering>
227                 <includes>
228                     <include>**/version.properties</include>
229                 </includes>
230             </resource>
231
232             <resource>
233                 <directory>src/main/resources</directory>
234                 <includes>
235                     <include>**/*.properties</include>
236                     <include>**/*.xsd</include>
237                     <include>**/*.dtd</include>
238                 </includes>
239                 <excludes>
240                     <exclude>**/version.properties</exclude>
241                 </excludes>
242             </resource>
243
244         </resources>
245
246     </build>
247
248     <reporting>
249         <plugins>
250
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-javadoc-plugin</artifactId>
254                 <version>2.7</version>
255                 <configuration>
256                     <show>protected</show>
257                 </configuration>
258             </plugin>
259
260             <plugin>
261                 <artifactId>maven-site-plugin</artifactId>
262                 <version>2.1.1</version>
263                 <configuration>
264                     <locales>ja</locales>
265                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
266                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
267                 </configuration>
268             </plugin>
269
270             <plugin>
271                 <groupId>org.apache.maven.plugins</groupId>
272                 <artifactId>maven-checkstyle-plugin</artifactId>
273                 <version>2.5</version>
274                 <configuration>
275                     <configLocation>${project.myrepoconf}/checks.xml</configLocation>
276                 </configuration>
277             </plugin>
278
279             <plugin>
280                 <groupId>org.apache.maven.plugins</groupId>
281                 <artifactId>maven-pmd-plugin</artifactId>
282                 <version>2.5</version>
283                 <configuration>
284                     <sourceEncoding>UTF-8</sourceEncoding>
285                     <targetJdk>1.6</targetJdk>
286                     <rulesets>
287                         <ruleset>${project.myrepoconf}/pmdrules.xml</ruleset>
288                     </rulesets>
289                 </configuration>
290             </plugin>
291
292             <plugin>
293                 <groupId>org.codehaus.mojo</groupId>
294                 <artifactId>findbugs-maven-plugin</artifactId>
295                 <version>2.3.1</version>
296                 <configuration>
297                     <effort>Max</effort>
298                     <threshold>Low</threshold>
299                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
300                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
301                     <!--excludeFilterFile/-->
302                 </configuration>
303             </plugin>
304
305             <plugin>
306                 <groupId>org.codehaus.mojo</groupId>
307                 <artifactId>cobertura-maven-plugin</artifactId>
308                 <version>2.4</version>
309             </plugin>
310
311             <plugin>
312                 <groupId>org.codehaus.mojo</groupId>
313                 <artifactId>javancss-maven-plugin</artifactId>
314                 <version>2.0</version>
315             </plugin>
316
317             <plugin>
318                 <groupId>org.apache.maven.plugins</groupId>
319                 <artifactId>maven-jxr-plugin</artifactId>
320                 <version>2.2</version>
321             </plugin>
322
323         </plugins>
324     </reporting>
325
326 </project>
327
328 <!-- EOF -->