OSDN Git Service

ループ識別情報の簡素化
[mikutoga/TogaGem.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4     TogaGemライブラリ
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     <!--parent/-->
16
17     <groupId>jp.sourceforge.mikutoga</groupId>
18     <artifactId>togagem</artifactId>
19
20     <version>1.105.3-SNAPSHOT</version>
21
22     <packaging>jar</packaging>
23     <name>TogaGem</name>
24
25     <description><!--
26 -->TogaGem is a file reader/writer library for MikuMikuDance(MMD) with Java. <!--
27 -->TogaGem is a sub-project of MikuToga project. <!--
28 --></description>
29
30     <url>http://sourceforge.jp/projects/mikutoga/</url>
31     <inceptionYear>2010</inceptionYear>
32
33     <organization>
34         <name>MikuToga Partners</name>
35         <url>http://sourceforge.jp/projects/mikutoga/devel/</url>
36     </organization>
37
38     <licenses>
39         <license>
40             <name>The MIT License</name>
41             <url>http://www.opensource.org/licenses/mit-license.php</url>
42             <distribution>manual</distribution>
43         </license>
44     </licenses>
45
46     <developers>
47         <developer>
48             <id>olyutorskii</id>
49             <url>http://sites.google.com/site/olyutorskiipit/</url>
50             <organization>MikuToga Partners</organization>
51             <organizationUrl>http://sourceforge.jp/projects/mikutoga/devel/</organizationUrl>
52             <roles>
53                 <role>Project Founder</role>
54                 <role>Java Developer</role>
55             </roles>
56         </developer>
57     </developers>
58
59     <contributors/>
60     <mailingLists/>
61
62     <prerequisites>
63         <maven>2.2</maven>
64     </prerequisites>
65
66     <modules/>
67
68     <scm>
69         <connection>scm:hg:http://hg.sourceforge.jp/view/mikutoga/TogaGem</connection>
70         <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/mikutoga/TogaGem</developerConnection>
71         <url>http://hg.sourceforge.jp/view/mikutoga/TogaGem</url>
72     </scm>
73
74     <issueManagement>
75         <system>SourceForge.JP</system>
76         <url>http://sourceforge.jp/projects/mikutoga/ticket/</url>
77     </issueManagement>
78
79     <ciManagement/>
80     <distributionManagement/>
81
82     <properties>
83         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
84
85         <maven.compiler.source>1.6</maven.compiler.source>
86         <maven.compiler.target>1.6</maven.compiler.target>
87
88         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
89         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
90
91         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
92         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
93
94         <project.myrepoconf>${project.basedir}/src/main/config</project.myrepoconf>
95
96         <!-- Walkaround for Maven3&PMD-plugin bug -->
97         <targetJdk>${maven.compiler.source}</targetJdk>
98
99         <!-- Walkaround for Maven3&checkstyle bug -->
100         <checkstyle.config.location>${project.myrepoconf}/checks.xml</checkstyle.config.location>
101
102     </properties>
103
104     <dependencyManagement/>
105
106     <dependencies>
107
108         <dependency>
109             <groupId>junit</groupId>
110             <artifactId>junit</artifactId>
111             <version>[4.8.2,)</version>
112             <scope>test</scope>
113         </dependency>
114
115     </dependencies>
116
117     <repositories/>
118     <pluginRepositories/>
119
120     <build>
121         <pluginManagement/>
122
123         <plugins>
124
125             <plugin>
126                 <groupId>org.apache.maven.plugins</groupId>
127                 <artifactId>maven-clean-plugin</artifactId>
128                 <version>2.4.1</version>
129                 <configuration>
130                     <filesets>
131                         <fileset>
132                             <directory>${project.basedir}</directory>
133                             <includes>
134                                 <include>**/.DS_Store</include>
135                                 <include>**/Thumbs.db</include>
136                                 <include>**/core</include>
137                             </includes>
138                         </fileset>
139                     </filesets>
140                 </configuration>
141             </plugin>
142
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-compiler-plugin</artifactId>
146                 <version>2.3.2</version>
147                 <configuration>
148                     <source>1.6</source>  <!-- for NetBeans IDE -->
149                     <target>1.6</target>
150                     <showDeprecation>true</showDeprecation>
151                     <showWarnings>true</showWarnings>
152                     <compilerArguments>
153                         <Xlint/>
154                     </compilerArguments>
155                 </configuration>
156             </plugin>
157
158             <plugin>
159                 <groupId>org.apache.maven.plugins</groupId>
160                 <artifactId>maven-jar-plugin</artifactId>
161                 <version>2.3.1</version>
162                 <configuration>
163                     <archive>
164                         <manifestEntries>
165                             <Built-By>${project.organization.name}</Built-By>
166                         </manifestEntries>
167                     </archive>
168                 </configuration>
169             </plugin>
170
171             <plugin>
172                 <groupId>org.apache.maven.plugins</groupId>
173                 <artifactId>maven-assembly-plugin</artifactId>
174                 <version>2.2.1</version>
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-enforcer-plugin</artifactId>
185                 <version>1.0</version>
186                 <configuration>
187                     <rules>
188                         <requireMavenVersion>
189                             <version>[2.2,3)</version>
190                         </requireMavenVersion>
191                         <requireJavaVersion>
192                             <version>[1.6,)</version>
193                         </requireJavaVersion>
194                     </rules>
195                 </configuration>
196             </plugin>
197
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-source-plugin</artifactId>
201                 <version>2.1.2</version>
202                 <configuration>
203                     <includePom>true</includePom>
204                     <archive>
205                         <manifestEntries>
206                             <Built-By>${project.organization.name}</Built-By>
207                         </manifestEntries>
208                     </archive>
209                 </configuration>
210                 <executions>
211                     <execution>
212                         <id>attach-sources</id>
213                         <phase>verify</phase>
214                         <goals>
215                           <goal>jar-no-fork</goal>
216                         </goals>
217                     </execution>
218                 </executions>
219             </plugin>
220
221         </plugins>
222
223         <resources>
224
225             <resource>
226                 <directory>src/main/resources</directory>
227                 <filtering>true</filtering>
228                 <includes>
229                     <include>**/version.properties</include>
230                 </includes>
231             </resource>
232
233             <resource>
234                 <directory>src/main/resources</directory>
235                 <includes>
236                     <include>**/*.css</include>
237                     <include>**/*.html</include>
238                     <include>**/*.png</include>
239                     <include>**/*.properties</include>
240                     <include>**/*.txt</include>
241                     <include>**/*.xml</include>
242                     <include>**/*.xsd</include>
243                     <include>**/*.dtd</include>
244                 </includes>
245                 <excludes>
246                     <exclude>**/version.properties</exclude>
247                 </excludes>
248             </resource>
249
250         </resources>
251
252     </build>
253
254     <reporting>
255
256         <plugins>
257
258             <plugin>
259                 <groupId>org.apache.maven.plugins</groupId>
260                 <artifactId>maven-site-plugin</artifactId>
261                 <version>2.2</version>
262                 <configuration>
263                     <locales>ja</locales>
264                     <generateReports>true</generateReports>
265                     <generateSitemap>true</generateSitemap>
266                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
267                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
268                 </configuration>
269             </plugin>
270
271             <plugin>
272                 <groupId>org.apache.maven.plugins</groupId>
273                 <artifactId>maven-javadoc-plugin</artifactId>
274                 <version>2.8</version>
275                 <configuration>
276                     <show>protected</show>
277                 </configuration>
278             </plugin>
279
280             <plugin>
281                 <groupId>org.apache.maven.plugins</groupId>
282                 <artifactId>maven-checkstyle-plugin</artifactId>
283                 <version>2.6</version>
284                 <configuration>
285                     <configLocation>${checkstyle.config.location}</configLocation>
286                     <encoding>UTF-8</encoding>
287                 </configuration>
288             </plugin>
289
290             <plugin>
291                 <groupId>org.apache.maven.plugins</groupId>
292                 <artifactId>maven-pmd-plugin</artifactId>
293                 <version>2.5</version>
294                 <configuration>
295                     <targetJdk>${maven.compiler.target}</targetJdk>
296                     <rulesets>
297                         <ruleset>${project.myrepoconf}/pmdrules.xml</ruleset>
298                     </rulesets>
299                 </configuration>
300                 <reportSets>
301                     <reportSet>
302                         <reports>
303                             <report>pmd</report>
304                             <report>cpd</report>
305                         </reports>
306                     </reportSet>
307                 </reportSets>
308             </plugin>
309
310 <!--
311             <plugin>
312                 <groupId>org.codehaus.mojo</groupId>
313                 <artifactId>findbugs-maven-plugin</artifactId>
314                 <version>2.3.2</version>
315                 <configuration>
316                     <effort>Max</effort>
317                     <threshold>Low</threshold>
318                     <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
319                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
320                     <!- -excludeFilterFile/- ->
321                 </configuration>
322             </plugin>
323 -->
324
325             <plugin>
326                 <groupId>org.codehaus.mojo</groupId>
327                 <artifactId>cobertura-maven-plugin</artifactId>
328                 <version>2.4</version>
329             </plugin>
330
331             <plugin>
332                 <groupId>org.codehaus.mojo</groupId>
333                 <artifactId>javancss-maven-plugin</artifactId>
334                 <version>2.0</version>
335             </plugin>
336
337             <plugin>
338                 <groupId>org.apache.maven.plugins</groupId>
339                 <artifactId>maven-jxr-plugin</artifactId>
340                 <version>2.2</version>
341             </plugin>
342
343         </plugins>
344
345     </reporting>
346
347     <profiles/>
348
349 </project>
350
351 <!-- EOF -->