You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/09/26 15:11:01 UTC
[maven-help-plugin] 01/01: [MPH-181] Require Java 8
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch MPH-181
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git
commit f296e479065f590252bcc2db9ebf03cb0ae31c79
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 26 17:02:42 2021 +0200
[MPH-181] Require Java 8
---
pom.xml | 27 +++------------------------
1 file changed, 3 insertions(+), 24 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4d71e6f..dcc7e05 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
</distributionManagement>
<properties>
- <javaVersion>7</javaVersion>
+ <javaVersion>8</javaVersion>
<mavenVersion>3.1.1</mavenVersion>
<mavenPluginToolsVersion>3.6.1</mavenPluginToolsVersion>
<surefire.version>2.22.2</surefire.version>
@@ -178,7 +178,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.8.1</version> <!-- commons-lang3 > 3.8.1 requires at least Java 8 -->
+ <version>3.12.0</version>
</dependency>
<!-- test -->
@@ -203,7 +203,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>2.28.2</version>
+ <version>3.12.4</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -235,27 +235,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-bytecode-version</id>
- <configuration>
- <rules>
- <!--
- ! Added the following ignores cause our target is JDK 7
- ! The given classes are JDK 8 compiled.
- -->
- <enforceBytecodeVersion combine.children="append">
- <ignoreClasses>
- <ignoreClass>com.thoughtworks.xstream.converters.reflection.LambdaConverter</ignoreClass>
- <ignoreClass>com.thoughtworks.xstream.mapper.LambdaMapper</ignoreClass>
- <ignoreClass>com.thoughtworks.xstream.converters.time.*</ignoreClass>
- <ignoreClass>com.thoughtworks.xstream.core.util.ISO8601JavaTimeConverter</ignoreClass>
- </ignoreClasses>
- </enforceBytecodeVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
</plugin>
<!-- unpack old Maven core sources for maven.mdo model to be able to generate xpp3-extended-writer when not yet provided by Maven core -->
<plugin>