我完全按照http://code.google.com/p/playn/wiki/GettingStarted的说明进行操作
我安装了 Git 并将 playn-samples 放入名为 C:\a2 的文件夹中。我将环境变量设置为指向 JAVA_HOME 和 M2_HOME。我安装了 maven 并确保版本大于 3.0.3。在 Windows 命令窗口中,我做了:
cd C:\a2\playn-samples\showcase
mvn test
但它给了我这个并且永远停顿(我是 maven 的初学者):
c:\a2\playn-samples\showcase>mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] PlayN Showcase Metaproject
[INFO] PlayN Showcase Core
[INFO] PlayN Showcase Android
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building PlayN Showcase Metaproject 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ playn-showcase --
-
Downloading: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.3/c
ommons-lang-2.3.jar
Downloading: http://repo.maven.apache.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0
b4.jar
78 KB 151 KB