I'm building a java project with maven. I want to make sure several things:
- the built jar CAN run on jre8.
- the built jar CAN run on jre9, with module/jigsaw.
- the built jar CAN be put on maven central.
How should I configure the maven-compiler-plugin? thanks.
the original repo is at https://github.com/cyanpotion/SDL_GameControllerDB_Util
right now I can pass 2 and 3, but the output jar seems cannot run on jre8.