Skip to content

Instantly share code, notes, and snippets.

@jcarroyo
Created July 22, 2018 17:42
Show Gist options
  • Save jcarroyo/671aeac1cb4ac01993da1a2bceddd8d0 to your computer and use it in GitHub Desktop.
Save jcarroyo/671aeac1cb4ac01993da1a2bceddd8d0 to your computer and use it in GitHub Desktop.
Configuración básica para ejecución de SonarQube en entorno local mediante token
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups>
<pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
</pluginGroups>
<servers/>
<mirrors/>
<proxies/>
<profiles>
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Optional URL to server. Default value is http://localhost:9000 -->
<sonar.host.url>http://localhost:9000</sonar.host.url>
<sonar.login>MY_TOKEN</sonar.login>
<sonar.password></sonar.password>
</properties>
</profile>
</profiles>
<activeProfiles/>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment