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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d05342  [MCOMPILER-562] Add property maven.compiler.outputDirectory 
to CompilerMojo (#213)
1d05342 is described below

commit 1d053422bde8ef0f0d1a1901a0b00e56c5e62571
Author: Gaurav Gupta <gaurav.gu...@payara.fish>
AuthorDate: Sun Dec 10 14:01:42 2023 +0530

    [MCOMPILER-562] Add property maven.compiler.outputDirectory to CompilerMojo 
(#213)
---
 src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 9ba8a75..9142f99 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
@@ -83,7 +83,11 @@ public class CompilerMojo extends AbstractCompilerMojo {
      * it is recommended to use the {@code <release>} property
      * in conjunction with the ${multiReleaseOutput} parameter instead.
      */
-    @Parameter(defaultValue = "${project.build.outputDirectory}", required = 
true, readonly = false)
+    @Parameter(
+            property = "maven.compiler.outputDirectory",
+            defaultValue = "${project.build.outputDirectory}",
+            required = true,
+            readonly = false)
     private File outputDirectory;
 
     /**

Reply via email to