IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

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

    testcs_dn发表于 2015-05-08 14:25:40
    love 0

    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>


沪ICP备19023445号-2号
友情链接