Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-mourya authored Sep 26, 2023
1 parent d6eaabb commit 1262dc7
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# Sonar
# Sonar

================================================
Integrate Sonar server with Java Maven App
=================================================

-> Clone git repository

-> Configure Sonar Properties under <properties/> tag in "pom.xml"

<properties>
<sonar.host.url>http://15.207.221.244:9000/</sonar.host.url>
<sonar.login>admin</sonar.login>
<sonar.password>admin</sonar.password>
</properties>

-> Go to project pom.xml file location and execute below goal

$ mvn sonar:sonar

-> After build success, goto sonar dashboard and verify the results

Note: Instead of username and pwd we can configure sonar token in pom.xml

0 comments on commit 1262dc7

Please sign in to comment.