zoukankan      html  css  js  c++  java
  • sonarqube安装

    https://www.cnblogs.com/jxd283465/p/11550291.html
    添加用户:
    groupadd sonarqube
    useradd sonarqube -g sonarqube -p sonarqube
    chown -R sonarqube /sonarqube-6.7.6 //把sonar资源分配给用户sonarqube
    chgrp -R sonarqube /sonarqube-6.7.6 //把sonar资源分配给组sonarqube
    maven插件配置:
    <pluginGroup>org.sonarsource.scanner.maven</pluginGroup>

    <profile>
      <id>sonar</id>
      <activation>
      <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
      <!-- 配置 Sonar Host地址,默认:http://localhost:9000 -->
      <sonar.host.url>
      http://********:9000
      </sonar.host.url>
      </properties>
    </profile>

    执行命令:在项目路径下执行mvn sonar:sonar



  • 相关阅读:
    04.
    24
    39
    46
    72.
    21.
    logout: not found”
    Username is not in the sudoers file. This incident will be reported
    激活函数
    排序算法
  • 原文地址:https://www.cnblogs.com/zuokun/p/13784304.html
Copyright © 2011-2022 走看看