You can use Toolchain with Failsafe plugin:
https://maven.apache.org/surefire/maven-surefire-plugin/java9.html
but you can configure multiple executions and phases for the
maven-toolchains-plugin.

On Thu, Apr 4, 2019 at 11:09 PM Mark Derricutt <[email protected]> wrote:

> On 5 Apr 2019, at 6:29, Robert Scholte wrote:
>
> If you want to test the jar, you must use the failsafe plugin (or bind
> surefire to the integration-test phase)
>
> Can/could failsafe take a toolchain id as config, then you could configure
> additional executions using each toolchain you wanted?
> ------------------------------
>
> "The ease with which a change can be implemented has no relevance at all
> to whether it is the right change for the (Java) Platform for all time." —
> Mark Reinhold.
>
> Mark Derricutt
> http://www.theoryinpractice.net
> http://www.chaliceofblood.net
> http://plus.google.com/+MarkDerricutt
> http://twitter.com/talios
> http://facebook.com/mderricutt
>

Reply via email to