Details
Description
None of AbstractCompileMojo's parameters (sourceEncoding etc.) is passed on to groovyc. This is because AbstractCompileMojo.process() (which fills the Configuration object) runs AFTER ClassCompilerFeature.ClassCompilerImpl constructor (which reads the Configuraton object).
Issue Links
- duplicates
-
GMAVEN-13
sourceEncoding doesn't work
-
I was just dealing with the issue right now.
I attach the patch I could solive this problem for gmaven-runtime-1.6.
It's very simple, set configuration just before compile, not in the constructor.
You surely don't need to use it if you have better solution.
I hope this is useful.
regards,