[英]Artifactory cannot resolve plugin artifact without version
I have an artifactory repository which works great except for resolving org.apache.maven.plugins artifacts. 我有一个工件存储库,除了解决org.apache.maven.plugins工件外,它的工作原理非常好。 Whenever I try to compile a NetBeans project it keeps giving this exception for all of the maven plugins used in my project.
每当我尝试编译NetBeans项目时,它都会为我的项目中使用的所有Maven插件始终给出此异常。
Error resolving version for plugin 'org.apache.maven.plugins:maven-install-plugin' from the repositories [local (C:\Users\Developer\.m2\repository), central (http://my.example.com/artifactory/plugins-release), snapshots (http://my.example.com/artifactory/plugins-release)]: Plugin not found in any plugin repository
I assume it is because NetBeans does not specify a version of these plugins because it will always try to use the latest. 我认为这是因为NetBeans不会指定这些插件的版本,因为它将始终尝试使用最新的插件。 How can I get my Artifactory to resolve these artifacts?
我怎样才能让我的人工工厂解决这些假象?
It might be necessary to expose a Maven index 可能有必要公开Maven索引
https://www.jfrog.com/confluence/display/RTF/Exposing+Maven+Indexes https://www.jfrog.com/confluence/display/RTF/Exposed+Maven+Indexes
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.