无法在项目上执行目标:无法解决项目的依赖关系com.xyz:performance-test:jar:1.0 -SNAPSHOT

时间:2017-11-09 19:27:15

标签: java maven jenkins gatling

我正在尝试执行一个带有maven的Java主类的Jenkins作业。我正在执行mvn clean包只是为了获取jar。然后,

exec:java -Dexec.mainClass="com.XYZ.MainHandler"

但是这给了我以下错误:

[ERROR] Failed to execute goal on project performance-test: Could not resolve dependencies for project com.XYZ:performance-test:jar:1.0-SNAPSHOT: Failed to collect dependencies at io.gatling:gatling-core:jar:2.2.5 -> io.advantageous.boon:boon-json:jar:0.6.6 -> io.advantageous.boon:boon-reflekt:jar:0.6.6 -> org.slf4j:slf4j-api:jar:1.7.2.redhat-2: Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1.7.2.redhat-2: Failure to find org.slf4j:slf4j-parent:pom:1.7.2.redhat-2 in https://xyzaf.com/artifactory/libs-release was cached in the local repository, resolution will not be reattempted until the update interval of libs-release 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 switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

0 个答案:

没有答案