It is because of a bug in check style 2.5. The check style is trying to do the check and if the directory is not there, it fails. However, you do not include java code in your web module. They say it will be fixed in 2.6. I do know this is not the best solution. But if you create just one directory without any file in it, the problem will be gone. Just a java directory under src\main\
Brian Ko -- View this message in context: http://old.nabble.com/Created%3A-%28MCHECKSTYLE-130%29-multimodule-project-requires-src-main-java-after-2.5-update-tp27592778p27601257.html Sent from the Maven - Issues mailing list archive at Nabble.com.