When I create an executable jar with dependencies (using this guide), all properties files are packaged into that jar too. How to stop it from happening? Thanks.
Do you mean to property files located in src/main/resources? Then you should exclude them using the maven-resource-plugin. See the following page for details: