2011-10-24 87 views
1

當我嘗試做一個playn-cute的maven-install(當我在playn-project上做同樣的事情)時,我該如何克服這個錯誤? playn maven-install error

 
    [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

更加緊密地檢查這個錯誤:我懷疑是谷歌代碼的暫時停運「60000後收到無響應」

[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 

它說。

我剛剛下載有問題的文件,它工作正常。所以我懷疑你只需要再試一次。

+0

嗨,謝謝你的回覆。我承擔了同樣的事情,並嘗試通過瀏覽器直接下載文件 - 我可以(我也嘗試過多次運行代碼)。我正在使用eclipse - 任何想法,我可以改變插件的地址,並使用本地地址? – user728785

+0

您可以嘗試從命令行運行Maven一次,它可以將必要的文件下載到您的本地Maven存儲庫中,Eclipse可以訪問它們。只需在頂級PlayN目錄中運行'mvn install'即可。 – samskivert