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 2807213c186882a64ebb66bde4ad664dfb2435a9
Author: rfscholte <rfscho...@apache.org>
AuthorDate: Sun Jun 3 22:23:17 2018 +0200

    [MCOMPILER-342] replace deprecated methods
---
 src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java     | 2 +-
 src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

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 6fa080e..46c6fc0 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
@@ -235,7 +235,7 @@ public class TestCompilerMojo
             try
             {
                 ResolvePathsRequest<String> request =
-                        ResolvePathsRequest.withStrings( testPath )
+                        ResolvePathsRequest.ofStrings( testPath )
                                 .setMainModuleDescriptor( 
mainModuleDescriptorClassFile.getAbsolutePath() );
 
                 Toolchain toolchain = getToolchain();
@@ -268,7 +268,7 @@ public class TestCompilerMojo
             try
             {
                 ResolvePathsRequest<String> request =
-                        ResolvePathsRequest.withStrings( testPath )
+                        ResolvePathsRequest.ofStrings( testPath )
                                 .setMainModuleDescriptor( 
testModuleDescriptorJavaFile.getAbsolutePath() );
 
                 Toolchain toolchain = getToolchain();

-- 
To stop receiving notification emails like this one, please contact
rfscho...@apache.org.

Reply via email to