码迷,mamicode.com
首页 > 其他好文 > 详细

Failed to execute goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard (default) on project xunge-mi

时间:2015-05-08 14:52:38      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:project   execute   maven   default   failed   

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>

Failed to execute goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard (default) on project xunge-mi

标签:project   execute   maven   default   failed   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45579597

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!