English 中文(简体)
playn maven-install error
原标题:
  • 时间:2011-10-24 18:32:05
  •  标签:
  • maven
  • playn

How do I overcome this error when I try to do a maven-install of playn-cute (I get the same thing when I do it on 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

Note: due to my reputation I am only able to post questions with a maximum of two hyperlinks, the error output contained more, so each htttp above should actually read http.

问题回答

Inspect this error more closely:

[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

It says "No response received after 60000" which I suspect is a temporary outage of Google Code.

I just downloaded the file in question and it worked fine. So I suspect you simply need to try again.





相关问题
JavaFX with Maven [closed]

I recently started a JavaFX project, and I d like to use Maven as my compiler/deployment tool. Is there a good tutorial or plugin to integrate JavaFX and Maven?

How to upload jar to respository?

I have jar files that cannot be found on Maven Central repository. I would like to add the jar so I can just include extra tag in my pom.xml file and other developer can use the jar. What are the ...

Debug Maven project in Eclipse with third party sources

I am currently developing a maven project in eclipse. The m2eclipse plugin works beautifully. It even works out of the box with debugging. But when I am debugging open source third party libarries. ...

Could Free Pascal benefit of something like Apache Maven?

Apache Maven is a very popular build and dependency management tool in the Java open source ecosphere. I did some tests to find out if it can handle compiled Free Pascal / Delphi units and found it ...

Run a single test method with maven

I know you can run all the tests in a certain class using: mvn test -Dtest=classname But I want to run an individual method and -Dtest=classname.methodname doesn t seem to work.

Uploading a directory using sftp with Maven

How can I upload a directory - Eclipse update site - using sftp with public key authentication in Maven? For background information: I m using tycho to build an Eclipse plugin and want to get the ...

What are solid NMaven or build servers for .NET alternatives?

Maven had a long history and is well supported in the Java world. NMaven has received a less successful start and has never become as popular in the C#/.NET world as its larger cousin was in the Java ...

热门标签