<?xml version="1.0" encoding="UTF-8" ?>
<!--
- Maven2(or3) POM definition file
+ Maven3 POM definition file
-->
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
- http://maven.apache.org/maven-v4_0_0.xsd"
+ http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>4.0.0</modelVersion>
<!--parent/-->
<groupId>jp.sourceforge.jovsonz</groupId>
<artifactId>jovsonz</artifactId>
- <version>1.101.3-SNAPSHOT</version>
+ <version>1.101.107-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Jovsonz</name>
-->Jovsonz is a JSON library for Java<!--
--></description>
- <url>http://jovsonz.sourceforge.jp/</url>
+ <url>http://jovsonz.osdn.jp/</url>
<inceptionYear>2009</inceptionYear>
<organization>
<name>Jovsonz Partners</name>
- <url>http://sourceforge.jp/projects/jovsonz/</url>
+ <url>https://osdn.net/projects/jovsonz/</url>
</organization>
<licenses>
<license>
<name>The MIT License</name>
- <url>http://www.opensource.org/licenses/mit-license.php</url>
+ <url>https://opensource.org/licenses/MIT</url>
<distribution>manual</distribution>
</license>
</licenses>
<developers>
<developer>
<id>olyutorskii</id>
- <url>http://sites.google.com/site/olyutorskiipit/</url>
+ <url>https://sites.google.com/site/olyutorskiipit/</url>
<organization>Jovsonz Partners</organization>
- <organizationUrl>http://sourceforge.jp/projects/jovsonz/</organizationUrl>
+ <organizationUrl>https://osdn.net/projects/jovsonz/</organizationUrl>
<roles>
<role>Project Founder</role>
<role>Java Developer</role>
<contributors/>
<mailingLists/>
- <prerequisites>
- <maven>2.2</maven>
- </prerequisites>
+ <!-- prerequisites/ -->
<modules/>
<scm>
- <connection>scm:hg:http://hg.sourceforge.jp/view/jovsonz/Jovsonz</connection>
- <developerConnection>scm:hg:ssh://hg.sourceforge.jp//hgroot/jovsonz/Jovsonz</developerConnection>
- <url>http://hg.sourceforge.jp/view/jovsonz/Jovsonz/</url>
+ <connection>scm:git:git://git.osdn.net/gitroot/jovsonz/Jovsonz.git</connection>
+ <developerConnection>scm:git:https://scm.osdn.net/gitroot/jovsonz/Jovsonz.git</developerConnection>
+ <url>https://osdn.net/projects/jovsonz/scm/git/Jovsonz/</url>
</scm>
<issueManagement>
- <system>SourceForge.JP</system>
- <url>http://sourceforge.jp/projects/jovsonz/ticket/</url>
+ <system>OSDN.net</system>
+ <url>https://osdn.net/projects/jovsonz/ticket/</url>
</issueManagement>
<ciManagement/>
<distributionManagement/>
<properties>
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
-
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <!--maven.compiler.release>8</maven.compiler.release-->
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<maven.compiler.showWarnings>true</maven.compiler.showWarnings>
+ <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
+ <!-- MJAVADOC-700 -->
+ <sourcepath>${basedir}/src/main/java</sourcepath>
+
+ <!-- DO NOT USE ${locale} with site-plugin -->
+ <site.locales>en</site.locales>
+ <javadoc.locale>en</javadoc.locale>
+ <spotbugs.jvmArgs>-Duser.language=en</spotbugs.jvmArgs>
- <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
+ <checkstyle.config.location>config/checkstyle/checkstyle.xml</checkstyle.config.location>
+ <checkstyle.suppressions.location>config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
<checkstyle.enable.rss>false</checkstyle.enable.rss>
+ <spotbugs.effort>Max</spotbugs.effort>
+ <spotbugs.threshold>Low</spotbugs.threshold>
+ <!-- for Jenkins -->
+ <spotbugs.xmlOutput>true</spotbugs.xmlOutput>
+
</properties>
<dependencyManagement/>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.10</version>
+ <version>4.13.2</version>
<scope>test</scope>
</dependency>
<pluginRepositories/>
<build>
- <pluginManagement/>
+
+ <pluginManagement>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.2.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.3.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.10.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>3.0.0-M7</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>3.0.0-M7</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.8</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.3.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.2.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>3.0.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.12.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>3.4.2</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>3.4.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.4.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>3.3.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.2.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>10.3.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.19.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.pmd</groupId>
+ <artifactId>pmd-core</artifactId>
+ <version>6.50.0</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.pmd</groupId>
+ <artifactId>pmd-java</artifactId>
+ <version>6.50.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>4.7.2.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs</artifactId>
+ <version>4.7.2</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ </plugins>
+
+ </pluginManagement>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0.1</version>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>[2.2,)</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <version>[1.5,)</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </plugin>
+
+ <!-- clean lifecycle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
- <version>2.4.1</version>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}</directory>
<includes>
- <include>**/.DS_Store</include>
- <include>**/_MACOSX</include>
+ <include>**/*~</include>
+ <include>**/*.swp</include>
+ <include>**/*.DS_Store</include>
+ <include>**/._*</include>
+ <include>**/__MACOSX</include>
<include>**/Thumbs.db</include>
- <include>**/thumbs.db</include>
- <include>**/Desktop.ini</include>
<include>**/desktop.ini</include>
<include>**/core</include>
+ <include>**/hs_err_pid*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
+
+ <!-- default lifecycle -->
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>[3.3.9,)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.8,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
<configuration>
- <source>1.5</source> <!-- for NetBeans IDE -->
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
+ <source>1.8</source> <!-- for NetBeans IDE -->
+ <target>1.8</target>
<compilerArguments>
<Xlint/>
</compilerArguments>
+ <showWarnings>true</showWarnings>
+ <showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.3.2</version>
+ <artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <archive>
- <manifestEntries>
- <Built-By>${project.organization.name}</Built-By>
- </manifestEntries>
- </archive>
+ <enableAssertions>true</enableAssertions>
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/descriptor.xml</descriptor>
- </descriptors>
- </configuration>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
+ <artifactId>maven-jar-plugin</artifactId>
<configuration>
- <includePom>true</includePom>
<archive>
+ <manifest>
+ <addDefaultImplementationEntries>
+ true
+ </addDefaultImplementationEntries>
+ </manifest>
<manifestEntries>
<Built-By>${project.organization.name}</Built-By>
</manifestEntries>
</archive>
</configuration>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- </plugin>
+
+ <!-- site lifecycle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.10</version>
+ <artifactId>maven-site-plugin</artifactId>
<configuration>
- <skipTests>false</skipTests>
- <enableAssertions>true</enableAssertions>
+ <locales>${site.locales}</locales>
</configuration>
</plugin>
+
+ <!-- goals without lifecycle -->
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.0</version>
+ <artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <generateReports>true</generateReports>
- <locales>ja</locales>
- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
- <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
+ <locale>${javadoc.locale}</locale>
+ <!-- for JDK11 javadoc -->
+ <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
+ <source>${maven.compiler.source}</source>
+ <notimestamp>true</notimestamp>
+ <header>${project.name} ${project.version} API</header>
+ <nohelp>true</nohelp>
+ <author>false</author>
+ <quiet>true</quiet>
+ <doclint>all</doclint>
+ <show>protected</show>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.8</version>
- <!-- config from property value -->
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <tarLongFileMode>posix</tarLongFileMode>
+ <descriptors>
+ <descriptor>src/assembly/src.xml</descriptor>
+ </descriptors>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.6</version>
<configuration>
- <targetJdk>${maven.compiler.target}</targetJdk>
<rulesets>
- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+ <ruleset>config/pmd/pmdrules.xml</ruleset>
</rulesets>
</configuration>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <effort>Max</effort>
- <threshold>Low</threshold>
- </configuration>
- </plugin>
-
</plugins>
<resources>
<exclude>**/version.properties</exclude>
<exclude>**/.DS_Store</exclude>
- <exclude>**/_MACOSX</exclude>
+ <exclude>**/__MACOSX</exclude>
<exclude>**/Thumbs.db</exclude>
<exclude>**/thumbs.db</exclude>
<exclude>**/Desktop.ini</exclude>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.4</version>
<configuration>
<linkOnly>true</linkOnly>
<offline>true</offline>
<reports>
<report>index</report>
<report>summary</report>
- <report>license</report>
+ <report>licenses</report>
+ <report>dependency-info</report>
<report>dependencies</report>
+ <report>dependency-convergence</report>
<report>plugins</report>
+ <report>team</report>
+ <report>issue-management</report>
<report>scm</report>
- <report>project-team</report>
<!--
- <report>dependency-convergence</report>
<report>dependency-management</report>
<report>distribution-management</report>
- <report>issue-tracking</report>
- <report>mailing-list</report>
+ <report>ci-management</report>
+ <report>mailing-lists</report>
<report>modules</report>
<report>plugin-management</report>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
<configuration>
- <skip>false</skip>
+ <locale>${javadoc.locale}</locale>
+ <!-- for JDK11 javadoc -->
+ <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
+ <source>${maven.compiler.source}</source>
<notimestamp>true</notimestamp>
+ <header>${project.name} ${project.version} API</header>
+ <nohelp>true</nohelp>
+ <author>false</author>
<quiet>true</quiet>
+ <doclint>all</doclint>
<show>protected</show>
- <stylesheet>maven</stylesheet>
</configuration>
<reportSets>
<reportSet>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <skip>false</skip>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.10</version>
- <configuration>
- <showSuccess>false</showSuccess>
- </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
- <report>report-only</report>
+ <report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
-
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <skip>false</skip>
- <!-- config from property value -->
- </configuration>
<reportSets>
<reportSet>
<reports>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.6</version>
<configuration>
- <skip>false</skip>
- <targetJdk>${maven.compiler.target}</targetJdk>
<rulesets>
- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+ <ruleset>config/pmd/pmdrules.xml</ruleset>
</rulesets>
</configuration>
<reportSets>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <skip>false</skip>
- <effort>Max</effort>
- <threshold>Low</threshold>
- <!-- excludeFilterFile/ -->
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javancss-maven-plugin</artifactId>
- <version>2.0</version>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jdepend-maven-plugin</artifactId>
- <version>2.0-beta-2</version>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
- <profiles/>
+ <profiles>
+
+ <profile>
+ <id>release-profile</id>
+
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <configuration>
+ <includePom>true</includePom>
+ <archive>
+ <manifestEntries>
+ <Built-By>${project.organization.name}</Built-By>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <show>protected</show>
+ <archive>
+ <manifestEntries>
+ <Built-By>${project.organization.name}</Built-By>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
</project>