Missing preprocessor SPI for javac (1.6+).
- Include com.github.shyiko.javac-preprocessor:javac-preprocessor-spi:LATEST_VERSION dependency.
- Create implementation(s) of javac.preprocessor.spi.Preprocessor.
- List implementation(s) from the previous step inside META-INF/services/javac.preprocessor.spi.Preprocessor file.
- Assemble the jar (including com.github.shyiko.javac-preprocessor:javac-preprocessor-loader:LATEST_VERSION with transitive dependencies)
Add -J-Xbootclasspath/p:<location of preprocessor jar.jar>:$JAVA_HOME/lib/tools.jar
to the list of command line parameters.