yWorks / yGuard

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

Home Page:https://yworks.github.io/yGuard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring-boot war obfuscation

thesherrinford opened this issue · comments

spring boot obfuscated war deletes springframework directory despite of using external library attribute.
moreover, manifest.mf file contents are getting replaced despite of mentioning the opposite in adjust attribute.

Could you add a minimal example with a POM or Gradle to reproduce? You should assume that collaborators of this project do not necessarily know Spring Boot.

it's a maven project, so pom.xml
PFA dependencies and plugin attributes. IMG_20220707_141957.jpgIMG_20220707_141943.jpg

Photos of your screen do not qualify as short, self-contained example that lets us reproduce the problem. Unless you can provide such an example (in the case of Maven that means a standalone pom.xml text file), we will not even try to look into your problem.

hi!
any update please.

When I run one of the Maven goals for your pom.xml, Maven tells me "No sources to compile". I.e. it is not possible to reproduce the problem. And thus it is not possible to determine the cause for the problem either.

That said, yGuard does not support WAR files. It supports JAR files only.

gimme some time, I'll upload the whole project in a repository and share.
Actually I've been able to get two wars, normal output and an obfuscated one. I'll help you replicate the issue.

No. Do not upload the whole project. If you upload, upload a minimal example. Otherwise no one will want to spend their free time on this.