proguard-maven-plugin

proguard: Can't find common super class of org/apache/poi/hpbf/extractor/PublisherTextExtractor

非 Y 不嫁゛ 提交于 2021-01-29 19:25:14
问题 I am building a desktop application (using OpenJDK11, Maven). I am using ProGuard with the following config: @proguard_jmods.cfg #-dontshrink -dontoptimize #-dontobfuscate -optimizations !class/unboxing/enum -repackageclasses '' -renamesourcefileattribute SourceFile -keepattributes *Annotation*,Signature,Annotation,InnerClasses,EnclosingMethod,SourceFile,LineNumberTable -adaptresourcefilenames -dontnote -dontwarn com.ctc.wstx.**,com.github.**,com.jolbox.bonecp.**,com.mchange.v2.**,com.sun

Proguard not able to obfuscate the jar through maven plugin

只谈情不闲聊 提交于 2019-12-11 16:46:32
问题 I am trying to obfuscate a jar build through maven, through proguard maven plugin. Build is also successful but when I decompile the same through JAD (Java decompiler), I am able to see all the java code. Thus it seems there is no obfuscation of the java source file. Please find below the pom.xml for the same : <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org