OSDN Git Service

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