diff options
author | Andrey Somov <public.somov@gmail.com> | 2022-09-09 16:28:44 +0300 |
---|---|---|
committer | Andrey Somov <public.somov@gmail.com> | 2022-09-09 16:28:44 +0300 |
commit | 261c60857a64927efd53112fe53072ba6ae5decc (patch) | |
tree | a7ab2fa49ce1d60a46d005c868da74a7199df012 | |
parent | e438e58e1bc568555fd12e60ea7dd89cf01821f8 (diff) | |
download | snakeyaml-261c60857a64927efd53112fe53072ba6ae5decc.tar.gz |
Update POM - reviewed by Hendrik Duerkop
-rw-r--r-- | pom.xml | 147 |
1 files changed, 69 insertions, 78 deletions
@@ -15,11 +15,11 @@ <maven.compiler.testSource>8</maven.compiler.testSource> <maven.compiler.testTarget>8</maven.compiler.testTarget> <maven.javadoc.failOnError>false</maven.javadoc.failOnError> - <maven-bundle-plugin.version>5.1.6</maven-bundle-plugin.version> + <maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version> <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version><!-- for Github CI --> <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version> - <maven-site-plugin.version>3.12.0</maven-site-plugin.version> - <maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version> + <maven-site-plugin.version>3.12.1</maven-site-plugin.version> + <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version> <jdk9-illegal-access-level>deny</jdk9-illegal-access-level> </properties> <name>SnakeYAML</name> @@ -77,7 +77,7 @@ <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> - <version>2.10.14</version> + <version>2.11.1</version> <scope>test</scope> </dependency> <dependency> @@ -117,7 +117,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.0</version> + <version>3.4.1</version> <configuration> <excludePackageNames>org.yaml.snakeyaml.external.*</excludePackageNames> </configuration> @@ -138,19 +138,19 @@ <version>${cobertura-maven-plugin.version}</version> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.10.1</version> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>3.3.0</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.3.0</version> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>${maven-surefire-plugin.version}</version> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven-surefire-plugin.version}</version> <configuration> <environmentVariables> <EnvironmentKey1>EnvironmentValue1</EnvironmentKey1> @@ -164,7 +164,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> - <version>3.0.0</version> + <version>3.1.0</version> <executions> <execution> <id>enforce-maven</id> @@ -184,7 +184,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> + <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <encoding>${project.build.sourceEncoding}</encoding> @@ -244,7 +244,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.0</version> + <version>3.4.1</version> <executions> <execution> <id>attach-javadocs</id> @@ -393,7 +393,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-toolchains-plugin</artifactId> - <version>3.0.0</version> + <version>3.1.0</version> <executions> <execution> <phase>validate</phase> @@ -414,15 +414,6 @@ </build> </profile> <profile> - <id>build-is-under-jdk6</id> - <activation> - <jdk>1.6</jdk> - </activation> - <properties> - <maven-bundle-plugin.version>2.5.4</maven-bundle-plugin.version> - </properties> - </profile> - <profile> <id>with-coverage</id> <build> <plugins> @@ -512,51 +503,51 @@ </build> </profile> <profile> - <id>with-java11-tests</id> - <properties> - <maven.compiler.testSource>11</maven.compiler.testSource> - <maven.compiler.testTarget>11</maven.compiler.testTarget> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <argLine>--illegal-access=${jdk9-illegal-access-level} -Xmx512m</argLine> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerArgs> - <!-- arg>-Xlint:unchecked</arg --> - <arg>-Xlint:deprecation</arg> - </compilerArgs> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-java11-test-source</id> - <phase>generate-test-sources</phase> - <goals> - <goal>add-test-source</goal> - </goals> - <configuration> - <sources> - <source>${basedir}/src/test/java8/</source> - <source>${basedir}/src/test/java11/</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <id>with-java11-tests</id> + <properties> + <maven.compiler.testSource>11</maven.compiler.testSource> + <maven.compiler.testTarget>11</maven.compiler.testTarget> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>--illegal-access=${jdk9-illegal-access-level} -Xmx512m</argLine> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <compilerArgs> + <!-- arg>-Xlint:unchecked</arg --> + <arg>-Xlint:deprecation</arg> + </compilerArgs> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-java11-test-source</id> + <phase>generate-test-sources</phase> + <goals> + <goal>add-test-source</goal> + </goals> + <configuration> + <sources> + <source>${basedir}/src/test/java8/</source> + <source>${basedir}/src/test/java11/</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </profile> <profile> <id>release</id> @@ -597,7 +588,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> - <version>3.16.0</version> + <version>3.19.0</version> </plugin> </plugins> </build> @@ -606,7 +597,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> - <version>3.2.0</version> + <version>3.3.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -616,12 +607,12 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> - <version>3.16.0</version> + <version>3.19.0</version> <configuration> <linkXref>true</linkXref> <sourceEncoding>utf-8</sourceEncoding> <minimumTokens>100</minimumTokens> - <targetJdk>1.5</targetJdk> + <targetJdk>1.8</targetJdk> <excludes> <exclude>**/external/*.java</exclude> </excludes> @@ -704,9 +695,9 @@ </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> + <groupId>org.apache.maven</groupId> <artifactId>maven-patch-plugin</artifactId> - <version>1.2</version> + <version>3.8.6</version> <configuration> <patchDirectory>${basedir}/src/patches/android/</patchDirectory> <targetDirectory>${android.src}</targetDirectory> |