Java Obfuscation with Zelix

How to Perform Obfuscation in Java using Zelix jar dependency

Photo by Silas Baisch on Unsplash

For Maven projects:

mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -D”file=/Users/senoritadeveloper/Documents/ZELIX/zkm-plugin-1.0.3.jar” -D”ZKM_HOME=/Users/senoritadeveloper/Documents/ZELIX/ZKMEval” -DlocalRepositoryPath=/Users/senoritadeveloper/dev/repository
mvn clean package -DskipTests -Dmaven.repo.local=/Users/senoritadeveloper/dev/repository
java -Dsentry.properties.file=/Users/senoritadeveloper/dev/git-workspace/senoritadeveloper/event-socket-server/src/main/resources/sentry.properties -Dlogging.config=/Users/senoritadeveloper/dev/git-workspace/senoritadeveloper/event-socket-server/src/main/resources/logback.xml -jar target/event-socket-server.jar — spring.config.location=/Users/senoritadeveloper/dev/git-workspace/senoritadeveloper/event-socket-server/src/main/resources/application.properties
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>spring-boot</classifier>
<mainClass>
com.senoritadeveloper.eventsocket.EventSocketApplication
</mainClass>
</configuration>
</execution>
</executions>
</plugin>

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