playn maven-install错误

时间:2011-10-24 18:32:05

标签: maven playn

当我尝试使用playn-cute进行maven-install时,如何克服此错误(当我在playn-project上执行此操作时,我会得到同样的结果)?     

    [INFO] ------------------------------------------------------------------------
    [INFO] Building PlayN Cute Flash 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- maven-dependency-plugin:2.1:unpack (unpack) @ playn-cute-flash ---
    [INFO] Configured Artifact: com.adobe.flex:flex-sdk:4.1.0.16076_mpl:zip
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See htttp://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    Downloading: htttp://forplay.googlecode.com/svn/mavenrepo/com/adobe/flex/flex-   sdk/4.1.0.16076_mpl/flex-sdk-4.1.0.16076_mpl.zip
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] PlayN Cute Metaproject ............................ SUCCESS [0.625s]
    [INFO] PlayN Cute Core ................................... SUCCESS [5.781s]
    [INFO] PlayN Cute HTML ................................... SUCCESS [54.125s]
    [INFO] PlayN Cute Flash .................................. FAILURE [23:58.047s]
    [INFO] PlayN Cute Android ................................ SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 25:01.422s
    [INFO] Finished at: Mon Oct 24 17:20:07 BST 2011
    [INFO] Final Memory: 9M/17M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-   plugin:2.1:unpack (unpack) on project playn-cute-flash: Unable to resolve artifact. Could not transfer artifact com.adobe.flex:flex-sdk:zip:4.1.0.16076_mpl from/to forplay-legacy (htttp://forplay.googlecode.com/svn/mavenrepo): No response received after 60000
    [ERROR] com.adobe.flex:flex-sdk:zip:4.1.0.16076_mpl
    [ERROR] 
    [ERROR] from the specified remote repositories:
    [ERROR] forplay-legacy (htttp://forplay.googlecode.com/svn/mavenrepo, releases=true, snapshots=true),
    [ERROR] central (htttp://repo1.maven.org/maven2, releases=true, snapshots=false)
    [ERROR] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] htttp://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn  -rf :playn-cute-flash

注意:由于我的声誉,我只能发布最多两个超链接的问题,错误输出包含更多,所以上面的每个htttp实际上应该读取http。

1 个答案:

答案 0 :(得分:1)

更密切地检查此错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-
 plugin:2.1:unpack (unpack) on project playn-cute-flash: Unable to resolve
 artifact. Could not transfer artifact
 com.adobe.flex:flex-sdk:zip:4.1.0.16076_mpl
 from/to forplay-legacy (htttp://forplay.googlecode.com/svn/mavenrepo):
 No response received after 60000

它说“60000之后没有收到回复”,我怀疑这是Google Code的暂时中断。

我刚刚下载了有问题的文件并且工作正常。所以我怀疑你只需要再试一次。