我正在尝试通过 Proguard Maven 插件引用我的库 jar,我该如何包含它们?通常我在配置文件中指向我的库,当我过去使用 DOS 进行混淆时它可以工作。这是我的 Maven proguard 配置
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<configuration>
<options>
<option>-allowaccessmodification</option>
</options>
<obfuscate>true</obfuscate>
<injar>{project.build.directory}/proj-SOC.jar</injar>
<outjar>${project.build.finalName}-obfuscated.jar</outjar>
<outputDirectory>${project.build.directory}</outputDirectory>
<proguardInclude>src/main/ressources/projSOC-obfuscation-config.conf</proguardInclude>
<libs>
<lib>lib/rt.jar</lib>
</libs>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
</plugin>