1<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> 3 <servers> 4 <server> 5 <id>sonatype-nexus-snapshots</id> 6 <username>${env.SONATYPE_USERNAME}</username> 7 <password>${env.SONATYPE_PASSWORD}</password> 8 </server> 9 </servers> 10 <profiles> 11 <profile> 12 <id>SonarCloud</id> 13 <properties> 14 <sonar.host.url>https://sonarcloud.io/</sonar.host.url> 15 <sonar.organization>default</sonar.organization> 16 <sonar.login>${env.SONARQUBE_TOKEN}</sonar.login> 17 </properties> 18 </profile> 19 </profiles> 20 <activeProfiles> 21 <activeProfile>SonarCloud</activeProfile> 22 </activeProfiles> 23</settings> 24