You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2020/06/12 04:01:28 UTC
[tomee-patch-plugin] 03/04: Remove fields not used
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-patch-plugin.git
commit b8f5475fdf6f47dc3463d2f2601f9ed78e3f7abc
Author: David Blevins <da...@gmail.com>
AuthorDate: Thu Jun 11 19:33:58 2020 -0700
Remove fields not used
---
.../java/org/apache/tomee/patch/plugin/PatchMojo.java | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java b/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
index ef995d4..bcf8ab8 100644
--- a/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
+++ b/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
@@ -64,9 +64,6 @@ public class PatchMojo extends AbstractMojo {
@Parameter(defaultValue = "${session}", readonly = true, required = true)
private MavenSession session;
- @Parameter(defaultValue = "${project.build.directory}", required = true)
- private File outputDirectory;
-
@Parameter(defaultValue = "${project.basedir}/src/patch/java", required = true)
private File patchSourceDirectory;
@@ -89,13 +86,13 @@ public class PatchMojo extends AbstractMojo {
private Map<String, String> jdkToolchain;
/**
- * Sets the executable of the compiler to use when {@link #fork} is <code>true</code>.
+ * Sets the executable of the compiler to use when fork is <code>true</code>.
*/
@Parameter(property = "maven.compiler.executable")
private String executable;
/**
- * Version of the compiler to use, ex. "1.3", "1.5", if {@link #fork} is set to <code>true</code>.
+ * Version of the compiler to use, ex. "1.3", "1.5", if fork is set to <code>true</code>.
*/
@Parameter(property = "maven.compiler.compilerVersion")
private String compilerVersion;
@@ -127,15 +124,6 @@ public class PatchMojo extends AbstractMojo {
@Parameter(property = "encoding", defaultValue = "${project.build.sourceEncoding}")
private String encoding;
- @Component
- private MavenProjectHelper projectHelper;
-
- @Component
- protected ArtifactFactory factory;
-
- @Component
- protected ArtifactResolver resolver;
-
/**
* Plexus compiler manager.
*/