I have this file from spring
at ./META-INF/spring/props.properties
that I would like not have it in my built .jar
when I ran mvn clean package
or mvn deploy
. I don't want to provide this file for security purposes.
I'm trying to add this on my pom.xml
but isn't working.
<build>
...
<resource>
<directory>META-INF/spring</directory>
<filtering>true</filtering>
<includes>
<include>props.properties</include>
</includes>
</resource>
...
</build>
enter code here