프로젝트에 mvn clean verify
을 실행하는 Jenkins 작업이 있습니다. 그러나 Shrinkwrap 분석기로 해결할 수없는 2 가지 종속성으로 인해 일부 통합 테스트가 실패합니다.Shrinkwrap이 존재하더라도 로컬 저장소에서 종속성을로드하지 않습니다.
젠킨스 서버와 슬레이브는 중앙 저장소에 대한 액세스를 허용하지 않는 내부 네트워크에 있습니다. 하지만 필요한 모든 패키지가 포함 된 Nexus 저장소가 있습니다.
Jenkins 작업을 실행하면 UNSTABLE 및 두 가지 통합 테스트에 실패합니다. 두 메시지는 다음과 같습니다 : 실패 다운로드 COM/fasterxml/잭슨/데이터 형식 :
년 11 월 17, 2017 오후 1시 2분 25초 org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener는 WARNUNG을 transferFailed /jackson-datatype-jsr310/2.7.4/jackson-datatype-jsr310-2.7.4.pom from https://repo.maven.apache.org/maven2/. 이유 : org.eclipse.aether.transfer.ArtifactTransferException : artifact com.fasterxml.jackson.datatype을 전송할 수 없습니다. jackson-datatype-jsr310 : pom : 2.7.4 from/to central (https://repo.maven.apache.org/maven2) : 오류 전송 파일 : repo. maven.apache.org 2017 년 11 월 17 일 1:02:25 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed WARNUNG : com/fasterxml/jackson/datatype/jackson-datatype-jsr310을 다운로드하지 못했습니다. /2.7.4/jackson-datatype-jsr310-2.7.4.pom에서 http://repo1.maven.org/maven2/. 이유 : org.eclipse.aether.transfer.ArtifactTransferException : artifact com.fasterxml.jackson.datatype을 전송할 수 없습니다. jackson-datatype-jsr310 : pom : 2.7.4 from/to central (http://repo1.maven.org/maven2) : 오류 전송 파일 : repo1. maven.org
이 문제를 해결하기 위해 빌드 전 단계를 추가하여 이슈를 다운로드했습니다.
는 유물 com.fasterxml.jackson.datatype 해결 : 잭슨 - 데이터 타입-jsr310 : 치어를 : 2.7.4 해결 유물 com.fasterxml.jackson.datatype 잭슨 데이터 유형을 로그는 유물이 다운로드 된 것을 보여 -jsr310 : pom : 2.7.4 from central (, 릴리스 + 스냅 샷)
또한 수동으로 체크인했습니다. pom 파일은 로컬 저장소에 있습니다.
분명 로컬 저장소에있는 이슈를 해결할 수없는 이유는 무엇입니까?