When I mvn package already packaged module I got a log informing MyJflexFile.java is up to date, but I noticed its modification date has changed. This triggers Maven compiler plugin to recompile the module. I suggest to not change the modification date if content does not change.