maven解决了“ SNAPSHOT”问题

杰恩

我有一个teamcity项目,该项目已将SNAPSHOT工件成功部署到我们的工件实例。我似乎无法让专家把这些工件拉下来。我可以在带有时间戳而不是SNAPSHOT的人工产品中看到它们,但是我似乎无法使Maven使用时间戳来请求它们。我真的不知道我应该去哪里。我注意到,teamcity上载的工件没有,maven-metadata.xml而其他手动上载的工件则有maven-metadata.xml.pom有关系吗

我已经尝试了多次删除~/.m2/repository,所以这不是缓存问题。

这是来自的片段~/.m2/settings.xml

    <repository>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>snapshots</id>
      <name>libs-snapshot</name>
      <url>http://host:port/artifactory/libs-snapshot</url>
    </repository>

我也曾尝试libs-snapshot-local<snapshots />

EDIT1:我尝试过-U

EDIT2:行家说,它试图下载maven-metadata.xml,然后artifactId-version-SNAPSHOT.pomartifactId-version-SNAPSHOT-classifier.jar

EDIT3:人工痕迹:

Request ID: d888c3d2
Repo Path ID: libs-snapshot:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
Method Name: GET
User: jayen
Time: 2014-01-08T08:37:30.642+11:00
Thread: http-bio-8180-exec-3311
Steps: 
2014-01-08T08:37:30.642+11:00 Received request
2014-01-08T08:37:30.642+11:00 Request source = 192.168.16.146, Last modified = 01-01-70 09:59:59 EST, If modified since = -1, Thread name = http-bio-8180-exec-3311
2014-01-08T08:37:30.642+11:00 Retrieving info
2014-01-08T08:37:30.642+11:00 Consulting the virtual repo download strategy
2014-01-08T08:37:30.642+11:00 Trying to retrieve resource info from the local storage
2014-01-08T08:37:30.643+11:00 Unable to find resource in libs-snapshot:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
2014-01-08T08:37:30.643+11:00 Searching for info in aggregated repositories
2014-01-08T08:37:30.643+11:00 Preparing list of aggregated repositories to search in
2014-01-08T08:37:30.643+11:00 Appending the virtual repository 'libs-snapshot'
2014-01-08T08:37:30.643+11:00 Appending the virtual repository 'libs-snapshot'
2014-01-08T08:37:30.643+11:00 Appending the virtual repository 'libs-snapshot'
2014-01-08T08:37:30.644+11:00 Appending collective local repositories
2014-01-08T08:37:30.644+11:00 Appending collective local cache repositories
2014-01-08T08:37:30.644+11:00 Appending collective remote repositories
2014-01-08T08:37:30.644+11:00 Intercepting info request with 'PomInterceptor'
2014-01-08T08:37:30.644+11:00 Intercepting info request with 'MavenMetadataInterceptor'
2014-01-08T08:37:30.644+11:00 Processing request as a snapshot resource (Module info validity = false, Module info identified as integration = false, Path identified as Maven snapshot = true)
2014-01-08T08:37:30.644+11:00 Searching for the resource within libs-snapshot-local
2014-01-08T08:37:30.644+11:00 Resource was found in the local repo 'libs-snapshot-local' = false, Repo is remote and doesn't sync properties = false
2014-01-08T08:37:30.645+11:00 Unable to find resource in libs-snapshot-local:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
2014-01-08T08:37:30.645+11:00 Searching for the resource within ext-snapshot-local
2014-01-08T08:37:30.645+11:00 Resource was found in the local repo 'ext-snapshot-local' = false, Repo is remote and doesn't sync properties = false
2014-01-08T08:37:30.646+11:00 Unable to find resource in ext-snapshot-local:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
2014-01-08T08:37:30.646+11:00 Searching for the resource within jcenter-cache
2014-01-08T08:37:30.646+11:00 jcenter-cache doesn't handle snapshot resources
2014-01-08T08:37:30.646+11:00 Skipping jcenter-cache
2014-01-08T08:37:30.646+11:00 Searching for the resource within codehaus-cache
2014-01-08T08:37:30.646+11:00 codehaus-cache doesn't handle snapshot resources
2014-01-08T08:37:30.646+11:00 Skipping codehaus-cache
2014-01-08T08:37:30.646+11:00 Searching for the resource within jboss-cache
2014-01-08T08:37:30.646+11:00 jboss-cache doesn't handle snapshot resources
2014-01-08T08:37:30.646+11:00 Skipping jboss-cache
2014-01-08T08:37:30.646+11:00 Searching for the resource within java.net.m2-cache
2014-01-08T08:37:30.646+11:00 Resource was found in the local repo 'java.net.m2-cache' = false, Repo is remote and doesn't sync properties = false
2014-01-08T08:37:30.647+11:00 Unable to find resource in java.net.m2-cache:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
2014-01-08T08:37:30.647+11:00 Searching for the resource within java.net.m1-cache
2014-01-08T08:37:30.647+11:00 Resource was found in the local repo 'java.net.m1-cache' = false, Repo is remote and doesn't sync properties = false
2014-01-08T08:37:30.648+11:00 Unable to find resource in java.net.m1-cache:orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar
2014-01-08T08:37:30.648+11:00 Searching for the resource within repo1-cache
2014-01-08T08:37:30.648+11:00 repo1-cache doesn't handle snapshot resources
2014-01-08T08:37:30.648+11:00 Skipping repo1-cache
2014-01-08T08:37:30.648+11:00 Searching for the resource within jfrog-libs-cache
2014-01-08T08:37:30.648+11:00 jfrog-libs-cache doesn't handle snapshot resources
2014-01-08T08:37:30.648+11:00 Skipping jfrog-libs-cache
2014-01-08T08:37:30.648+11:00 Searching for the resource within jfrog-plugins-cache
2014-01-08T08:37:30.648+11:00 jfrog-plugins-cache doesn't handle snapshot resources
2014-01-08T08:37:30.648+11:00 Skipping jfrog-plugins-cache
2014-01-08T08:37:30.648+11:00 Searching for the resource within spring-milestone-cache
2014-01-08T08:37:30.648+11:00 spring-milestone-cache doesn't handle snapshot resources
2014-01-08T08:37:30.648+11:00 Skipping spring-milestone-cache
2014-01-08T08:37:30.648+11:00 Searching for the resource within spring-release-cache
2014-01-08T08:37:30.649+11:00 spring-release-cache doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping spring-release-cache
2014-01-08T08:37:30.649+11:00 Searching for the resource within google-code-cache
2014-01-08T08:37:30.649+11:00 google-code-cache doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping google-code-cache
2014-01-08T08:37:30.649+11:00 Searching for the resource within gradle-libs-cache
2014-01-08T08:37:30.649+11:00 gradle-libs-cache doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping gradle-libs-cache
2014-01-08T08:37:30.649+11:00 Searching for the resource within gradle-plugins-cache
2014-01-08T08:37:30.649+11:00 gradle-plugins-cache doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping gradle-plugins-cache
2014-01-08T08:37:30.649+11:00 Searching for the resource within jcenter
2014-01-08T08:37:30.649+11:00 jcenter doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping jcenter
2014-01-08T08:37:30.649+11:00 Searching for the resource within codehaus
2014-01-08T08:37:30.649+11:00 codehaus doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping codehaus
2014-01-08T08:37:30.649+11:00 Searching for the resource within jboss
2014-01-08T08:37:30.649+11:00 jboss doesn't handle snapshot resources
2014-01-08T08:37:30.649+11:00 Skipping jboss
2014-01-08T08:37:30.649+11:00 Searching for the resource within java.net.m2
2014-01-08T08:37:30.649+11:00 Resource was found in the local repo 'java.net.m2' = false, Repo is remote and doesn't sync properties = true
2014-01-08T08:37:30.651+11:00 Searching for the resource within java.net.m1
2014-01-08T08:37:30.651+11:00 Resource was found in the local repo 'java.net.m1' = false, Repo is remote and doesn't sync properties = true
2014-01-08T08:37:30.653+11:00 Searching for the resource within repo1
2014-01-08T08:37:30.653+11:00 repo1 doesn't handle snapshot resources
2014-01-08T08:37:30.653+11:00 Skipping repo1
2014-01-08T08:37:30.653+11:00 Searching for the resource within jfrog-libs
2014-01-08T08:37:30.653+11:00 jfrog-libs doesn't handle snapshot resources
2014-01-08T08:37:30.653+11:00 Skipping jfrog-libs
2014-01-08T08:37:30.653+11:00 Searching for the resource within jfrog-plugins
2014-01-08T08:37:30.653+11:00 jfrog-plugins doesn't handle snapshot resources
2014-01-08T08:37:30.653+11:00 Skipping jfrog-plugins
2014-01-08T08:37:30.653+11:00 Searching for the resource within spring-milestone
2014-01-08T08:37:30.654+11:00 spring-milestone doesn't handle snapshot resources
2014-01-08T08:37:30.654+11:00 Skipping spring-milestone
2014-01-08T08:37:30.654+11:00 Searching for the resource within spring-release
2014-01-08T08:37:30.654+11:00 spring-release doesn't handle snapshot resources
2014-01-08T08:37:30.655+11:00 Skipping spring-release
2014-01-08T08:37:30.655+11:00 Searching for the resource within google-code
2014-01-08T08:37:30.655+11:00 google-code doesn't handle snapshot resources
2014-01-08T08:37:30.655+11:00 Skipping google-code
2014-01-08T08:37:30.655+11:00 Searching for the resource within gradle-libs
2014-01-08T08:37:30.655+11:00 gradle-libs doesn't handle snapshot resources
2014-01-08T08:37:30.655+11:00 Skipping gradle-libs
2014-01-08T08:37:30.655+11:00 Searching for the resource within gradle-plugins
2014-01-08T08:37:30.655+11:00 gradle-plugins doesn't handle snapshot resources
2014-01-08T08:37:30.655+11:00 Skipping gradle-plugins
2014-01-08T08:37:30.655+11:00 Returning an unfound resource
2014-01-08T08:37:30.655+11:00 Requested resource is found = false
2014-01-08T08:37:30.655+11:00 Request is HEAD = false
2014-01-08T08:37:30.655+11:00 Request is for a checksum = false
2014-01-08T08:37:30.655+11:00 Target repository is not remote or doesn't store locally = true
2014-01-08T08:37:30.655+11:00 Requested resource was not modified = false
2014-01-08T08:37:30.656+11:00 Responding with unfound resource
2014-01-08T08:37:30.656+11:00 Setting default response status to '404' reason to 'Resource not found'
2014-01-08T08:37:30.656+11:00 Response is an instance of UnfoundRepoResourceReason
2014-01-08T08:37:30.656+11:00 Configured to hide un-authorized resources = false
2014-01-08T08:37:30.656+11:00 Original response status is auth related = false
2014-01-08T08:37:30.656+11:00 Using original response status of '404' and message 'Artifact not found: orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar'
2014-01-08T08:37:30.656+11:00 Sending error with status 404 and message 'Artifact not found: orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar'
2014-01-08T08:37:30.657+11:00 Executing any AfterDownloadErrorAction user plugins that may exist
2014-01-08T08:37:30.657+11:00 Response code wasn't modified by the user plugins
2014-01-08T08:37:30.657+11:00 Sending response with the status '404' and the message 'Artifact not found: orgPath/artifactId/version-SNAPSHOT/artifactId-version-SNAPSHOT-classifier.jar'
2014-01-08T08:37:30.657+11:00 Request failed with no exception
杰恩

