admin管理员组文章数量:1612060
问题描述:
我的外部本地包,需要打包到我的maven库里。然后报错如下:
No plugin found for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\my\.m2\repo), nexus (http://g.lordar:8081/nexus/content/groups/public/), lordar (http://g.lordar:8081/nexus/content/groups/public/)] -> [Help 1]
[ERROR]
问题解决:
这是之前的 配置信息:
<mirrors>
<!-- 阿里云镜像 -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun/nexus/content/repositories/central/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<!-- maven官方镜像 -->
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name </name>
<url>http://repo1.maven/maven2/</url>
</mirror>
<!-- 又一个镜像 -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://central.maven/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
只留下阿里云镜像:
<!-- 阿里云镜像 -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun/nexus/content/repositories/central/</url>
<mirrorOf>central</mirrorOf>
</mirror>
问题解决!!!
本文标签: 解决方案prefixPlugininstallProject
版权声明:本文标题:No plugin found for prefix ‘install‘ in the current project解决方案 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728627136a1166636.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论