From 4abbbbee43d99a1444d8051d1e44b92fb2c23707 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 3 Mar 2017 14:50:34 -0600 Subject: [PATCH] Removed references to cobertura since it isn't currently supported by SonarQube 6.2. Replaced with references to JaCoCo. Moved certain properties into the POM file since they were not being picked up correctly from the properties file. Made the project multi-language rather than just Java. Need to update the lab instructions to bring in the CSS plugins, etc. --- pom.xml | 72 +++++++++++++++++++++++----------------- sonar-project.properties | 8 +---- 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index c150524fb..20f18f087 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,6 @@ petclinic - 1.8 UTF-8 @@ -30,8 +29,15 @@ 3.0.2.RELEASE 2.0.4 + + + + http://sonarqube.kcura.corp/ + pom.xml + src/main + target/coverage-reports/jacoco-unit.exec - + + --> ro.isdc.wro4j @@ -279,23 +306,6 @@ - - - - - - - org.codehaus.mojo - cobertura-maven-plugin - ${cobertura.version} - - - html - - - - - - + diff --git a/sonar-project.properties b/sonar-project.properties index 6485f0875..fb1c2cbf5 100755 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,11 +3,5 @@ sonar.projectKey=spring-petclinic sonar.projectName=Spring Pet Clinic sonar.projectVersion=1.4.2 -# Comma-separated paths to directories with sources (required) -sonar.sources=src - -# Language -sonar.language=java - # Encoding of the source files -sonar.sourceEncoding=UTF-8 \ No newline at end of file +sonar.sourceEncoding=UTF-8