尝试运行 playn 给出的基本示例,想尝试一下该工具包。我正在按照此处给出的说明进行操作:http ://code.google.com/p/playn/wiki/GettingStarted
但是,在进行克隆并从命令行运行 mvn compile exec:java 后,它会出现以下响应:
mvn 编译 exec:java
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.googlecode.playn:playn-showcase-core:1.0-SNAPSHOT (/Users/keitama/Sites/Games/playn-samples/showcase/core/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.googlecode.playn:playn-showcase:1.0-SNAPSHOT: Failure to find com.googlecode.playn:playn-project:pom:1.0.1 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ com.googlecode.playn:playn-showcase:1.0-SNAPSHOT, /Users/username/Sites/Games/playn-samples/showcase/pom.xml, line 6, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
现在彻底迷路了。我已经查看了给出的帮助页面,但它们似乎只是在跟我说另一种语言。作为 Maven 和 playn 的完整入门者,我无处不在。帮助!
干杯:)
编辑:
拉动并按照以下说明进行操作后,出现以下错误:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.googlecode.playn:playn-showcase:1.0-SNAPSHOT (/Users/username/Sites/Games/playn-samples/showcase/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.googlecode.playn:playn-project:pom:1.0.1 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
我也尝试在核心中,并得到以下错误:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.googlecode.playn:playn-showcase-core:1.0-SNAPSHOT (/Users/username/Sites/Games/playn-samples/showcase/core/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.googlecode.playn:playn-showcase:1.0-SNAPSHOT: Failure to find com.googlecode.playn:playn-project:pom:1.0.1 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ com.googlecode.playn:playn-showcase:1.0-SNAPSHOT, /Users/username/Sites/Games/playn-samples/showcase/pom.xml, line 6, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
还是有点失落。有任何想法吗?