首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法构建CloudHopper (SMPP)

无法构建CloudHopper (SMPP)
EN

Stack Overflow用户
提问于 2013-03-10 18:04:18
回答 2查看 908关注 0票数 2

我已经从github下载了源代码,链接是:https://github.com/twitter/cloudhopper-smpp。然而,当我尝试在Netbeans中构建它时,我得到了两个错误,如下所示:

1)在输出窗口中的构建开始时,它显示:

代码语言:javascript
复制
Scanning for projects...

Some problems were encountered while building the effective model for     com.cloudhopper:ch-smpp:jar:5.0.1-SNAPSHOT
The expression ${scm.url} is deprecated. Please use ${project.scm.url} instead.

It is highly recommended to fix these problems because they threaten the stability of     your build.

For this reason, future Maven versions might no longer support building such malformed     projects.

2)在构建结束时,输出窗口显示:

代码语言:javascript
复制
Results :

Failed tests:       serverBindToUnavailablePortThrowsException(com.cloudhopper.smpp.impl.DefaultSmppServerTest)

Tests run: 162, Failures: 1, Errors: 0, Skipped: 1

------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 27.606s
Finished at: Sun Mar 10 09:42:27 GMT 2013
Final Memory: 21M/314M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test     (default-test) on project ch-smpp: There are test failures.

Please refer to C:\XXX\XXX\XXX\XXX\CloudHopper\cloudhopper-smpp-master\cloudhopper-    smpp-master\target\surefire-reports for the individual test results.
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the     following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

我希望能够构建所需的jar文件并运行所提供的演示。

你有什么办法让这座建筑变得更好吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-04-06 05:21:22

删除src/中的test文件夹,并尝试使用Netbeans进行构建。它将正确地编译jar。

票数 2
EN

Stack Overflow用户

发布于 2013-03-21 21:45:13

您必须使用maven执行该项目才能获得jar文件。

This is the link for Cloudhopper-jar file

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

https://stackoverflow.com/questions/15321028

复制
相关文章

相似问题

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