• <i id='fDt4v'><tr id='fDt4v'><dt id='fDt4v'><q id='fDt4v'><span id='fDt4v'><b id='fDt4v'><form id='fDt4v'><ins id='fDt4v'></ins><ul id='fDt4v'></ul><sub id='fDt4v'></sub></form><legend id='fDt4v'></legend><bdo id='fDt4v'><pre id='fDt4v'><center id='fDt4v'></center></pre></bdo></b><th id='fDt4v'></th></span></q></dt></tr></i><div id='fDt4v'><tfoot id='fDt4v'></tfoot><dl id='fDt4v'><fieldset id='fDt4v'></fieldset></dl></div>

  • <small id='fDt4v'></small><noframes id='fDt4v'>

    • <bdo id='fDt4v'></bdo><ul id='fDt4v'></ul>
      <legend id='fDt4v'><style id='fDt4v'><dir id='fDt4v'><q id='fDt4v'></q></dir></style></legend><tfoot id='fDt4v'></tfoot>

      1. 本地分析所需的声纳版本 3.6

        时间:2024-05-10
      2. <legend id='thaeq'><style id='thaeq'><dir id='thaeq'><q id='thaeq'></q></dir></style></legend>
          <tbody id='thaeq'></tbody>

          <tfoot id='thaeq'></tfoot>

              • <bdo id='thaeq'></bdo><ul id='thaeq'></ul>

              • <i id='thaeq'><tr id='thaeq'><dt id='thaeq'><q id='thaeq'><span id='thaeq'><b id='thaeq'><form id='thaeq'><ins id='thaeq'></ins><ul id='thaeq'></ul><sub id='thaeq'></sub></form><legend id='thaeq'></legend><bdo id='thaeq'><pre id='thaeq'><center id='thaeq'></center></pre></bdo></b><th id='thaeq'></th></span></q></dt></tr></i><div id='thaeq'><tfoot id='thaeq'></tfoot><dl id='thaeq'><fieldset id='thaeq'></fieldset></dl></div>
                • <small id='thaeq'></small><noframes id='thaeq'>

                • 本文介绍了本地分析所需的声纳版本 3.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  遇到Sonar version 3.6 is required to perform local analysis"消息当尝试在 Eclipse 中使用声纳局部分析时.

                  Coming across "Sonar version 3.6 is required to perform local analysis" message when try to use Sonar Local Analysis in eclipse.

                  我刚刚从 CodeHaus

                  兼容性矩阵说它是 3.6+.

                  where the Compatibility Matrix is saying it 3.6+.

                  我正在使用 Eclipse:Juno 4.2,安装了以下插件:

                  I am using Eclipse: Juno 4.2, with following plugins installed:

                  1. Sonar Java Analyzer 3.2.0.20130627-1142-RELEASE org.sonar.ide.eclipse.jdt.feature.feature.group SonarSource

                  1. Sonar Java Analyser 3.2.0.20130627-1142-RELEASE org.sonar.ide.eclipse.jdt.feature.feature.group SonarSource

                  Sonar m2e 连接器 3.2.0.20130627-1142-RELEASE org.sonar.ide.eclipse.m2e.feature.feature.group SonarSource

                  Sonar m2e Connector 3.2.0.20130627-1142-RELEASE org.sonar.ide.eclipse.m2e.feature.feature.group SonarSource

                  有什么想法吗?

                  推荐答案

                  你在运行 sonarqube 服务器吗?

                  Are you running a sonarqube server?

                  我不认为你可以在没有服务器运行连接的情况下使用插件来进行分析.

                  I don't think you can use the plugin without the server running to connect to to do the analysis.

                  http://docs.sonarqube.org/display/SONAR/SonarQube+在+Eclipse中

                  出于您正在查看的目的,我假设个人使用,您可能会使用 H2 嵌入式数据库来摆脱 SonarQube 的独立实例.

                  For the purposes you are looking at, I am assuming personal use, you could probably get away with the standalone instance of SonarQube, using the H2 embedded database.

                  局部分析参数

                  可以在不同的地方设置配置本地分析的参数.这是参数的层次结构:

                  Parameters to configure local analysis can be set in various places. Here is the hierarchy of parameters:

                  • SonarQube Web UI 中定义的参数

                  • Parameters defined in the SonarQube Web UI

                  在 pom.xml 文件中设置的参数(仅适用于 Maven 项目,带有m2e 连接器已安装)将覆盖 UI 中定义的参数

                  Parameters set in the pom.xml file (for Maven projects only, with the m2e connector installed) will override parameters defined in the UI

                  在 Eclipse 中定义的参数将覆盖在 Eclipse 中定义的参数pom 文件(转到 Window > Preferences > Sonar > Local analysis属性)

                  Parameters defined in Eclipse will override parameters defined in the pom file (go to Window > Preferences > Sonar > Local analysis properties)

                  在 Eclipse 中在项目级别定义的参数将覆盖在 Eclipse 级别定义的参数(右键单击项目并转到属性>声纳>局部分析属性)

                  Parameters defined at project level in Eclipse will override parameters defined at Eclipse level (right click on the project and go to Properties > Sonar > Local analysis properties)

                  排除插件

                  借助 sonar.dryRun.excludePlugins 属性(设置 > 配置 > 常规设置 > 常规),可以在执行本地分析时跳过某些插件(对本地分析无用).

                  Some plugins (useless for a local analysis) can be skipped while performing a local analysis thanks to the sonar.dryRun.excludePlugins property (Settings > Configuration > General Settings > General).

                  默认值为devcockpit,pdfreport,report,scmactivity,views".例如,跳过 Build Stability 插件(由于 https://jira.codehaus.org/browse/SONARIDE-346),将属性设置为 'devcockpit,pdfreport,report,scmactivity,views,buildstability'.

                  The default value is 'devcockpit,pdfreport,report,scmactivity,views'. For example, to skip the Build Stability plugin (due to https://jira.codehaus.org/browse/SONARIDE-346), set the property to 'devcockpit,pdfreport,report,scmactivity,views,buildstability'.

                  我在这里找到了这些信息:正在运行Eclipse 中的声纳 Qube

                  Here is where I found this information: Running Sonar Qube In Eclipse

                  仔细检查您的设置

                  您可能还需要仔细检查您的设置.该插件将为您安装声纳实例以在 localhost:9000 上进行本地分析.如果您删除了它,这可能会给您带来错误.您应该在配置页面上列出 2 个服务器、localhost 和您的远程服务器

                  You might also want to double check your settings. The plugin will install the sonar instance for you for local analysis on localhost:9000. If you deleted this, this might be giving you the errors. You should have 2 servers listed on the config page, localhost, and your remote server

                  也请参阅此页面:使用 Eclipse 配置声纳

                  这篇关于本地分析所需的声纳版本 3.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:声纳错误条件不应无条件地评估为“真".或“错误"; 下一篇:Sonar 报告的线路和分支覆盖率与 Idea、Eclipse、Maven 和 Jenkins 不同

                  相关文章

                • <i id='tcgJv'><tr id='tcgJv'><dt id='tcgJv'><q id='tcgJv'><span id='tcgJv'><b id='tcgJv'><form id='tcgJv'><ins id='tcgJv'></ins><ul id='tcgJv'></ul><sub id='tcgJv'></sub></form><legend id='tcgJv'></legend><bdo id='tcgJv'><pre id='tcgJv'><center id='tcgJv'></center></pre></bdo></b><th id='tcgJv'></th></span></q></dt></tr></i><div id='tcgJv'><tfoot id='tcgJv'></tfoot><dl id='tcgJv'><fieldset id='tcgJv'></fieldset></dl></div>
                • <legend id='tcgJv'><style id='tcgJv'><dir id='tcgJv'><q id='tcgJv'></q></dir></style></legend>

                  <tfoot id='tcgJv'></tfoot>
                    <bdo id='tcgJv'></bdo><ul id='tcgJv'></ul>

                    <small id='tcgJv'></small><noframes id='tcgJv'>