OSDN Git Service

d4a841e75fbf8758a1c8346b3dc1a55a2494498f
[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/xsd/maven-4.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
62     <modules/>
63
64     <scm>
65         <connection>scm:git:git://git.osdn.net/gitroot/jovsonz/Jovsonz.git</connection>
66         <developerConnection>scm:git:https://scm.osdn.net/gitroot/jovsonz/Jovsonz.git</developerConnection>
67         <url>https://osdn.net/projects/jovsonz/scm/git/Jovsonz/</url>
68     </scm>
69
70     <issueManagement>
71         <system>OSDN.net</system>
72         <url>https://osdn.net/projects/jovsonz/ticket/</url>
73     </issueManagement>
74
75     <ciManagement/>
76     <distributionManagement/>
77
78     <properties>
79         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
80
81         <maven.compiler.source>1.8</maven.compiler.source>
82         <maven.compiler.target>1.8</maven.compiler.target>
83
84         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
85         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
86
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
91
92         <locale>en</locale>
93         <site.locales>${locale}</site.locales>
94
95         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
96         <jacoco-plugin.version>0.8.3</jacoco-plugin.version>
97
98         <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
99         <checkstyle.enable.rss>false</checkstyle.enable.rss>
100
101     </properties>
102
103     <dependencyManagement/>
104
105     <dependencies>
106
107         <dependency>
108             <groupId>junit</groupId>
109             <artifactId>junit</artifactId>
110             <version>4.12</version>
111             <scope>test</scope>
112         </dependency>
113
114     </dependencies>
115
116     <repositories/>
117     <pluginRepositories/>
118
119     <build>
120         <pluginManagement/>
121
122         <plugins>
123
124             <plugin>
125                 <groupId>org.apache.maven.plugins</groupId>
126                 <artifactId>maven-enforcer-plugin</artifactId>
127                 <version>3.0.0-M2</version>
128                 <executions>
129                     <execution>
130                         <id>enforce-versions</id>
131                         <goals>
132                             <goal>enforce</goal>
133                         </goals>
134                         <configuration>
135                             <rules>
136                                 <requireMavenVersion>
137                                     <version>[3.3.9,)</version>
138                                 </requireMavenVersion>
139                                 <requireJavaVersion>
140                                     <version>[1.8,)</version>
141                                 </requireJavaVersion>
142                             </rules>
143                         </configuration>
144                     </execution>
145                 </executions>
146             </plugin>
147
148             <plugin>
149                 <groupId>org.apache.maven.plugins</groupId>
150                 <artifactId>maven-install-plugin</artifactId>
151                 <version>2.5.2</version>
152             </plugin>
153
154             <plugin>
155                 <groupId>org.apache.maven.plugins</groupId>
156                 <artifactId>maven-clean-plugin</artifactId>
157                 <version>3.0.0</version>
158                 <configuration>
159                     <filesets>
160                         <fileset>
161                             <directory>${project.basedir}</directory>
162                             <includes>
163                                 <include>**/*~</include>
164                                 <include>**/*.swp</include>
165                                 <include>**/*.DS_Store</include>
166                                 <include>**/._*</include>
167                                 <include>**/__MACOSX</include>
168                                 <include>**/Thumbs.db</include>
169                                 <include>**/desktop.ini</include>
170                                 <include>**/core</include>
171                                 <include>**/hs_err_pid*</include>
172                             </includes>
173                         </fileset>
174                     </filesets>
175                 </configuration>
176             </plugin>
177
178             <plugin>
179                 <groupId>org.apache.maven.plugins</groupId>
180                 <artifactId>maven-compiler-plugin</artifactId>
181                 <version>3.5.1</version>
182                 <configuration>
183                     <source>1.8</source>  <!-- for NetBeans IDE -->
184                     <target>1.8</target>
185                     <showDeprecation>true</showDeprecation>
186                     <showWarnings>true</showWarnings>
187                     <compilerArguments>
188                         <Xlint/>
189                     </compilerArguments>
190                 </configuration>
191             </plugin>
192
193             <plugin>
194                 <groupId>org.apache.maven.plugins</groupId>
195                 <artifactId>maven-jar-plugin</artifactId>
196                 <version>3.0.0</version>
197                 <configuration>
198                     <archive>
199                         <manifestEntries>
200                             <Built-By>${project.organization.name}</Built-By>
201                         </manifestEntries>
202                     </archive>
203                 </configuration>
204             </plugin>
205
206             <plugin>
207                 <groupId>org.apache.maven.plugins</groupId>
208                 <artifactId>maven-assembly-plugin</artifactId>
209                 <version>2.6</version>
210                 <configuration>
211                     <archiveBaseDirectory>.</archiveBaseDirectory>
212                     <descriptors>
213                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
214                     </descriptors>
215                 </configuration>
216             </plugin>
217
218             <plugin>
219                 <groupId>org.apache.maven.plugins</groupId>
220                 <artifactId>maven-source-plugin</artifactId>
221                 <version>3.0.0</version>
222                 <configuration>
223                     <includePom>true</includePom>
224                     <archive>
225                         <manifestEntries>
226                             <Built-By>${project.organization.name}</Built-By>
227                         </manifestEntries>
228                     </archive>
229                 </configuration>
230                 <executions>
231                     <execution>
232                         <id>attach-sources</id>
233                         <phase>verify</phase>
234                         <goals>
235                           <goal>jar-no-fork</goal>
236                         </goals>
237                     </execution>
238                 </executions>
239             </plugin>
240
241             <plugin>
242                 <groupId>org.apache.maven.plugins</groupId>
243                 <artifactId>maven-resources-plugin</artifactId>
244                 <version>3.0.0</version>
245             </plugin>
246
247             <plugin>
248                 <groupId>org.apache.maven.plugins</groupId>
249                 <artifactId>maven-surefire-plugin</artifactId>
250                 <version>${surefire-plugin.version}</version>
251                 <configuration>
252                     <enableAssertions>true</enableAssertions>
253                 </configuration>
254             </plugin>
255
256             <plugin>
257                 <groupId>org.jacoco</groupId>
258                 <artifactId>jacoco-maven-plugin</artifactId>
259                 <version>${jacoco-plugin.version}</version>
260                 <executions>
261                     <execution>
262                         <id>default-prepare-agent</id>
263                         <goals>
264                             <goal>prepare-agent</goal>
265                         </goals>
266                     </execution>
267                     <execution>
268                         <id>default-report</id>
269                         <phase>prepare-package</phase>
270                         <goals>
271                             <goal>report</goal>
272                         </goals>
273                     </execution>
274                     <execution>
275                         <id>default-check</id>
276                         <goals>
277                             <goal>check</goal>
278                         </goals>
279                         <configuration>
280                             <rules>
281                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
282                                     <element>BUNDLE</element>
283                                     <limits>
284                                         <limit implementation="org.jacoco.report.check.Limit">
285                                             <counter>COMPLEXITY</counter>
286                                             <value>COVEREDRATIO</value>
287                                             <minimum>0.0</minimum>
288                                         </limit>
289                                     </limits>
290                                 </rule>
291                             </rules>
292                         </configuration>
293                     </execution>
294                 </executions>
295             </plugin>
296
297             <plugin>
298                 <groupId>org.apache.maven.plugins</groupId>
299                 <artifactId>maven-site-plugin</artifactId>
300                 <version>3.7.1</version>
301                 <configuration>
302                     <locales>${site.locales}</locales>
303                 </configuration>
304             </plugin>
305
306             <plugin>
307                 <groupId>org.apache.maven.plugins</groupId>
308                 <artifactId>maven-checkstyle-plugin</artifactId>
309                 <version>2.15</version>
310                 <!-- config from property value -->
311             </plugin>
312
313             <plugin>
314                 <groupId>org.apache.maven.plugins</groupId>
315                 <artifactId>maven-pmd-plugin</artifactId>
316                 <version>3.6</version>
317                 <configuration>
318                     <targetJdk>${maven.compiler.target}</targetJdk>
319                     <rulesets>
320                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
321                     </rulesets>
322                 </configuration>
323             </plugin>
324
325             <plugin>
326                 <groupId>org.codehaus.mojo</groupId>
327                 <artifactId>findbugs-maven-plugin</artifactId>
328                 <version>3.0.3</version>
329                 <configuration>
330                     <effort>Max</effort>
331                     <threshold>Low</threshold>
332                     <!-- for Jenkins -->
333                     <findbugsXmlOutput>true</findbugsXmlOutput>
334                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
335                     <xmlOutput>true</xmlOutput>
336                 </configuration>
337             </plugin>
338
339         </plugins>
340
341         <resources>
342
343             <resource>
344                 <directory>src/main/resources</directory>
345                 <filtering>true</filtering>
346                 <includes>
347                     <include>**/version.properties</include>
348                 </includes>
349             </resource>
350
351             <resource>
352                 <directory>src/main/resources</directory>
353                 <includes>
354                     <include>**/*.txt</include>
355
356                     <include>**/*.properties</include>
357
358                     <include>**/*.xml</include>
359                     <include>**/*.xsd</include>
360                     <include>**/*.dtd</include>
361
362                     <include>**/*.html</include>
363                     <include>**/*.htm</include>
364                     <include>**/*.css</include>
365
366                     <include>**/*.png</include>
367                     <include>**/*.gif</include>
368                     <include>**/*.jpeg</include>
369                     <include>**/*.jpg</include>
370                 </includes>
371                 <excludes>
372                     <exclude>**/version.properties</exclude>
373
374                     <exclude>**/.DS_Store</exclude>
375                     <exclude>**/__MACOSX</exclude>
376                     <exclude>**/Thumbs.db</exclude>
377                     <exclude>**/thumbs.db</exclude>
378                     <exclude>**/Desktop.ini</exclude>
379                     <exclude>**/desktop.ini</exclude>
380                     <exclude>**/core</exclude>
381                 </excludes>
382             </resource>
383
384         </resources>
385
386     </build>
387
388     <reporting>
389
390         <plugins>
391
392             <plugin>
393                 <groupId>org.apache.maven.plugins</groupId>
394                 <artifactId>maven-project-info-reports-plugin</artifactId>
395                 <version>3.0.0</version>
396                 <configuration>
397                     <linkOnly>true</linkOnly>
398                     <offline>true</offline>
399                 </configuration>
400                 <reportSets>
401                     <reportSet>
402                         <reports>
403                             <report>index</report>
404                             <report>summary</report>
405                             <report>licenses</report>
406                             <report>dependency-info</report>
407                             <report>dependencies</report>
408                             <report>dependency-convergence</report>
409                             <report>plugins</report>
410                             <report>plugin-management</report>
411                             <report>team</report>
412                             <report>issue-management</report>
413                             <report>scm</report>
414 <!--
415                             <report>dependency-management</report>
416                             <report>distribution-management</report>
417                             <report>ci-management</report>
418                             <report>mailing-lists</report>
419                             <report>modules</report>
420 -->
421                         </reports>
422                     </reportSet>
423                 </reportSets>
424             </plugin>
425
426             <plugin>
427                 <groupId>org.apache.maven.plugins</groupId>
428                 <artifactId>maven-javadoc-plugin</artifactId>
429                 <version>2.10.3</version>
430                 <configuration>
431                     <skip>false</skip>
432                     <notimestamp>true</notimestamp>
433                     <quiet>true</quiet>
434                     <show>protected</show>
435                 </configuration>
436                 <reportSets>
437                     <reportSet>
438                         <reports>
439                             <report>javadoc</report>
440                         </reports>
441                     </reportSet>
442                 </reportSets>
443             </plugin>
444
445             <plugin>
446                 <groupId>org.apache.maven.plugins</groupId>
447                 <artifactId>maven-jxr-plugin</artifactId>
448                 <version>2.5</version>
449                 <configuration>
450                     <skip>false</skip>
451                 </configuration>
452             </plugin>
453
454             <plugin>
455                 <groupId>org.apache.maven.plugins</groupId>
456                 <artifactId>maven-surefire-report-plugin</artifactId>
457                 <version>${surefire-plugin.version}</version>
458             </plugin>
459
460             <plugin>
461                 <groupId>org.jacoco</groupId>
462                 <artifactId>jacoco-maven-plugin</artifactId>
463                 <version>${jacoco-plugin.version}</version>
464                 <reportSets>
465                     <reportSet>
466                         <reports>
467                             <report>report</report>
468                         </reports>
469                     </reportSet>
470                 </reportSets>
471             </plugin>
472
473             <plugin>
474                 <groupId>org.apache.maven.plugins</groupId>
475                 <artifactId>maven-checkstyle-plugin</artifactId>
476                 <version>2.15</version>
477                 <configuration>
478                     <skip>false</skip>
479                     <!-- config from property value -->
480                 </configuration>
481                 <reportSets>
482                     <reportSet>
483                         <reports>
484                             <report>checkstyle</report>
485                         </reports>
486                     </reportSet>
487                 </reportSets>
488             </plugin>
489
490             <plugin>
491                 <groupId>org.apache.maven.plugins</groupId>
492                 <artifactId>maven-pmd-plugin</artifactId>
493                 <version>3.6</version>
494                 <configuration>
495                     <skip>false</skip>
496                     <targetJdk>${maven.compiler.target}</targetJdk>
497                     <rulesets>
498                         <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
499                     </rulesets>
500                 </configuration>
501                 <reportSets>
502                     <reportSet>
503                         <reports>
504                             <report>pmd</report>
505                             <report>cpd</report>
506                         </reports>
507                     </reportSet>
508                 </reportSets>
509             </plugin>
510
511             <plugin>
512                 <groupId>org.codehaus.mojo</groupId>
513                 <artifactId>findbugs-maven-plugin</artifactId>
514                 <version>3.0.3</version>
515                 <configuration>
516                     <skip>false</skip>
517                     <effort>Max</effort>
518                     <threshold>Low</threshold>
519                     <!-- for Jenkins -->
520                     <findbugsXmlOutput>true</findbugsXmlOutput>
521                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
522                     <xmlOutput>true</xmlOutput>
523                     <!-- excludeFilterFile/ -->
524                 </configuration>
525             </plugin>
526
527             <plugin>
528                 <groupId>org.codehaus.mojo</groupId>
529                 <artifactId>javancss-maven-plugin</artifactId>
530                 <version>2.1</version>
531             </plugin>
532
533             <plugin>
534                 <groupId>org.codehaus.mojo</groupId>
535                 <artifactId>jdepend-maven-plugin</artifactId>
536                 <version>2.0</version>
537             </plugin>
538
539         </plugins>
540
541     </reporting>
542
543     <profiles/>
544
545 </project>
546
547 <!-- EOF -->