运行CONNECT验证套件时出错

时间:2015-04-08 19:32:02

标签: maven glassfish

不太确定这是否是提出这个问题的正确位置。

我从github下载了CONNECT代码并尝试构建它。

我已成功完成此链接中提供的先决条件 - https://connectopensource.atlassian.net/wiki/display/CONNECT4/Building+CONNECT+4.4+from+Source

然后我尝试了mvn clean install或者mvn clean install -Dmaven.test.skip = true并得到了错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (setup-selfsigned-certs) on project ValidationSuite: 
An Ant BuildException has occured: Warning: Could not find file /Users/XXX/projects/originalConnect/CONNECT/Product/SoapUI_Test/ValidationSuite/target/test-classes/chaincerts/gateway.jks to copy. 

然后我运行了这个命令(从github上的自述文件中获取)

mvn -e verify -Dstandalone -Dproperties.dir = / Users / XXX / Downloads / glassfish4 / glassfish / domains / domain1 / config

得到了这个错误

[ERROR] Failed to execute goal com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.5.1.2:test-verify (test-verify) on project ValidationSuite: SoapUI Test(s) failed: see logs and/or check the printReport (if necessary, set the option to true) -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:4.5.1.2:test-verify (test-verify) on project ValidationSuite: SoapUI Test(s) failed: see logs and/or check the printReport 

我正在构建CONNECT 4.4.1,我的操作系统是Mac OS X 10.10.2

如果有人请我指出正确的方向,我将感激不尽。感谢

1 个答案:

答案 0 :(得分:0)

现在已经解决了。

问题是我一直在使用glassfish4。事实证明,Connect 4.4.1与glassfish4不兼容。将其切换为glassfish 3解决了这个问题。