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

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

      <tfoot id='tIX5i'></tfoot>
      • <bdo id='tIX5i'></bdo><ul id='tIX5i'></ul>

      1. <legend id='tIX5i'><style id='tIX5i'><dir id='tIX5i'><q id='tIX5i'></q></dir></style></legend>
      2. 使用 mvn sonar:sonar 运行声纳分析会忽略 sonar-project.properties

        Running sonar analysis with mvn sonar:sonar ignores sonar-project.properties(使用 mvn sonar:sonar 运行声纳分析会忽略 sonar-project.properties)
        <i id='dPbri'><tr id='dPbri'><dt id='dPbri'><q id='dPbri'><span id='dPbri'><b id='dPbri'><form id='dPbri'><ins id='dPbri'></ins><ul id='dPbri'></ul><sub id='dPbri'></sub></form><legend id='dPbri'></legend><bdo id='dPbri'><pre id='dPbri'><center id='dPbri'></center></pre></bdo></b><th id='dPbri'></th></span></q></dt></tr></i><div id='dPbri'><tfoot id='dPbri'></tfoot><dl id='dPbri'><fieldset id='dPbri'></fieldset></dl></div>

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

          <tfoot id='dPbri'></tfoot>

          1. <legend id='dPbri'><style id='dPbri'><dir id='dPbri'><q id='dPbri'></q></dir></style></legend>
                <bdo id='dPbri'></bdo><ul id='dPbri'></ul>
                    <tbody id='dPbri'></tbody>
                • 本文介绍了使用 mvn sonar:sonar 运行声纳分析会忽略 sonar-project.properties的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  最新的 3.3 sonar-maven-plugin 和 5.6 LTS 作为网络服务器.
                  使用 mvn sonar:sonar 运行声纳分析(Maven 扫描仪)
                  忽略 sonar-project.properties 文件.(有许多参数 https://docs.sonarqube.org/display/SONAR/Analysis+Parameters)

                  Latest 3.3 sonar-maven-plugin and 5.6 LTS as web server.
                  Running sonar analysis with mvn sonar:sonar ( Scanner for Maven )
                  ignores sonar-project.properties file. (with many parameters https://docs.sonarqube.org/display/SONAR/Analysis+Parameters)

                  这是预期的行为吗?
                  那么我必须在 pom.xml 文件中配置所有声纳参数吗?

                  Is it that the expected behavior?
                  So do I have to configure all sonar parameters within pom.xml files?

                  推荐答案

                  另一种方法是通过 Maven 属性插件

                  问答

                     <build>    
                      <plugins>
                        <plugin>
                          <groupId>org.codehaus.mojo</groupId>
                          <artifactId>properties-maven-plugin</artifactId>
                          <version>1.0.0</version>
                          <executions>
                            <execution>
                              <phase>initialize</phase>
                              <goals>
                                <goal>read-project-properties</goal>
                              </goals>
                              <configuration>
                                <files>
                                  <file>sonar-project.properties</file>
                                </files>
                              </configuration>
                            </execution>
                          </executions>
                        </plugin>
                      </plugins>
                  

                  这篇关于使用 mvn sonar:sonar 运行声纳分析会忽略 sonar-project.properties的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  • <tfoot id='MMK9g'></tfoot>
                      <tbody id='MMK9g'></tbody>
                  • <i id='MMK9g'><tr id='MMK9g'><dt id='MMK9g'><q id='MMK9g'><span id='MMK9g'><b id='MMK9g'><form id='MMK9g'><ins id='MMK9g'></ins><ul id='MMK9g'></ul><sub id='MMK9g'></sub></form><legend id='MMK9g'></legend><bdo id='MMK9g'><pre id='MMK9g'><center id='MMK9g'></center></pre></bdo></b><th id='MMK9g'></th></span></q></dt></tr></i><div id='MMK9g'><tfoot id='MMK9g'></tfoot><dl id='MMK9g'><fieldset id='MMK9g'></fieldset></dl></div>
                      • <bdo id='MMK9g'></bdo><ul id='MMK9g'></ul>

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

                            <legend id='MMK9g'><style id='MMK9g'><dir id='MMK9g'><q id='MMK9g'></q></dir></style></legend>