This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch MCOMPILER-342 in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit 6c812e1895efe2543b41579cd7a28c195c085208 Author: rfscholte <rfscho...@apache.org> AuthorDate: Fri Jun 1 19:06:01 2018 +0200 [MCOMPILER-342] Unsupported class file major version 55 Upgrade plexus-java to 0.9.9, which uses JDK instead of ASM when possible --- pom.xml | 2 +- src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java | 2 +- src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8bb3c4e..29b84ad 100644 --- a/pom.xml +++ b/pom.xml @@ -120,7 +120,7 @@ under the License. <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-java</artifactId> - <version>0.9.7</version> + <version>0.9.9</version> </dependency> <dependency> diff --git a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java index d1956ae..374b0ab 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java @@ -207,7 +207,7 @@ public class CompilerMojo Collection<File> dependencyArtifacts = getCompileClasspathElements( getProject() ); ResolvePathsRequest<File> request = - ResolvePathsRequest.withFiles( dependencyArtifacts ) + ResolvePathsRequest.ofFiles( dependencyArtifacts ) .setMainModuleDescriptor( moduleDescriptorPath ); Toolchain toolchain = getToolchain(); diff --git a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java index 78b0a0b..f9d49a0 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java @@ -269,7 +269,7 @@ public class TestCompilerMojo try { ResolvePathsRequest<String> request = - ResolvePathsRequest.withStrings( testPath ) + ResolvePathsRequest.ofStrings( testPath ) .setMainModuleDescriptor( mainModuleDescriptor.getAbsolutePath() ); Toolchain toolchain = getToolchain(); -- To stop receiving notification emails like this one, please contact rfscho...@apache.org.