该Artifactory的TeamCity的插件需要被告知上传.pom.jar

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

maven在工件中解决“ SNAPSHOT”

来自分类Dev

如何在Maven中解决依赖问题

来自分类Dev

如何解决Maven测试问题?

来自分类Dev

Gradle:基于Maven本地或远程存储库中的最新版本来解决SNAPSHOT依赖性

来自分类Dev

Gradle:根据Maven本地或远程存储库中的最新版本来解决SNAPSHOT依赖性

来自分类Dev

如何解决Maven依赖项的问题“无法在项目上执行目标”

来自分类Dev

从IntelliJ调用Maven时,如何解决缺少的“ javadoc”命令问题?

来自分类Dev

如何解决Maven-jetty插件每分钟重新启动Servlet的问题?

来自分类Dev

如何解决这个Maven多模块依赖问题?安装后未从本地M2导入

来自分类Dev

解决与Maven的库冲突

来自分类Dev

引用已解决的问题

来自分类Dev

解决静态方法问题

来自分类Dev

解决Python中的问题

来自分类Dev

快速解决TableviewCell问题

来自分类Dev

无法解决电网问题

来自分类Dev

解决静态方法问题

来自分类Dev

解决SSH连接问题

来自分类Dev

解决方向更改问题

来自分类Dev

Angular解决范围问题

来自分类Dev

解决CTRL + S问题

来自分类Dev

解决布局中的问题

来自分类Dev

请解决这个问题

来自分类Dev

无法解决的htaccess问题

来自分类Dev

CSS 问题待解决

来自分类Dev

解决浮点舍入问题

来自分类Dev

Maven:解决重复的依赖项

来自分类Dev

Maven无法解决自愿依赖

来自分类Dev

Maven无法解决依赖关系

来自分类Dev

用WindowFunction解决问题的问题