Skip to content

Commit e0ddef1

Browse files
authored
Update pom.xml
1 parent 5dc1673 commit e0ddef1

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

pom.xml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,23 @@
1212
<artifactId>demo</artifactId>
1313
<version>0.0.1-SNAPSHOT</version>
1414
<name>demo</name>
15-
<description>Demo project for Spring Boot</description>
15+
<description>Binpipe - Demo Project for Spring Boot</description>
1616

1717
<properties>
1818
<java.version>1.8</java.version>
1919
</properties>
2020

2121
<dependencies>
22+
23+
24+
<!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
25+
<dependency>
26+
<groupId>org.sonarsource.scanner.maven</groupId>
27+
<artifactId>sonar-maven-plugin</artifactId>
28+
<version>3.2</version>
29+
</dependency>
30+
<!-- sonar block ends -->
31+
2232
<dependency>
2333
<groupId>org.springframework.boot</groupId>
2434
<artifactId>spring-boot-starter</artifactId>
@@ -36,7 +46,23 @@
3646
</exclusions>
3747
</dependency>
3848
</dependencies>
39-
49+
<!-- Profile added for Sonar -->
50+
<profiles>
51+
<profile>
52+
<id>sonar</id>
53+
<activation>
54+
<activeByDefault>true</activeByDefault>
55+
</activation>
56+
<properties>
57+
<!-- Optional URL to server. Default value is http://localhost:9000 -->
58+
<sonar.host.url>
59+
http://192.168.0.155:9000
60+
</sonar.host.url>
61+
</properties>
62+
</profile>
63+
</profiles>
64+
<!-- Profile ends for Sonar -->
65+
4066
<build>
4167
<plugins>
4268
<plugin>

0 commit comments

Comments
 (0)