【问题标题】:Usergrid Build Error用户网格构建错误
【发布时间】:2016-03-21 21:47:15
【问题描述】:

当我尝试构建 Usergrid 时,我遇到了以下错误。

[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.752 s
[INFO] Finished at: 2015-12-16T01:02:23+03:30
[INFO] Final Memory: 20M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project usergrid-rest: Could not resolve depen
dencies for project org.apache.usergrid:usergrid-rest:war:2.1.1-SNAPSHOT: Failur
e to find org.apache.usergrid:usergrid-java-client:jar:0.0.10-SNAPSHOT in file:/
/C:\usergrid-master\stack\rest/../m2/repository was cached in the local reposito
ry, resolution will not be reattempted until the update interval of local-depend
encies 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 swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

C:\usergrid-master\stack>mvn clean install -rf :usergrid-rest

任何解决方案?!?

【问题讨论】:

    标签: usergrid mbaas


    【解决方案1】:

    您需要先构建sdks/java 才能构建stack

    cd C:\usergrid\sdks\java
    mvn install
    cd ..\..\stack
    mvn install -DskipTests=true
    

    【讨论】:

    • 该目录中不再有 POM 文件。 README.md 文件指出:Java SDK 代码已移至其自己的存储库中,可在 github.com/apache/usergrid-java 找到。
    • 好的,我遇到了同样的问题。所以我将github.com/apache/usergrid-java 复制到 \usergrid\sdks\java 并按照您的说明进行操作。现在我得到` [INFO] BUILD FAILURE [ERROR] Failed to execute goal on project awscluster: Could not resolve dependencies for project org.apache.usergrid:awscluster:jar:1.0-SNAPSHOT: Could not find artifact org.apache.usergrid: usergrid-rest:war:2.1.1-SNAPSHOT -> [帮助 1]`
    猜你喜欢
    • 1970-01-01
    • 2023-03-12
    • 2016-09-01
    • 2013-11-10
    • 1970-01-01
    • 2010-10-23
    • 1970-01-01
    • 2016-01-22
    • 1970-01-01
    相关资源
    最近更新 更多