Fix issue for downstream users of Maven 3.10.0, and clean up obsolete profile.
IIUC: For security reasons, Maven has changed to disallow dependencies to select a profile based on what files exist on disk. So, in order to detect whether to include
tools.jaron the classpath, we must check the Java version, rather than checking whethertools.jarexists.This change, once released and pulled into Auto, should resolve the problem seen at head, including in such PRs as https://github.com/google/auto/pull/2160.
I also figured that it was about time to remove the Mac profile that sounds like it may have supported Java 6 there.
RELNOTES=Fixed Java 8 build configuration to work for downstream users of Maven 3.10.0. PiperOrigin-RevId: 996668159
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Compile Testing
A library for testing javac compilation with or without annotation processors. See the javadoc for usage examples.
License