forked from qf-devops/maven-spring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.xml
36 lines (34 loc) · 1.11 KB
/
settings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
~/.m2/settings.xml
<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">
<servers>
<server>
<id>spring-releases</id>
<username>spring-user</username>
<password>spring123</password>
</server>
<server>
<id>spring-snapshots</id>
<username>spring-user</username>
<password>spring123</password>
</server>
</servers>
<profiles>
<profile>
<id>sonar</id>
<properties>
<!--sonar.jdbc.url>jdbc:mysql://localhost:3306/sonar</sonar.jdbc.url>
<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
<sonar.jdbc.username>sonar</sonar.jdbc.username>
<sonar.jdbc.password>xxxxx</sonar.jdbc.password-->
<!-- SERVER ON A REMOTE HOST -->
<sonar.host.url>http://localhost:9000</sonar.host.url>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>sonar</activeProfile>
</activeProfiles>
</settings>