OSDN Git Service

963725acf3ab871cab5c410839f869d1cf599fe1
[jovsonz/Jovsonz.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4     Maven3 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.103-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.osdn.jp/</url>
29     <inceptionYear>2009</inceptionYear>
30
31     <organization>
32         <name>Jovsonz Partners</name>
33         <url>https://osdn.net/projects/jovsonz/</url>
34     </organization>
35
36     <licenses>
37         <license>
38             <name>The MIT License</name>
39             <url>https://opensource.org/licenses/MIT</url>
40             <distribution>manual</distribution>
41         </license>
42     </licenses>
43
44     <developers>
45         <developer>
46             <id>olyutorskii</id>
47             <url>https://sites.google.com/site/olyutorskiipit/</url>
48             <organization>Jovsonz Partners</organization>
49             <organizationUrl>https://osdn.net/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>3.0.1</maven>
62     </prerequisites>
63
64     <modules/>
65
66     <scm>
67         <connection>scm:git:git://git.osdn.net/gitroot/jovsonz/Jovsonz.git</connection>
68         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jovsonz/Jovsonz.git</developerConnection>
69         <url>https://osdn.net/projects/jovsonz/scm/git/Jovsonz/</url>
70     </scm>
71
72     <issueManagement>
73         <system>OSDN.net</system>
74         <url>https://osdn.net/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.8</maven.compiler.source>
84         <maven.compiler.target>1.8</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.12</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.4.1</version>
124                 <configuration>
125                     <rules>
126                         <requireMavenVersion>
127                             <version>[3.0.1,)</version>
128                         </requireMavenVersion>
129                         <requireJavaVersion>
130                             <version>[1.7,)</version>
131                         </requireJavaVersion>
132                     </rules>
133                 </configuration>
134             </plugin>
135
136             <plugin>
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-install-plugin</artifactId>
139                 <version>2.5.2</version>
140             </plugin>
141
142             <plugin>
143                 <groupId>org.apache.maven.plugins</groupId>
144                 <artifactId>maven-clean-plugin</artifactId>
145                 <version>3.0.0</version>
146                 <configuration>
147                     <filesets>
148                         <fileset>
149                             <directory>${project.basedir}</directory>
150                             <includes>
151                                 <include>**/.DS_Store</include>
152                                 <include>**/_MACOSX</include>
153                                 <include>**/Thumbs.db</include>
154                                 <include>**/thumbs.db</include>
155                                 <include>**/Desktop.ini</include>
156                                 <include>**/desktop.ini</include>
157                                 <include>**/core</include>
158                             </includes>
159                         </fileset>
160                     </filesets>
161                 </configuration>
162             </plugin>
163
164             <plugin>
165                 <groupId>org.apache.maven.plugins</groupId>
166                 <artifactId>maven-compiler-plugin</artifactId>
167                 <version>3.5.1</version>
168                 <configuration>
169                     <source>1.8</source>  <!-- for NetBeans IDE -->
170                     <target>1.8</target>
171                     <showDeprecation>true</showDeprecation>
172                     <showWarnings>true</showWarnings>
173                     <compilerArguments>
174                         <Xlint/>
175                     </compilerArguments>
176                 </configuration>
177             </plugin>
178
179             <plugin>
180                 <groupId>org.apache.maven.plugins</groupId>
181                 <artifactId>maven-jar-plugin</artifactId>
182                 <version>3.0.0</version>
183                 <configuration>
184                     <archive>
185                         <manifestEntries>
186                             <Built-By>${project.organization.name}</Built-By>
187                         </manifestEntries>
188                     </archive>
189                 </configuration>
190             </plugin>
191
192             <plugin>
193                 <groupId>org.apache.maven.plugins</groupId>
194                 <artifactId>maven-assembly-plugin</artifactId>
195                 <version>2.6</version>
196                 <configuration>
197                     <archiveBaseDirectory>.</archiveBaseDirectory>
198                     <descriptors>
199                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
200                     </descriptors>
201                 </configuration>
202             </plugin>
203
204             <plugin>
205                 <groupId>org.apache.maven.plugins</groupId>
206                 <artifactId>maven-source-plugin</artifactId>
207                 <version>3.0.0</version>
208                 <configuration>
209                     <includePom>true</includePom>
210                     <archive>
211                         <manifestEntries>
212                             <Built-By>${project.organization.name}</Built-By>
213                         </manifestEntries>
214                     </archive>
215                 </configuration>
216                 <executions>
217                     <execution>
218                         <id>attach-sources</id>
219                         <phase>verify</phase>
220                         <goals>
221                           <goal>jar-no-fork</goal>
222                         </goals>
223                     </execution>
224                 </executions>
225             </plugin>
226
227             <plugin>
228                 <groupId>org.apache.maven.plugins</groupId>
229                 <artifactId>maven-resources-plugin</artifactId>
230                 <version>3.0.0</version>
231             </plugin>
232
233             <plugin>
234                 <groupId>org.apache.maven.plugins</groupId>
235                 <artifactId>maven-surefire-plugin</artifactId>
236                 <version>2.19.1</version>
237                 <configuration>
238                     <skipTests>false</skipTests>
239                     <enableAssertions>true</enableAssertions>
240                 </configuration>
241             </plugin>
242
243             <plugin>
244                 <groupId>org.apache.maven.plugins</groupId>
245                 <artifactId>maven-site-plugin</artifactId>
246                 <version>3.5.1</version>
247                 <configuration>
248                     <generateReports>true</generateReports>
249                     <locales>ja</locales>
250                     <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
251                     <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
252                 </configuration>
253             </plugin>
254
255             <plugin>
256                 <groupId>org.apache.maven.plugins</groupId>
257                 <artifactId>maven-checkstyle-plugin</artifactId>
258                 <version>2.15</version>
259                 <!-- config from property value -->
260             </plugin>
261
262             <plugin>
263                 <groupId>org.apache.maven.plugins</groupId>
264                 <artifactId>maven-pmd-plugin</artifactId>
265                 <version>3.6</version>
266                 <configuration>
267                     <targetJdk>${maven.compiler.target}</targetJdk>
268                     <rulesets>
269                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
270                     </rulesets>
271                 </configuration>
272             </plugin>
273
274             <plugin>
275                 <groupId>org.codehaus.mojo</groupId>
276                 <artifactId>findbugs-maven-plugin</artifactId>
277                 <version>3.0.3</version>
278                 <configuration>
279                     <effort>Max</effort>
280                     <threshold>Low</threshold>
281                     <!-- for Jenkins -->
282                     <findbugsXmlOutput>true</findbugsXmlOutput>
283                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
284                     <xmlOutput>true</xmlOutput>
285                 </configuration>
286             </plugin>
287
288             <plugin>
289                 <groupId>org.codehaus.mojo</groupId>
290                 <artifactId>cobertura-maven-plugin</artifactId>
291                 <version>2.7</version>
292                 <configuration>
293                     <encoding>${project.build.sourceEncoding}</encoding>
294                     <formats>
295                         <format>html</format>
296                         <format>xml</format> <!-- for Jenkins -->
297                     </formats>
298                 </configuration>
299             </plugin>
300
301         </plugins>
302
303         <resources>
304
305             <resource>
306                 <directory>src/main/resources</directory>
307                 <filtering>true</filtering>
308                 <includes>
309                     <include>**/version.properties</include>
310                 </includes>
311             </resource>
312
313             <resource>
314                 <directory>src/main/resources</directory>
315                 <includes>
316                     <include>**/*.txt</include>
317
318                     <include>**/*.properties</include>
319
320                     <include>**/*.xml</include>
321                     <include>**/*.xsd</include>
322                     <include>**/*.dtd</include>
323
324                     <include>**/*.html</include>
325                     <include>**/*.htm</include>
326                     <include>**/*.css</include>
327
328                     <include>**/*.png</include>
329                     <include>**/*.gif</include>
330                     <include>**/*.jpeg</include>
331                     <include>**/*.jpg</include>
332                 </includes>
333                 <excludes>
334                     <exclude>**/version.properties</exclude>
335
336                     <exclude>**/.DS_Store</exclude>
337                     <exclude>**/_MACOSX</exclude>
338                     <exclude>**/Thumbs.db</exclude>
339                     <exclude>**/thumbs.db</exclude>
340                     <exclude>**/Desktop.ini</exclude>
341                     <exclude>**/desktop.ini</exclude>
342                     <exclude>**/core</exclude>
343                 </excludes>
344             </resource>
345
346         </resources>
347
348     </build>
349
350     <reporting>
351
352         <plugins>
353
354             <plugin>
355                 <groupId>org.apache.maven.plugins</groupId>
356                 <artifactId>maven-project-info-reports-plugin</artifactId>
357                 <version>2.9</version>
358                 <configuration>
359                     <linkOnly>true</linkOnly>
360                     <offline>true</offline>
361                 </configuration>
362                 <reportSets>
363                     <reportSet>
364                         <reports>
365                             <report>index</report>
366                             <report>summary</report>
367                             <report>license</report>
368                             <report>dependencies</report>
369                             <report>plugins</report>
370                             <report>scm</report>
371                             <report>project-team</report>
372 <!--
373                             <report>dependency-convergence</report>
374                             <report>dependency-info</report>
375                             <report>dependency-management</report>
376                             <report>distribution-management</report>
377                             <report>issue-tracking</report>
378                             <report>mailing-list</report>
379                             <report>modules</report>
380                             <report>plugin-management</report>
381 -->
382                         </reports>
383                     </reportSet>
384                 </reportSets>
385             </plugin>
386
387             <plugin>
388                 <groupId>org.apache.maven.plugins</groupId>
389                 <artifactId>maven-javadoc-plugin</artifactId>
390                 <version>2.10.3</version>
391                 <configuration>
392                     <skip>false</skip>
393                     <notimestamp>true</notimestamp>
394                     <quiet>true</quiet>
395                     <show>protected</show>
396                 </configuration>
397                 <reportSets>
398                     <reportSet>
399                         <reports>
400                             <report>javadoc</report>
401                         </reports>
402                     </reportSet>
403                 </reportSets>
404             </plugin>
405
406             <plugin>
407                 <groupId>org.apache.maven.plugins</groupId>
408                 <artifactId>maven-jxr-plugin</artifactId>
409                 <version>2.5</version>
410                 <configuration>
411                     <skip>false</skip>
412                 </configuration>
413             </plugin>
414
415             <plugin>
416                 <groupId>org.apache.maven.plugins</groupId>
417                 <artifactId>maven-surefire-report-plugin</artifactId>
418                 <version>2.19.1</version>
419                 <configuration>
420                     <showSuccess>false</showSuccess>
421                 </configuration>
422                 <reportSets>
423                     <reportSet>
424                         <reports>
425                             <report>report-only</report>
426                         </reports>
427                     </reportSet>
428                 </reportSets>
429             </plugin>
430
431             <plugin>
432                 <groupId>org.codehaus.mojo</groupId>
433                 <artifactId>cobertura-maven-plugin</artifactId>
434                 <version>2.7</version>
435                 <configuration>
436                     <encoding>${project.build.sourceEncoding}</encoding>
437                     <formats>
438                         <format>html</format>
439                         <format>xml</format> <!-- for Jenkins -->
440                     </formats>
441                 </configuration>
442             </plugin>
443
444             <plugin>
445                 <groupId>org.apache.maven.plugins</groupId>
446                 <artifactId>maven-checkstyle-plugin</artifactId>
447                 <version>2.15</version>
448                 <configuration>
449                     <skip>false</skip>
450                     <!-- config from property value -->
451                 </configuration>
452                 <reportSets>
453                     <reportSet>
454                         <reports>
455                             <report>checkstyle</report>
456                         </reports>
457                     </reportSet>
458                 </reportSets>
459             </plugin>
460
461             <plugin>
462                 <groupId>org.apache.maven.plugins</groupId>
463                 <artifactId>maven-pmd-plugin</artifactId>
464                 <version>3.6</version>
465                 <configuration>
466                     <skip>false</skip>
467                     <targetJdk>${maven.compiler.target}</targetJdk>
468                     <rulesets>
469                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
470                     </rulesets>
471                 </configuration>
472                 <reportSets>
473                     <reportSet>
474                         <reports>
475                             <report>pmd</report>
476                             <report>cpd</report>
477                         </reports>
478                     </reportSet>
479                 </reportSets>
480             </plugin>
481
482             <plugin>
483                 <groupId>org.codehaus.mojo</groupId>
484                 <artifactId>findbugs-maven-plugin</artifactId>
485                 <version>3.0.3</version>
486                 <configuration>
487                     <skip>false</skip>
488                     <effort>Max</effort>
489                     <threshold>Low</threshold>
490                     <!-- for Jenkins -->
491                     <findbugsXmlOutput>true</findbugsXmlOutput>
492                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
493                     <xmlOutput>true</xmlOutput>
494                     <!-- excludeFilterFile/ -->
495                 </configuration>
496             </plugin>
497
498             <plugin>
499                 <groupId>org.codehaus.mojo</groupId>
500                 <artifactId>javancss-maven-plugin</artifactId>
501                 <version>2.1</version>
502             </plugin>
503
504             <plugin>
505                 <groupId>org.codehaus.mojo</groupId>
506                 <artifactId>jdepend-maven-plugin</artifactId>
507                 <version>2.0</version>
508             </plugin>
509
510         </plugins>
511
512     </reporting>
513
514     <profiles/>
515
516 </project>
517
518 <!-- EOF -->