Я занимаюсь разработкой проекта 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