I have a spring boot project test
which is packaged as a war
.
It depends on util
which is packaged as a jar
.
I am using maven.
I need to deploy the test.war
to tomcat.
In this case, how should I obfuscate the test
?
2 Likes
Hi @takeAction
For obfuscate spring boot war. you can follow these steps.
First, obfuscate the util.jar using an obfuscation tool like ProGuard or yGuard.
Once obfuscated, replace the original util.jar in your test.war with the obfuscated version.
Lastly You can Deploy the newly created WAR file to Tomcat.
Hope this will help you.
1 Like