首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用tripleplay和react快照时出现maven错误

使用tripleplay和react快照时出现maven错误
EN

Stack Overflow用户
提问于 2012-01-18 05:09:55
回答 2查看 437关注 0票数 0

我从tripleplay和react分别从1.0和1.1切换到1.1-SNAPSHOT和1.2-SNAPSHOT,以便能够使用git的最新代码(如AbsoluteLayout)。

现在,当我尝试使用以下命令为HTML5打包游戏时

mvn clean package

我得到了:

代码语言:javascript
复制
[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版本

谢谢!

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-01-18 05:38:35

Maven Central不提供快照版本,只能提供已发布的版本。

您可以尝试查找快照存储库(如果存在),然后将其添加到POM的存储库部分。

票数 1
EN

Stack Overflow用户

发布于 2012-02-20 06:40:41

在playn-samples项目中,编辑-SNAPSHOT /pom.xml并获取tripleplay依赖项的核心rif。1.1已发布到mvn主回购。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8901769

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档