I'd like to run a custom action before Spring Boot Plugin builds the final WAR file. Actually I have to obfuscate some JAR files from ${project.build.directory}/${project.build.finalName}/WEB-INF/lib before they are packaged into the WAR file by Spring Boot.
I can do it for the regular WAR file, but when Spring Boot Plugin repackages the application it creates a new WAR file and it seems to do a fresh copy of the JAR files instead of picking the obfuscated ones from ${project.build.directory}/${project.build.finalName}/WEB-INF/lib.
Any help would be greatly appreciated.
Regards