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项目的徽章过时的我们已经将该项目迁移到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 解决问题: Could not find artifact com.oracle:ojdbc6:pom:11.2.0.1.0
maven-artifact-3.3.9.jar包,项目编译缺少这个包,一直拉不下来,好不容易搞到它,留作备用
maven-artifact-transfer-0.10.0.jar
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 ...
Nexus是一个强大的Maven仓库管理器,它极大地简化了自己内部仓库的维护和外部仓库的访问。利用Nexus你可以只在一个地方就能够完全控制访问 和部署在你所维护仓库中的每个Artifact。Nexus是一套“开箱即用”的系统不...
ojdbc6-11.2.0.1.0jar,oracle连接ojdbc6-11.2.0.1.0jar
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
解决maven官方库中没有oracle jdbc驱动的问题 刚研究maven不久,遇到一个比较头疼的问题,在工程里怎么下都下载不了oracle的jdbc驱动。 刚还以为是网络问题,重新下载了很多次,都提示maven库里找不到相关jar文件。...
java运行依赖jar包
Nexus 是Maven仓库管理器,如果你使用Maven,你可以从Maven中央仓库 下载所需要的构件(artifact),但这通常不是一个好的做法,你应该在本地架设一个Maven仓库服务器,在代理远程仓库的同时维护本地仓库,以节省...
maven构建的项目转eclipse项目时,需要的包。
maven项目转换为eclipse项目所需要的包。
Nexus 是Maven仓库管理器,如果你使用Maven,你可以从Maven中央仓库 下载所需要的构件(artifact),但这通常不是一个好的做法,你应该在本地架设一个Maven仓库服务器,在代理远程仓库的同时维护本地仓库,以节省...
java运行依赖jar包
解决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 插件概述该插件的想法是基于客户的联系,该客户有非常特殊的要求。 该插件将分析React器构建顺序,并将创建一个文件夹结构,其中包含来自React器内的一个或多个工件,它们的依赖关系的正确顺序。 ...
maven工程下qrcode jar包下载失败,提供两个qrcode.jar QRCode_swetake-3.0.0.jar 包,cmd命令行安装方法,maven手动添加jar包 qrcode.jar QRCode_swetake-3.0.0.jar
Maven神器 org.apache.maven/maven-artifact/3.0/maven-artifact-3.0.jar