Sunday, December 22, 2019

How to exclude all files in resources folder

Normally we have some files in the resources folder for our java project(s)
in some scenarios, those files are not to be included in the final jar
so the configuration below demonstrates how to exclude all files in resources with Maven.


    <!-- exclude all files in resources-->    <resources>

    <!-- other configurations/plugins in the pom.xml-->



No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...