You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/05/15 09:05:53 UTC

[maven-compiler-plugin] branch gh50 created (now 3806118)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch gh50
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git.


      at 3806118  Remove unused private field

This branch includes the following new commits:

     new 3806118  Remove unused private field

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-compiler-plugin] 01/01: Remove unused private field

Posted by rf...@apache.org.
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 <pz...@users.noreply.github.com>
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() );