Solved.
- check java -version and javac -version: they have to be consistent, otherwise problem with that
- check PATH_JAVA pointing at JDK consistently
- upgrade scala-maven-plugin: https://github.com/davidB/scala-maven-plugin (3.3.3)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…