OSDN Git Service

start v1.101.107-SNAPSHOT
[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.107-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.source>1.8</maven.compiler.source>
80         <maven.compiler.target>1.8</maven.compiler.target>
81         <!--maven.compiler.release>8</maven.compiler.release-->
82
83         <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
84         <maven.compiler.showWarnings>true</maven.compiler.showWarnings>
85
86         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
87         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
89
90         <!-- MJAVADOC-700 -->
91         <sourcepath>${basedir}/src/main/java</sourcepath>
92
93         <!-- DO NOT USE ${locale} with site-plugin -->
94         <site.locales>en</site.locales>
95         <javadoc.locale>en</javadoc.locale>
96         <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
97
98         <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
99         <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
100         <checkstyle.enable.rss>false</checkstyle.enable.rss>
101
102         <spotbugs.effort>Max</spotbugs.effort>
103         <spotbugs.threshold>Low</spotbugs.threshold>
104         <!-- for Jenkins -->
105         <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
106
107     </properties>
108
109     <dependencyManagement/>
110
111     <dependencies>
112
113         <dependency>
114             <groupId>junit</groupId>
115             <artifactId>junit</artifactId>
116             <version>4.13.2</version>
117             <scope>test</scope>
118         </dependency>
119
120     </dependencies>
121
122     <repositories/>
123     <pluginRepositories/>
124
125     <build>
126
127         <pluginManagement>
128
129             <plugins>
130
131                 <plugin>
132                     <groupId>org.apache.maven.plugins</groupId>
133                     <artifactId>maven-clean-plugin</artifactId>
134                     <version>3.2.0</version>
135                 </plugin>
136
137                 <plugin>
138                     <groupId>org.apache.maven.plugins</groupId>
139                     <artifactId>maven-enforcer-plugin</artifactId>
140                     <version>3.1.0</version>
141                 </plugin>
142
143                 <plugin>
144                     <groupId>org.apache.maven.plugins</groupId>
145                     <artifactId>maven-resources-plugin</artifactId>
146                     <version>3.3.0</version>
147                 </plugin>
148
149                 <plugin>
150                     <groupId>org.apache.maven.plugins</groupId>
151                     <artifactId>maven-compiler-plugin</artifactId>
152                     <version>3.10.1</version>
153                 </plugin>
154
155                 <plugin>
156                     <groupId>org.apache.maven.plugins</groupId>
157                     <artifactId>maven-surefire-plugin</artifactId>
158                     <version>3.0.0-M7</version>
159                 </plugin>
160
161                 <plugin>
162                     <groupId>org.apache.maven.plugins</groupId>
163                     <artifactId>maven-surefire-report-plugin</artifactId>
164                     <version>3.0.0-M7</version>
165                 </plugin>
166
167                 <plugin>
168                     <groupId>org.jacoco</groupId>
169                     <artifactId>jacoco-maven-plugin</artifactId>
170                     <version>0.8.8</version>
171                 </plugin>
172
173                 <plugin>
174                     <groupId>org.apache.maven.plugins</groupId>
175                     <artifactId>maven-jar-plugin</artifactId>
176                     <version>3.3.0</version>
177                 </plugin>
178
179                 <plugin>
180                     <groupId>org.apache.maven.plugins</groupId>
181                     <artifactId>maven-source-plugin</artifactId>
182                     <version>3.2.1</version>
183                 </plugin>
184
185                 <plugin>
186                     <groupId>org.apache.maven.plugins</groupId>
187                     <artifactId>maven-install-plugin</artifactId>
188                     <version>3.0.1</version>
189                 </plugin>
190
191                 <plugin>
192                     <groupId>org.apache.maven.plugins</groupId>
193                     <artifactId>maven-deploy-plugin</artifactId>
194                     <version>3.0.0</version>
195                 </plugin>
196
197                 <plugin>
198                     <groupId>org.apache.maven.plugins</groupId>
199                     <artifactId>maven-site-plugin</artifactId>
200                     <version>3.12.1</version>
201                 </plugin>
202
203                 <plugin>
204                     <groupId>org.apache.maven.plugins</groupId>
205                     <artifactId>maven-assembly-plugin</artifactId>
206                     <version>3.4.2</version>
207                 </plugin>
208
209                 <plugin>
210                     <groupId>org.apache.maven.plugins</groupId>
211                     <artifactId>maven-project-info-reports-plugin</artifactId>
212                     <version>3.4.1</version>
213                 </plugin>
214
215                 <plugin>
216                     <groupId>org.apache.maven.plugins</groupId>
217                     <artifactId>maven-javadoc-plugin</artifactId>
218                     <version>3.4.1</version>
219                 </plugin>
220
221                 <plugin>
222                     <groupId>org.apache.maven.plugins</groupId>
223                     <artifactId>maven-jxr-plugin</artifactId>
224                     <version>3.3.0</version>
225                 </plugin>
226
227                 <plugin>
228                     <groupId>org.apache.maven.plugins</groupId>
229                     <artifactId>maven-checkstyle-plugin</artifactId>
230                     <version>3.2.0</version>
231                     <dependencies>
232                         <dependency>
233                             <groupId>com.puppycrawl.tools</groupId>
234                             <artifactId>checkstyle</artifactId>
235                             <version>10.3.4</version>
236                         </dependency>
237                     </dependencies>
238                 </plugin>
239
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-pmd-plugin</artifactId>
243                     <version>3.19.0</version>
244                     <dependencies>
245                         <dependency>
246                             <groupId>net.sourceforge.pmd</groupId>
247                             <artifactId>pmd-core</artifactId>
248                             <version>6.50.0</version>
249                         </dependency>
250                         <dependency>
251                             <groupId>net.sourceforge.pmd</groupId>
252                             <artifactId>pmd-java</artifactId>
253                             <version>6.50.0</version>
254                         </dependency>
255                     </dependencies>
256                 </plugin>
257
258                 <plugin>
259                     <groupId>com.github.spotbugs</groupId>
260                     <artifactId>spotbugs-maven-plugin</artifactId>
261                     <version>4.7.2.0</version>
262                     <dependencies>
263                         <dependency>
264                             <groupId>com.github.spotbugs</groupId>
265                             <artifactId>spotbugs</artifactId>
266                             <version>4.7.2</version>
267                         </dependency>
268                     </dependencies>
269                 </plugin>
270
271             </plugins>
272
273         </pluginManagement>
274
275         <plugins>
276
277
278             <!-- clean lifecycle -->
279
280             <plugin>
281                 <groupId>org.apache.maven.plugins</groupId>
282                 <artifactId>maven-clean-plugin</artifactId>
283                 <configuration>
284                     <filesets>
285                         <fileset>
286                             <directory>${project.basedir}</directory>
287                             <includes>
288                                 <include>**/*~</include>
289                                 <include>**/*.swp</include>
290                                 <include>**/*.DS_Store</include>
291                                 <include>**/._*</include>
292                                 <include>**/__MACOSX</include>
293                                 <include>**/Thumbs.db</include>
294                                 <include>**/desktop.ini</include>
295                                 <include>**/core</include>
296                                 <include>**/hs_err_pid*</include>
297                             </includes>
298                         </fileset>
299                     </filesets>
300                 </configuration>
301             </plugin>
302
303
304             <!-- default lifecycle -->
305
306             <plugin>
307                 <groupId>org.apache.maven.plugins</groupId>
308                 <artifactId>maven-enforcer-plugin</artifactId>
309                 <executions>
310                     <execution>
311                         <id>enforce-versions</id>
312                         <goals>
313                             <goal>enforce</goal>
314                         </goals>
315                         <configuration>
316                             <rules>
317                                 <requireMavenVersion>
318                                     <version>[3.3.9,)</version>
319                                 </requireMavenVersion>
320                                 <requireJavaVersion>
321                                     <version>[1.8,)</version>
322                                 </requireJavaVersion>
323                             </rules>
324                         </configuration>
325                     </execution>
326                 </executions>
327             </plugin>
328
329             <plugin>
330                 <groupId>org.apache.maven.plugins</groupId>
331                 <artifactId>maven-compiler-plugin</artifactId>
332                 <configuration>
333                     <source>1.8</source>  <!-- for NetBeans IDE -->
334                     <target>1.8</target>
335                     <compilerArguments>
336                         <Xlint/>
337                     </compilerArguments>
338                     <showWarnings>true</showWarnings>
339                     <showDeprecation>true</showDeprecation>
340                 </configuration>
341             </plugin>
342
343             <plugin>
344                 <groupId>org.apache.maven.plugins</groupId>
345                 <artifactId>maven-surefire-plugin</artifactId>
346                 <configuration>
347                     <enableAssertions>true</enableAssertions>
348                 </configuration>
349             </plugin>
350
351             <plugin>
352                 <groupId>org.jacoco</groupId>
353                 <artifactId>jacoco-maven-plugin</artifactId>
354                 <executions>
355                     <execution>
356                         <id>default-prepare-agent</id>
357                         <goals>
358                             <goal>prepare-agent</goal>
359                         </goals>
360                     </execution>
361                 </executions>
362             </plugin>
363
364             <plugin>
365                 <groupId>org.apache.maven.plugins</groupId>
366                 <artifactId>maven-jar-plugin</artifactId>
367                 <configuration>
368                     <archive>
369                         <manifest>
370                             <addDefaultImplementationEntries>
371                                 true
372                             </addDefaultImplementationEntries>
373                         </manifest>
374                         <manifestEntries>
375                             <Built-By>${project.organization.name}</Built-By>
376                         </manifestEntries>
377                     </archive>
378                 </configuration>
379             </plugin>
380
381
382             <!-- site lifecycle -->
383
384             <plugin>
385                 <groupId>org.apache.maven.plugins</groupId>
386                 <artifactId>maven-site-plugin</artifactId>
387                 <configuration>
388                     <locales>${site.locales}</locales>
389                 </configuration>
390             </plugin>
391
392
393             <!-- goals without lifecycle -->
394
395             <plugin>
396                 <groupId>org.apache.maven.plugins</groupId>
397                 <artifactId>maven-javadoc-plugin</artifactId>
398                 <configuration>
399                     <locale>${javadoc.locale}</locale>
400                     <!-- for JDK11 javadoc -->
401                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
402                     <source>${maven.compiler.source}</source>
403                     <notimestamp>true</notimestamp>
404                     <header>${project.name} ${project.version} API</header>
405                     <nohelp>true</nohelp>
406                     <author>false</author>
407                     <quiet>true</quiet>
408                     <doclint>all</doclint>
409                     <show>protected</show>
410                 </configuration>
411             </plugin>
412
413             <plugin>
414                 <groupId>org.apache.maven.plugins</groupId>
415                 <artifactId>maven-assembly-plugin</artifactId>
416                 <configuration>
417                     <tarLongFileMode>posix</tarLongFileMode>
418                     <descriptors>
419                         <descriptor>src/assembly/src.xml</descriptor>
420                     </descriptors>
421                 </configuration>
422             </plugin>
423
424             <plugin>
425                 <groupId>org.apache.maven.plugins</groupId>
426                 <artifactId>maven-pmd-plugin</artifactId>
427                 <configuration>
428                     <rulesets>
429                         <ruleset>config/pmd/pmdrules.xml</ruleset>
430                     </rulesets>
431                 </configuration>
432             </plugin>
433
434         </plugins>
435
436         <resources>
437
438             <resource>
439                 <directory>src/main/resources</directory>
440                 <filtering>true</filtering>
441                 <includes>
442                     <include>**/version.properties</include>
443                 </includes>
444             </resource>
445
446             <resource>
447                 <directory>src/main/resources</directory>
448                 <includes>
449                     <include>**/*.txt</include>
450
451                     <include>**/*.properties</include>
452
453                     <include>**/*.xml</include>
454                     <include>**/*.xsd</include>
455                     <include>**/*.dtd</include>
456
457                     <include>**/*.html</include>
458                     <include>**/*.htm</include>
459                     <include>**/*.css</include>
460
461                     <include>**/*.png</include>
462                     <include>**/*.gif</include>
463                     <include>**/*.jpeg</include>
464                     <include>**/*.jpg</include>
465                 </includes>
466                 <excludes>
467                     <exclude>**/version.properties</exclude>
468
469                     <exclude>**/.DS_Store</exclude>
470                     <exclude>**/__MACOSX</exclude>
471                     <exclude>**/Thumbs.db</exclude>
472                     <exclude>**/thumbs.db</exclude>
473                     <exclude>**/Desktop.ini</exclude>
474                     <exclude>**/desktop.ini</exclude>
475                     <exclude>**/core</exclude>
476                 </excludes>
477             </resource>
478
479         </resources>
480
481     </build>
482
483     <reporting>
484
485         <plugins>
486
487             <plugin>
488                 <groupId>org.apache.maven.plugins</groupId>
489                 <artifactId>maven-project-info-reports-plugin</artifactId>
490                 <configuration>
491                     <linkOnly>true</linkOnly>
492                     <offline>true</offline>
493                 </configuration>
494                 <reportSets>
495                     <reportSet>
496                         <reports>
497                             <report>index</report>
498                             <report>summary</report>
499                             <report>licenses</report>
500                             <report>dependency-info</report>
501                             <report>dependencies</report>
502                             <report>dependency-convergence</report>
503                             <report>plugins</report>
504                             <report>team</report>
505                             <report>issue-management</report>
506                             <report>scm</report>
507 <!--
508                             <report>dependency-management</report>
509                             <report>distribution-management</report>
510                             <report>ci-management</report>
511                             <report>mailing-lists</report>
512                             <report>modules</report>
513                             <report>plugin-management</report>
514 -->
515                         </reports>
516                     </reportSet>
517                 </reportSets>
518             </plugin>
519
520             <plugin>
521                 <groupId>org.apache.maven.plugins</groupId>
522                 <artifactId>maven-javadoc-plugin</artifactId>
523                 <configuration>
524                     <locale>${javadoc.locale}</locale>
525                     <!-- for JDK11 javadoc -->
526                     <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
527                     <source>${maven.compiler.source}</source>
528                     <notimestamp>true</notimestamp>
529                     <header>${project.name} ${project.version} API</header>
530                     <nohelp>true</nohelp>
531                     <author>false</author>
532                     <quiet>true</quiet>
533                     <doclint>all</doclint>
534                     <show>protected</show>
535                 </configuration>
536                 <reportSets>
537                     <reportSet>
538                         <reports>
539                             <report>javadoc</report>
540                         </reports>
541                     </reportSet>
542                 </reportSets>
543             </plugin>
544
545             <plugin>
546                 <groupId>org.apache.maven.plugins</groupId>
547                 <artifactId>maven-jxr-plugin</artifactId>
548             </plugin>
549
550             <plugin>
551                 <groupId>org.apache.maven.plugins</groupId>
552                 <artifactId>maven-surefire-report-plugin</artifactId>
553             </plugin>
554
555             <plugin>
556                 <groupId>org.jacoco</groupId>
557                 <artifactId>jacoco-maven-plugin</artifactId>
558                 <reportSets>
559                     <reportSet>
560                         <reports>
561                             <report>report</report>
562                         </reports>
563                     </reportSet>
564                 </reportSets>
565             </plugin>
566
567             <plugin>
568                 <groupId>org.apache.maven.plugins</groupId>
569                 <artifactId>maven-checkstyle-plugin</artifactId>
570                 <reportSets>
571                     <reportSet>
572                         <reports>
573                             <report>checkstyle</report>
574                         </reports>
575                     </reportSet>
576                 </reportSets>
577             </plugin>
578
579             <plugin>
580                 <groupId>org.apache.maven.plugins</groupId>
581                 <artifactId>maven-pmd-plugin</artifactId>
582                 <configuration>
583                     <rulesets>
584                         <ruleset>config/pmd/pmdrules.xml</ruleset>
585                     </rulesets>
586                 </configuration>
587                 <reportSets>
588                     <reportSet>
589                         <reports>
590                             <report>pmd</report>
591                             <report>cpd</report>
592                         </reports>
593                     </reportSet>
594                 </reportSets>
595             </plugin>
596
597             <plugin>
598                 <groupId>com.github.spotbugs</groupId>
599                 <artifactId>spotbugs-maven-plugin</artifactId>
600             </plugin>
601
602         </plugins>
603
604     </reporting>
605
606     <profiles>
607
608         <profile>
609             <id>release-profile</id>
610
611             <activation>
612                 <property>
613                     <name>performRelease</name>
614                     <value>true</value>
615                 </property>
616             </activation>
617
618             <build>
619                 <plugins>
620
621                     <plugin>
622                         <inherited>true</inherited>
623                         <groupId>org.apache.maven.plugins</groupId>
624                         <artifactId>maven-source-plugin</artifactId>
625                         <configuration>
626                             <includePom>true</includePom>
627                             <archive>
628                                 <manifestEntries>
629                                     <Built-By>${project.organization.name}</Built-By>
630                                 </manifestEntries>
631                             </archive>
632                         </configuration>
633                         <executions>
634                             <execution>
635                                 <id>attach-sources</id>
636                                 <goals>
637                                     <goal>jar-no-fork</goal>
638                                 </goals>
639                             </execution>
640                         </executions>
641                     </plugin>
642
643                     <plugin>
644                         <inherited>true</inherited>
645                         <groupId>org.apache.maven.plugins</groupId>
646                         <artifactId>maven-javadoc-plugin</artifactId>
647                         <configuration>
648                             <show>protected</show>
649                             <archive>
650                                 <manifestEntries>
651                                     <Built-By>${project.organization.name}</Built-By>
652                                 </manifestEntries>
653                             </archive>
654                         </configuration>
655                         <executions>
656                             <execution>
657                                 <id>attach-javadocs</id>
658                                 <goals>
659                                     <goal>jar</goal>
660                                 </goals>
661                             </execution>
662                         </executions>
663                     </plugin>
664
665                 </plugins>
666             </build>
667         </profile>
668
669     </profiles>
670
671 </project>
672
673 <!-- EOF -->