我正在尝试使用 playn 开始开发游戏,但我无法在我的笔记本电脑上进行工作设置。我已经尝试了多个安装指南等,但我最终在 eclipse 中遇到了同样的错误:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] funktest Metaproject
[INFO] funktest Core
[INFO] funktest Java
[INFO] funktest HTML
[INFO] funktest Android
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building funktest Metaproject 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ andre ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ andre ---
[INFO] Installing /home/torgeir/playn/workspace/andre/pom.xml to /home/torgeir/.m2/repository/com/torgeirsandre/andre/0.0.1-SNAPSHOT/andre-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building funktest Core 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ andre-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ andre-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ andre-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ andre-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/core/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ andre-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ andre-core ---
[INFO] Surefire report directory: /home/torgeir/playn/workspace/andre/core/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ andre-core ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ andre-core ---
[INFO] Installing /home/torgeir/playn/workspace/andre/core/target/andre-core-0.0.1-SNAPSHOT.jar to /home/torgeir/.m2/repository/com/torgeirsandre/andre-core/0.0.1-SNAPSHOT/andre-core-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/torgeir/playn/workspace/andre/core/pom.xml to /home/torgeir/.m2/repository/com/torgeirsandre/andre-core/0.0.1-SNAPSHOT/andre-core-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building funktest Java 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ andre-java ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ andre-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/java/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ andre-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ andre-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/java/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ andre-java ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ andre-java ---
[INFO] Surefire report directory: /home/torgeir/playn/workspace/andre/java/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ andre-java ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ andre-java ---
[INFO] Installing /home/torgeir/playn/workspace/andre/java/target/andre-java-0.0.1-SNAPSHOT.jar to /home/torgeir/.m2/repository/com/torgeirsandre/andre-java/0.0.1-SNAPSHOT/andre-java-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/torgeir/playn/workspace/andre/java/pom.xml to /home/torgeir/.m2/repository/com/torgeirsandre/andre-java/0.0.1-SNAPSHOT/andre-java-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building funktest HTML 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ andre-html ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ andre-html ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/html/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ andre-html ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ andre-html ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/torgeir/playn/workspace/andre/html/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ andre-html ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ andre-html ---
[INFO] Surefire report directory: /home/torgeir/playn/workspace/andre/html/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ andre-html ---
[INFO] com.torgeirsandre.andre.funktest is up to date. GWT compilation skipped
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ andre-html ---
[INFO] Packaging webapp
[INFO] Assembling webapp [andre-html] in [/home/torgeir/playn/workspace/andre/html/target/andre-html-0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/torgeir/playn/workspace/andre/html/src/main/webapp]
[INFO] Webapp assembled in [527 msecs]
[INFO] Building war: /home/torgeir/playn/workspace/andre/html/target/andre-html-0.0.1-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ andre-html ---
[INFO] Installing /home/torgeir/playn/workspace/andre/html/target/andre-html-0.0.1-SNAPSHOT.war to /home/torgeir/.m2/repository/com/torgeirsandre/andre-html/0.0.1-SNAPSHOT/andre-html-0.0.1-SNAPSHOT.war
[INFO] Installing /home/torgeir/playn/workspace/andre/html/pom.xml to /home/torgeir/.m2/repository/com/torgeirsandre/andre-html/0.0.1-SNAPSHOT/andre-html-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building funktest Android 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ andre-android ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] funktest Metaproject .............................. SUCCESS [0.531s]
[INFO] funktest Core ..................................... SUCCESS [1.340s]
[INFO] funktest Java ..................................... SUCCESS [0.392s]
[INFO] funktest HTML ..................................... SUCCESS [4.900s]
[INFO] funktest Android .................................. FAILURE [0.145s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.703s
[INFO] Finished at: Thu Jan 26 16:12:06 CET 2012
[INFO] Final Memory: 19M/288M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0-alpha-13:generate-sources (default-generate-sources) on project andre-android: The plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0-alpha-13 requires Maven version [3.0.3,) -> [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] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :andre-android
我尝试过多个版本的 Maven,例如 2.2.1、2.0.11、3.0.4
有谁知道如何解决这一问题?或者也许知道从头开始安装所有内容并获得有效的 playn 设置的好方法?
问候, 托吉尔