Closed adrian-herscu closed 1 year ago
Apparently site artifacts are not cached -- opened: https://issues.apache.org/jira/projects/MBUILDCACHE/issues/MBUILDCACHE-65
mode-build-nosign
now takes less than 20 seconds.
GPG signatures, or any other artifacts beyond binary/source/javadoc JARs, are not cached.
Current State
On Windows with JRE 8, 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz, 1498 Mhz, 4 Core(s), 8 Logical Processor(s), 4 GB out of 16 available RAM, maven running with --threads 1.5C
How to make it better
Upgrade to maven 3.9.x in order get build caching; see https://maven.apache.org/extensions/maven-build-cache-extension/
Issues
Apparently, the impsort-maven-plugin:1.5.0 depends on some older component of Maven which might need to be added as a dependency; see https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Using_the_.3Cdependencies.3E_Tag
Upgrading above plugin requires running with JRE 11+, effectively breaking JDK 8 support.
See also https://github.com/revelc/impsort-maven-plugin/issues/69