OSDN Git Service

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