sonarqube - Sonar 4.1.1 maven plugin can't be resolved -
I am using SonarQube 4.1.1 and my pom.xml file has the following configuration:
< Pre> & lt; Plugin management & gt; & Lt; Plugins & gt; & Lt; Plugin & gt; & Lt; Group & gt; Org.codehaus.mojo & lt; / Group & gt; & Lt; ArtifactId & gt; Sonar-Maven-plugin & lt; / ArtifactId> & Lt; Version & gt; 4.1.1 & lt; / Edition & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt; & Lt; / PluginManagement & gt;
When I try to run the sonar from the command line using the maven plugin:
[error] plugin org.codehaus.mojo: sonar- Maven-plugin: None of 4.1.1 or its dependencies can be solved: failed to read the artifact descriptor for org.codehaus.mojo: sonar-meen-plugin: jar: 4.1.1: org.codehaus. Failure to find mojo: sonar-maven-plugin: palm: 4.1.1 http://repo.maven.apache.org/maven2 was cached in local repository, as long as the center The update interval is not ended or updates are forced then to leak again: & gt; [Help 1]
How does anyone know how to fix this problem? Do I need to make some configuration changes?
In fact this configuration is not required Do you try to run an analysis without it? If you do not have then you should give a try. But if you really need to emphasize the version of Sonar-Maven-Plugin, then you should set it to 2.1 on Maven 3. See for more information.
Regards
Comments
Post a Comment