Skip to content

Conversation

@jGauravGupta
Copy link
Contributor

@jGauravGupta jGauravGupta commented Dec 6, 2023

Currently, the CompilerMojo relies on the outputDirectory parameter without allowing external configuration (e.g via commandline). This limits the flexibility of the plugin in certain build environments.

Proposed Solution:

The source code for the CompilerMojo has been modified to introduce a new property, maven.compiler.outputDirectory, which can be configured externally. This change will enable users to specify a custom output directory for the compiler, offering greater flexibility and customization in different build scenarios while retaining backward compatibility with the existing outputDirectory parameter.

@slawekjaranowski
Copy link
Member

@jGauravGupta thanks, as is a new feature jira issue will be appreciated.
Can you create one?

@jGauravGupta jGauravGupta changed the title Add property maven.compiler.outputDirectory to CompilerMojo MCOMPILER-562 Add property maven.compiler.outputDirectory to CompilerMojo Dec 7, 2023
@slawekjaranowski slawekjaranowski changed the title MCOMPILER-562 Add property maven.compiler.outputDirectory to CompilerMojo [MCOMPILER-562] Add property maven.compiler.outputDirectory to CompilerMojo Dec 10, 2023
@slawekjaranowski slawekjaranowski merged commit 1d05342 into apache:master Dec 10, 2023
@slawekjaranowski slawekjaranowski added the enhancement New feature or request label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants