`
crabdave
  • 浏览: 1276071 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Nexus can't find artifact that is in Maven Central(SNAPSHOT)

 
阅读更多

Nexus can't find artifact that is in Maven Central(SNAPSHOT)

 

 

        因为使用的是SNAPSHOT 所以需要将打开自动下载profile,这样对于新产生的SNAPSHOT版本,maven会自动下载,就不会出现SNAPSHOT不能自动下载的问题了。

 

        <snapshots><enabled>true</enabled></snapshots> 

 

<settings>
  <mirrors>
    <mirror>
      <!--This sends everything else to /public -->
      <id>nexus</id>
      <mirrorOf>*</mirrorOf>
      <url>http://THE_URL:8080/nexus/content/groups/public</url>
    </mirror>
  </mirrors>
  <servers>
    <server>
      <id>admin</id>
      <username>user</username>
      <password>password</password>
    </server>
  </servers>
  <profiles>
    <profile>
      <id>nexus</id>
      <!--Enable snapshots for the built in central repo to direct -->
      <!--all requests to nexus via the mirror -->
      <repositories>

        <repository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>

      </repositories>
     <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <!--make the profile active all the time -->
    <activeProfile>nexus</activeProfile>
  </activeProfiles>

</settings>

 

参考:

http://stackoverflow.com/questions/17389085/nexus-could-not-find-artifact

分享到:
评论

相关推荐

    maven-badges:Maven Central的徽章

    Maven项目的徽章过时的我们已经将该项目迁移到NodeJS,您可以找到新版本。...用法https://maven-badges.herokuapp.com/maven-central/{group_id}/{artifact_id}/badge.(svg|png)?style={style}例如: [![Maven Cent

    ojdbc6-11.2.0.1.0 .zip

    ojdbc6-11.2.0.1.0 解决问题: Could not find artifact com.oracle:ojdbc6:pom:11.2.0.1.0

    maven-artifact-3.3.9.jar

    maven-artifact-3.3.9.jar包,项目编译缺少这个包,一直拉不下来,好不容易搞到它,留作备用

    maven-artifact-transfer-0.10.0.jar

    maven-artifact-transfer-0.10.0.jar

    Android代码-dbf

    Maven artifact is available from maven central repository. Just add dependency in your pom.xml: org.jamel.dbf dbf-reader 0.0.3 Supported fields types DBF field type Returned as character ...

    maven nexus 安装包.rar

    Nexus是一个强大的Maven仓库管理器,它极大地简化了自己内部仓库的维护和外部仓库的访问。利用Nexus你可以只在一个地方就能够完全控制访问 和部署在你所维护仓库中的每个Artifact。Nexus是一套“开箱即用”的系统不...

    ojdbc6-11.2.0.1.0jar,oracle连接

    ojdbc6-11.2.0.1.0jar,oracle连接ojdbc6-11.2.0.1.0jar

    kafka-schema-registry-client-6.2.2.jar

    Could not resolve dependencies for project org.apache.flink:flink-avro-confluent-registry:jar:1.15.3: Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.2.2 in maven 安装本地...

    apache-maven-3.5.3

    apache-maven-3.5.3 apache-maven-3.5.3 apache-maven-3.5.3

    解决maven仓库没有oracle jdbc驱动的问题

    解决maven官方库中没有oracle jdbc驱动的问题 刚研究maven不久,遇到一个比较头疼的问题,在工程里怎么下都下载不了oracle的jdbc驱动。 刚还以为是网络问题,重新下载了很多次,都提示maven库里找不到相关jar文件。...

    maven-scm-provider-gitexe-1.9.1.jar

    java运行依赖jar包

    Nexus 是Maven仓库管理器

    Nexus 是Maven仓库管理器,如果你使用Maven,你可以从Maven中央仓库 下载所需要的构件(artifact),但这通常不是一个好的做法,你应该在本地架设一个Maven仓库服务器,在代理远程仓库的同时维护本地仓库,以节省...

    maven-artifact-2.0.jar

    maven构建的项目转eclipse项目时,需要的包。

    maven-artifact-manager-2.0.jar

    maven项目转换为eclipse项目所需要的包。

    windows和linux下Maven私服nexus-3.27.0-03搭建

    Nexus 是Maven仓库管理器,如果你使用Maven,你可以从Maven中央仓库 下载所需要的构件(artifact),但这通常不是一个好的做法,你应该在本地架设一个Maven仓库服务器,在代理远程仓库的同时维护本地仓库,以节省...

    maven-artifact-manager-2.0.2.jar

    java运行依赖jar包

    pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar.zip

    解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in xxx的问题,maven路径org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho...

    artifactor-maven-plugin:artifactor-maven-插件

    Artifactor Maven 插件概述该插件的想法是基于客户的联系,该客户有非常特殊的要求。 该插件将分析React器构建顺序,并将创建一个文件夹结构,其中包含来自React器内的一个或多个工件,它们的依赖关系的正确顺序。 ...

    maven 手动导入qrcode.jar包.zip

    maven工程下qrcode jar包下载失败,提供两个qrcode.jar QRCode_swetake-3.0.0.jar 包,cmd命令行安装方法,maven手动添加jar包 qrcode.jar QRCode_swetake-3.0.0.jar

    maven-artifact-3.0.jar

    Maven神器 org.apache.maven/maven-artifact/3.0/maven-artifact-3.0.jar

Global site tag (gtag.js) - Google Analytics