Skip to content

Commit

Permalink
Update sonar-project.properties
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Schmitz <[email protected]>
  • Loading branch information
jschm42 authored Jun 20, 2024
1 parent 5afa06b commit c8bc0ed
Showing 1 changed file with 47 additions and 16 deletions.
63 changes: 47 additions & 16 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,50 @@
# Must be unique in a given SonarQube instance
sonar.projectKey=TalkforgeAI

# This is the name and version displayed in the SonarQube UI.
# Was mandatory prior to SonarQube 6.1.
sonar.projectName=TalkforgeAI
sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file.
# Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
#sonar.sources=src

# Encoding of the source code. Default is default system encoding
# Required project identification
sonar.projectKey=com.talkforgeai:talkforgeai
sonar.projectName=TalkForgeAI

# Comma-separated paths to directories containing source files
sonar.sources=backend/src/main/java,service/src/main/java,app/src/main/java

# Comma-separated paths to directories containing test source files
sonar.tests=backend/src/test/java,service/src/test/java,app/src/test/java

# Encoding of the source code
sonar.sourceEncoding=UTF-8

sonar.java.binaries=.
sonar.java.libraries=target
# Language
sonar.language=java

# Maven settings
sonar.java.binaries=backend/target/classes,service/target/classes,app/target/classes

# Paths to test binary files
sonar.junit.reportPaths=backend/target/test-classes,service/target/test-classes,app/target/test-classes

# Project modules
sonar.modules=frontend,backend,service,app

# Specific configurations for modules
frontend.sonar.projectBaseDir=frontend
frontend.sonar.sources=src

backend.sonar.projectBaseDir=backend
backend.sonar.sources=src/main/java
backend.sonar.tests=src/test/java
backend.sonar.java.binaries=target/classes
backend.sonar.junit.reportPaths=target/test-classes

service.sonar.projectBaseDir=service
service.sonar.sources=src/main/java
service.sonar.tests=src/test/java
service.sonar.java.binaries=target/classes
service.sonar.junit.reportPaths=target/test-classes

app.sonar.projectBaseDir=app
app.sonar.sources=src/main/java
app.sonar.tests=src/test/java
app.sonar.java.binaries=target/classes
app.sonar.junit.reportPaths=target/test-classes

# Additional properties if needed
sonar.exclusions=**/*.xml
sonar.coverage.exclusions=**/src/main/java/**/config/**

0 comments on commit c8bc0ed

Please sign in to comment.