Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
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 (

Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
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,

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Thomas Broyer
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"

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Tommy Svensson
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

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
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

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Karl Heinz Marbaise
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

Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
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,