There is a question on SO that I asked three months ago: https://stackoverflow.com/questions/49398894/unable-to-compile-simple-java-10-project-with-maven/49398936#49398936
After three months, there is still no official solution for this from Maven. People have to use that workaround. So my question is, why? Is it a big problem to release a new version of maven-compiler-plugin with the new version of ASM as a dependency?