Ok, I've fixed it with executions, thanks!
Lovro Pandzic
Division Lead, Enterprise Zagreb
lovro.pand...@infobip.com
On 09/10/2019, 17:52, "Thomas Broyer" wrote:
Declare the test-only arguments in an (
Hello,
I'd like to pass -parameters and enable-preview arguments to the test compiler
but I can't figure out how, the closest I got is:
How can I pass two arguments to the test compiler where one of them requires
double dash?
Best Regards,
Declare the test-only arguments in an (
https://maven.apache.org/guides/mini/guide-default-execution-ids.html#Example:_Configuring_compile_and_testCompile_mojos_separately),
and possibly (untested, but theoretically it would work) take advantage of
combine.children="append"
Från: Lovro Pandzic
Svara: Maven Users List
Datum: 9 oktober 2019 at 14:48:46
Till: i...@soebes.de , Maven Users List
Ämne: Re: Maven compiler plugin - test compiler arguments with double dash
But this approach also affects production compiler...
So the full use case is:
production
But this approach also affects production compiler...
So the full use case is:
production: -parameters
test: -parameters --enable-preview
BR,
Lovro Pandzic
Division Lead, Enterprise Zagreb
lovro.pand...@infobip.com
On 09/10/2019, 14:46, "Karl Heinz Marbaise" wrote:
Hi,
this is
Hi,
this is documented on the documentation page[1]
which can be achieved by using the following:
[...]
[...]
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
--enable-preview
wished supplemental
Hello,
I'd like to pass -parameters and enable-preview arguments to the test compiler
but I can't figure out how, the closest I got is:
How can I pass two arguments to the test compiler where one of them requires
double dash?
Best Regards,