搭建新的nexus上传jar包

No plugin found for prefix 'deploy' in the current project and in the plugin groups [org.sonarsource.scanner.maven, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/wang/Documents/branch/test/m2), nexus(http://192.168.170.12:8081/ne... -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'deploy' in the current project and in the plugin groups [org.sonarsource.scanner.maven, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/wang/Documents/branch/test/m2), nexus (http://192.168.170.12:8081/ne...

在上传的过程当中,会在/Users/wang/Documents/branch/test/m2路径下去生成/Users/wang/Documents/branch/wxq/m2/org/apache/maven/plugins/maven-deploy-plugin/2.7 这又是为什么?而且2.7里面是lastUpdated文件,确实私服上面中央仓库当中没有2.7版本的plugin,可是我是在哪里指定了呢?

clipboard.png

阅读 6.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题