我正在开发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