【发布时间】:2015-04-13 03:26:13
【问题描述】:
这是 ivy.xml
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
<info organisation="com.ste" module="mod"/>
<configurations>
<conf name="binaries" description="binary jars"/>
</configurations>
<dependencies>
<dependency org="org.testng" name="testng" rev="6.8.5" conf="binaries->default"/>
<dependency org="org.seleniumhq.selenium" name="selenium-java" rev="2.38.0" conf="binaries->default"/>
<dependency org="org.json" name="json" rev="20080701" conf="binaries->default"/>
<dependency org="commons-jxpath" name="commons-jxpath" rev="1.3" conf="binaries->default"/>
</dependencies>
</ivy-module>
出现以下错误
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: org.testng#testng;6.8.5
[ivy:retrieve] :::: ERRORS
[ivy:retrieve] Server access error at url https://repo1.maven.org/maven2/org/te
stng/testng/6.8.5/testng-6.8.5.pom (javax.net.ssl.SSLHandshakeException: sun.sec
urity.validator.ValidatorException: PKIX path building failed: sun.security.prov
ider.certpath.SunCertPathBuilderException: unable to find valid certification pa
th to requested target)
BUILD FAILED
D:\code\testcases\StudioVoxAnt\build.xml:13: impossible to resolve dependencies:
请让我现在做错的地方 提前致谢
我已经创建了 lib 文件夹和 build.xml 文件和 ivy。
【问题讨论】:
-
built.xml 包含
标签: xml selenium ant testng ivy