Questions tagged [proguard-maven-plugin]
19 questions
3
votes
1 answer
Maven Proguard plugin - "proguard.Proguard not found on classpath" error
I am trying to obfuscate a jar-with-dependencies (although the same problem affects if I set as inFile the regular single jar).
I am using Java 8, but I have to use newer versions of Proguard and Proguard Maven Plugin, due to coverage of some jar…

xmar
- 1,729
- 20
- 48
2
votes
0 answers
Why doesn't ProGuard repackage the classes from the same package as the ones I configure to prevent from obfuscation?
I'm using the com.github.wvengen:proguard-maven-plugin:2.3.1 maven plugin to obfuscate my jars when building my project. Besides obfuscating, I'm also trying to repackage all classes to the root package. All worked fine and all the classes were…

alextusinean
- 21
- 1
- 2
2
votes
1 answer
Proguard can't read class
I have a project that uses Guava, problem is that guava takes up a lot of space, so I used proguard as they advise in their github documentation.
Problem, once I have completed my pom.xml file and I maven goal clean package, it doesn't build during…

Assim ZEMOUCHI
- 51
- 7
2
votes
1 answer
proguard: Can't read [C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-hotspot\lib\rt.jar]
I am building a desktop application. I am using ProGuard with the following config:
@proguard_jmods.cfg
#-dontshrink
-dontoptimize
#-dontobfuscate
-repackageclasses ''
-renamesourcefileattribute SourceFile
-keepattributes…

AMAY
- 67
- 1
- 7
2
votes
2 answers
Exclude obfuscated jar from lib folder with ProGuard
I am using proguard-maven-plugin in my multi-module maven project with spring boot. By no means, I am not an expert and still learning how to make use of all features provided with ProGuard, so bear with me. ProGuard…

borgmater
- 658
- 3
- 11
- 35
2
votes
0 answers
Using maven proguard in a Java 11 desktop application
I know this question has been asked numerous times, in fact I used this answer to add proguard to my pom file. One thing I do not understand is when I run the mvn clean install package command, my jars are generated under target but I do not see…

Astonio
- 635
- 2
- 8
- 21
1
vote
0 answers
proguard assembly not work correctly, it detects all artifacts but uses classes directory instead of jar file
I have multi module maven project and need to obfuscate code.
I'm using proguard-maven-plugin with this configuration.
com.github.wvengen
proguard-maven-plugin
…

mehrad
- 11
- 2
1
vote
1 answer
java.lang.VerifyError when running desktop application
I have a desktop application in Java, I am using Proguard for obfuscation, and Install4j.
I am able to run the jar file of the application using the argument "-noverify" which was recommended by others who had the same issue. But I cannot run the…

AMAY
- 67
- 1
- 7
1
vote
0 answers
Spring Boot Maven Project Obfuscation with Proguard
I am using Java 11, Spring Boot 2.2.4 and Proguard 6.2.2.
My pom.xml for proguard as follows
${artifactId}
org.springframework.boot
…

Ramachandra Reddy
- 291
- 2
- 13
1
vote
1 answer
Spring Boot and Obfuscation code Proguard
I make an application spring boot and I use maven. I also want to obfuscate the code. I do this with the help of a proguard maven plugin. Here is the code from the pom.xml:
${artifactId}
…

Range
- 416
- 7
- 20
1
vote
1 answer
Maven proguard-maven-plugin duplicate class definitions and incorrectly named files
I'm trying to use proguard-maven-plugin with proguardVersion 6.0.3. This is plugin declaration in pom.xml:
com.github.wvengen
proguard-maven-plugin
…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
0 answers
When using Proguard version 7.3.2 getting JSONException error
I am using openjdk11 and below is my proguard configuration

user4888455
- 9
- 4
0
votes
0 answers
All API endpoints of spring boot returns 404 NOT FOUND error after obfuscation using Proguard
I have an application with over 100 endpoints, all of which were working perfectly before obfuscation. However, after obfuscation, none of the endpoints are working. All of them return a 404 error.
Here is the obfuscation configuration I…

Shahzeb Iqbal
- 1
- 2
0
votes
0 answers
ProGuard Maven Can't find common super class
I just can't seem to get this working:
[proguard] Class = [co/aikar/commands/lib/expiringmap/ExpiringMap]
[proguard] Method = [(Lco/aikar/commands/lib/expiringmap/ExpiringMap$Builder;)V]
[proguard] Exception =…

Batimonster
- 121
- 1
- 6
0
votes
1 answer
how to integrate proguard using https in spring boot maven app using Java 11?
I am trying to obfuscate a .jar app using Spring Boot 2.3.2, Java 11, Proguard maven plugin 2.3.1 and Proguard base 6.2.2 . My pom.xml looks like this:
maven-assembly-plugin
…

Chis Bianca
- 11
- 1