Maven: JAR will be empty – no content was marked for inclusion

I hope you have good reason not to follow the standard directory layout, otherwise consider to rearrange the folders: it will make your life a lot easier (as well as for your co-workers).
My guess is that nothing has been compiled. In that case: removing the configuration of the maven-compiler-plugin should be enough.

Leave a Comment