You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2023/10/02 14:30:24 UTC
[BUILD-PLUGIN] Disable moditect profile to build
The moditect profile (which is activated for Java 9+) causes the build to fail.
This prevents testing of snapshot builds, because it appears the
install stage is skipped even when using -fn
Until the cause of the moditect failure is fixed, it is advisable to
use the CLI option:
-P!moditect
e.g. mvn clean install -P!moditect
I've updated the GH action, but I don't think it's possible to disable
the profile from within the build-plugin pom.
Sebb
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [BUILD-PLUGIN] Disable moditect profile to build
Posted by sebb <se...@gmail.com>.
On Mon, 2 Oct 2023 at 15:30, sebb <se...@gmail.com> wrote:
>
> The moditect profile (which is activated for Java 9+) causes the build to fail.
> This prevents testing of snapshot builds, because it appears the
> install stage is skipped even when using -fn
>
> Until the cause of the moditect failure is fixed, it is advisable to
> use the CLI option:
> -P!moditect
>
> e.g. mvn clean install -P!moditect
>
> I've updated the GH action, but I don't think it's possible to disable
> the profile from within the build-plugin pom.
However it is possible to skip execution of the plugin by setting the
property moditect.skip = true
> Sebb
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org