Usergrid构建错误

时间:2015-12-15 22:16:54

标签: usergrid mbaas

当我尝试构建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

任何解决方案?!?

1 个答案:

答案 0 :(得分:5)

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

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