2013-03-10 3 views
1

Я скачал источник из GitHub по этой ссылке: https://github.com/twitter/cloudhopper-smpp Однако, когда я пытаюсь построить это в Netbeans я получаю две ошибки следующим образом:Не удается построить CloudHopper (SMPP)

1) Право на старте построить в окне вывода он говорит:

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) в конце сборки окно вывода говорит:

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 

Я хотел бы быть в состоянии построить необходимую банку файлы и запускаемые демонстрации.

Любые идеи, как правильно получить это здание?

ответ

2

Удалить папку test в src/ и попробовать здание с Netbeans. Он будет компилировать банку должным образом.

+1

Большое спасибо, что сработало. +1 :) – user1746582

0

Вы должны выполнить проект, используя maven, чтобы получить файл jar.

This is the link for Cloudhopper-jar file

+0

спасибо за ссылку. У меня есть все файлы jar. хотя я тоже хотел получить исходное здание на местном уровне. Как я могу решить проблему выше? Как выполнить проект с помощью maven? это решит мою проблему выше? – user1746582

Смежные вопросы