我从tripleplay和react分别从1.0和1.1切换到1.1-SNAPSHOT和1.2-SNAPSHOT,以便能够使用git的最新代码(如AbsoluteLayout)。
现在,当我尝试使用以下命令为HTML5打包游戏时
mvn clean package
我得到了:
[WARNING] The POM for com.threerings:react:jar:1.2-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.threerings:tripleplay:jar:1.1-SNAPSHOT is missing, no dependency information available
...
[ERROR] Failed to execute goal on project h4ck1t-core: Could not resolve dependencies for project com.jengibre:h4ck1t-core:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.threerings:react:jar:1.2-SNAPSHOT, com.threerings:tripleplay:jar:1.1-SNAPSHOT: Failure to find com.threerings:react:jar:1.2-SNAPSHOT in http://forplay.googlecode.com/svn/mavenrepo was cached in the local repository, resolution will not be reattempted until the update interval of forplay-legacy has elapsed or updates are forced -> [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/DependencyResolutionException我尝试添加-U来强制它进行更新,但没有效果
我的pom使用的是PlayN 1.0.3版本
谢谢!
发布于 2012-01-18 05:38:35
Maven Central不提供快照版本,只能提供已发布的版本。
您可以尝试查找快照存储库(如果存在),然后将其添加到POM的存储库部分。
发布于 2012-02-20 06:40:41
在playn-samples项目中,编辑-SNAPSHOT /pom.xml并获取tripleplay依赖项的核心rif。1.1已发布到mvn主回购。
https://stackoverflow.com/questions/8901769
复制相似问题