apache / apache/maven-toolchains-plugin

[MTOOLCHAINS-57] Build time has doubled after using toolchains

Open
#114 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
27
Forks
31
PR merge metrics
No merged PRs in 30d

Description

**[Rich M](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=richm123)** opened **[MTOOLCHAINS-57](https://issues.apache.org/jira/browse/MTOOLCHAINS-57?redirect=false)** and commented

I have started to use toolchains plugin today for Java 8 and 17, and noticed that build time has doubled since.

Is this a known issue or expected behavior when using toolchains ?

There are 1466 modules in the build, out of which 5 modules are using 17, rest are using Java 8.

I have Java 8 defined as default in the main pom, and the 5 submodules override the plugin configuration to 17.

Build used to take around 1 hour earlier, now it is taking 2 hours.

Any tips/tricks to debug or fix this issue ?

---

**Affects:** 3.0.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.