I have an artifactory repository which works great except for resolving org.apache.maven.plugins artifacts. Whenever I try to compile a NetBeans project it keeps giving this exception for all of the maven plugins used in my project.
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. How can I get my Artifactory to resolve these artifacts?
It might be necessary to expose a Maven index
https://www.jfrog.com/confluence/display/RTF/Exposing+Maven+Indexes
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.