zoukankan      html  css  js  c++  java
  • maven自建仓库 Return code : 405

       maven自建仓库jar包上传:

       jar包上传可以采用在自建仓库上系统上传以及通过配置maven setting.xml以及pom.xml上传。

       maven通过配置上传需要用户名密码以及maven仓库位置配置。

       遇到的一些问题记录如下

       其中Return code : 405为路径配置错误,maven路径包含两部分一部分是下边url

      <distributionManagement>
      <repository>
      <id>snapshots</id>
      <name>libs-snapshots</name>
      <url>http://artifactory.test-develop.com/libs-snapshots</url>
      </repository>
      </distributionManagement> 

      以及使用的时候下边groupId、artifactId、version

      <dependency>
      <groupId>com.test</groupId>
      <artifactId>findgoods-common</artifactId>
      <version>1.0.0-SNAPSHOT</version>
      </dependency>

      最终在maven自建仓库的位置应该可以找到

      http://artifactory.test-develop.com/libs-snapshots/com/test/findgoods-common/1.0.0-SNAPSHOT/

      发生405问题如上述解决就可以

      其他问题可以参考

      http://maishj.iteye.com/blog/2153092

     
  • 相关阅读:
    CacheHelper
    自动完成 或者动态匹配
    http://www.jb51.net/article/28619.htm
    http://www.kindsoft.net/docs/qna.html
    开发测试的理想模型
    关于浮点数的死区问题
    ZOJ Problem Set – 2321 Filling Out the Team
    Input类、四元数、
    忙蒙蔽了
    2014-03-28
  • 原文地址:https://www.cnblogs.com/freedommovie/p/5645704.html
Copyright © 2011-2022 走看看