This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch gh50 in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit 3806118fe7dccce72bf91cd1cdb28379839e5981 Author: Piotrek Żygieło <[email protected]> AuthorDate: Sun May 2 15:12:04 2021 +0200 Remove unused private field --- src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 3 --- .../java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java | 1 - 2 files changed, 4 deletions(-) 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 f6c1d5b..9430ac2 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java @@ -153,9 +153,6 @@ public class TestCompilerMojo @Parameter ( defaultValue = "${project.build.directory}/generated-test-sources/test-annotations" ) private File generatedTestSourcesDirectory; - @Parameter( defaultValue = "${project.compileClasspathElements}", readonly = true ) - private List<String> compilePath; - @Parameter( defaultValue = "${project.testClasspathElements}", readonly = true ) private List<String> testPath; diff --git a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java index b1282d5..79d8711 100644 --- a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java +++ b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java @@ -448,7 +448,6 @@ public class CompilerMojoTestCase project.setArtifacts( Collections.singleton( junitArtifact ) ); project.getBuild().setOutputDirectory( new File( buildDir, "classes" ).getAbsolutePath() ); setVariableValueToObject( mojo, "project", project ); - setVariableValueToObject( mojo, "compilePath", Collections.EMPTY_LIST ); setVariableValueToObject( mojo, "testPath", testClasspathList ); setVariableValueToObject( mojo, "session", getMockMavenSession() ); setVariableValueToObject( mojo, "mojoExecution", getMockMojoExecution() );
