You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/05/22 19:37:02 UTC
[maven-plugin-tools] branch master updated: [MPLUGIN-389] Update level to Java 8
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 0a7c5be5 [MPLUGIN-389] Update level to Java 8
0a7c5be5 is described below
commit 0a7c5be50859c8238cb086781d5d81cc9fb9b2bb
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun May 22 17:42:02 2022 +0200
[MPLUGIN-389] Update level to Java 8
---
.../main/java/org/apache/maven/plugins/antWithRefs/ArtifactsTask.java | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/maven-plugin-plugin/src/it/ant-reference-parameter/src/main/java/org/apache/maven/plugins/antWithRefs/ArtifactsTask.java b/maven-plugin-plugin/src/it/ant-reference-parameter/src/main/java/org/apache/maven/plugins/antWithRefs/ArtifactsTask.java
index 8c8e20eb..c41989d3 100644
--- a/maven-plugin-plugin/src/it/ant-reference-parameter/src/main/java/org/apache/maven/plugins/antWithRefs/ArtifactsTask.java
+++ b/maven-plugin-plugin/src/it/ant-reference-parameter/src/main/java/org/apache/maven/plugins/antWithRefs/ArtifactsTask.java
@@ -29,7 +29,7 @@ public class ArtifactsTask
public void execute()
throws BuildException
{
- log( String.valueOf( getProject().getReference( "artifacts" ) ) );
+ log( String.valueOf( ( Object ) getProject().getReference( "artifacts" ) ) );
}
}
diff --git a/pom.xml b/pom.xml
index cf9362c6..bb565355 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,7 +91,7 @@
<properties>
<surefire.version>2.22.2</surefire.version>
- <javaVersion>7</javaVersion>
+ <javaVersion>8</javaVersion>
<pluginTestingHarnessVersion>3.3.0</pluginTestingHarnessVersion>
<mavenVersion>3.2.5</mavenVersion>
<antVersion>1.9.16</antVersion>