Failed to execute goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard (default) on project xunge-middleware: Execution default of goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard failed: Plugin com.pyx4me:proguard-maven-plugin:2.0.4 or one of its dependencies could not be resolved: Failure to find net.sf.proguard:proguard:jar:4.8 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
产生该 问题的原因应该是在Maven的仓库中http://repo1.maven.org/maven2/net/sf/proguard/proguard/
找不到net.sf.proguard:proguard:jar的4.8的版本。
把版本号改为4.4问题就解决了。
<dependencies>
<!-- 使用4.4版本来混淆 -->
<dependency>
<groupId>net.sf.proguard</groupId>
<artifactId>proguard</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
时间: 2024-10-07 23:37:12