声纳 3.5.1,杰金斯声纳插件 2.1。插件安装在 Jenkins 中。我添加了带有声纳和默认设置的构建后操作。我在构建时遇到了这个错误。
我不知道该怎么办。我必须修改 pom.xml 吗?
[ERROR] No plugin found for prefix 'sonar' in the current project and in the plugin
groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
[local (/export/home/tpbuild/.m2/repository), central (http://repo.maven.apache.org
/maven2)] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for
prefix 'sonar' in the current project and in the plugin groups [org.apache.maven.plugins,
org.codehaus.mojo] available from the repositories [local (/export/home/tpbuild
/.m2/repository), central (http://repo.maven.apache.org/maven2)]