2
보안 된 artifactory에서 종속성을 다운로드해야하는 sbt 프로젝트를 만듭니다.sbt 프로젝트의 보안 된 artifactory에서 종속성 다운로드
name := "mts-hook"
version := "1.0"
scalaVersion := "2.12.1"
resolvers ++= Seq("MTS Repository" at "https://ccpdev.net/artifactory/libs-release")
credentials += Credentials(new File(".credentials"))
libraryDependencies ++= Seq("ccp.mts" % "mts-server-websocket_2.12" % "0.8.0")
그리고 아래처럼 클래스 경로에있는 .credentials 파일에 자격 증명을 추가 한 :
realm=Artifactory Realm
host=https://ccpdev.net/artifactory/libs-release
user=xxxxx
password=xxxxx
아래 그림처럼 그래서 build.sbt의 라이브러리 의존성 섹션에서 리졸버 및 종속성에 artifactory URL을 추가 한 아직도 내가
같은 문제에 직면하고있다UNRESOLVED DEPENDENCIES
내가 어디로 잘못 가고 있는지 알 수 없습니다.
그게 도움이되었습니다, 그것은 스냅 샷으로되어있었습니다. 감사 ! – Jet