在pom.xml上,我正在使用自定义存储库。.maven在maven存储库上找到了我的自定义jar文件

时间:2019-02-24 14:15:21

标签: maven jenkins

我正在开发Maven项目。 而且我使用jenkins进行自动构建。

此自动构建向我显示:

[ERROR] Failed to execute goal on project myproject: Could not resolve dependencies for project net.company:myproject:war:1.0.0: Failure to find customLibrary:mycustomlib:jar in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of mvn2 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.

是的,使用自定义存储库和库。

因此,我在jenkins工作区目录上设置了自定义库路径。

错误消息:

mvn is finding your custom library on Maven repository

0 个答案:

没有答案