0
我已經在CloudBees上有一個構建問題,我希望有人能夠提供一些解決建議。CloudBees Jenkins的工作無法解決從我的私有CloudBees依賴項Maven回購
我有兩個項目:
- 「通用」 - >三個模塊組成的Maven項目(型號,公用事業等)
- 「服務」 - >一個播放Framework應用程序依賴於前面提到的「共同」項目
我爲建設「共同」,以便部署到我的私人版本庫中配置了詹金斯的工作,我可以看到它儘可能多:
...
Deploying the main artifact models-0.0.1-SNAPSHOT.jar
Downloading: dav:https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/maven-metadata.xml
Uploading: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-20140329.091117-1.jar
Uploaded: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-20140329.091117-1.jar (12 KB at 246.0 KB/sec)
Uploading: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-20140329.091117-1.pom
Uploaded: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-20140329.091117-1.pom (428 B at 11.3 KB/sec)
Downloading: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/maven-metadata.xml
Uploading: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/maven-metadata.xml (772 B at 19.8 KB/sec)
Uploading: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/maven-metadata.xml
Uploaded: https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/maven-metadata.xml (282 B at 8.1 KB/sec)
...
我已經配置了細節和證書我的播放應用程序的build.sbt文件從這個倉庫這樣閱讀:
...
credentials += Credentials("CloudBees private Maven repos", "repository-myDomain.forge.cloudbees.com", "username", "password")
resolvers ++= Seq(
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
"CloudBees private snapshot repo" at "https://repository-myDomain.forge.cloudbees.com/snapshot/",
"CloudBees private release repo" at "https://repository-myDomain.forge.cloudbees.com/release/"
)
...
然而,當我爲我「服務」項目運行構建工作的依賴性無法找到:
...
[warn] module not found: com.myDomain#models;0.0.1-SNAPSHOT
[warn] ==== local: tried
[warn] /home/jenkins/.ivy2/local/com.myDomain/models/0.0.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-SNAPSHOT.pom
[warn] ==== Typesafe Releases Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-SNAPSHOT.pom
[warn] ==== Typesafe repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-SNAPSHOT.pom
[warn] ==== CloudBees private snapshot repo: tried
[warn] https://repository-myDomain.forge.cloudbees.com/snapshot/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-SNAPSHOT.pom
[warn] ==== CloudBees private release repo: tried
[warn] https://repository-myDomain.forge.cloudbees.com/release/com/myDomain/models/0.0.1-SNAPSHOT/models-0.0.1-SNAPSHOT.pom
...
我已經安裝我的CloudBees的WebDAV的快照和發佈回購協議,我可以看到我的「常用」模塊那裏......雖然後綴時間戳或建立信息。
任何人都可以發現我忽視的東西嗎?或者我對這個設置的理解是不準確的?任何幫助將不勝感激!