From 1d066df8a3449bf0a7ec9b8f6b6936cb68ee9ea9 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 29 Mar 2017 13:25:32 -0500 Subject: [PATCH] Updated POM to include additional properties. Removed references to cobertura since it isn't supported by SonarQube 6.x. Added new properties to support the checking of branches. --- pom.xml | 106 +++++++++++++++++++-------------------- sonar-project.properties | 7 --- 2 files changed, 52 insertions(+), 61 deletions(-) delete mode 100755 sonar-project.properties diff --git a/pom.xml b/pom.xml index 20f18f087..9c08847d6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,13 +6,13 @@ org.springframework.samples spring-petclinic 1.4.2 + Spring Pet Clinic org.springframework.boot spring-boot-starter-parent 1.4.2.RELEASE - petclinic @@ -29,15 +29,11 @@ 3.0.2.RELEASE 2.0.4 - - - http://sonarqube.kcura.corp/ - pom.xml - src/main - target/coverage-reports/jacoco-unit.exec + target/surefire-reports + master + src/main/java,src/main/less,src/main/resources,src/main/wro + UTF-8 + + scm:git:https://github.com/Blackhound/spring-petclinic + scm:git:https://github.com/Blackhound/spring-petclinic + https://localhost:8080 + + org.springframework.boot spring-boot-starter-actuator - org.springframework.boot spring-boot-starter-cache - org.springframework.boot spring-boot-starter-data-jpa - org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-starter-thymeleaf - org.codehaus.groovy - groovy + org.codehaus.groovy + groovy - org.springframework.boot spring-boot-starter-test @@ -105,7 +102,6 @@ hsqldb runtime - mysql mysql-connector-java @@ -117,7 +113,6 @@ javax.cache cache-api - org.ehcache ehcache @@ -128,19 +123,16 @@ org.webjars webjars-locator - org.webjars jquery ${webjars-jquery.version} - org.webjars jquery-ui ${webjars-jquery-ui.version} - org.webjars bootstrap @@ -162,22 +154,21 @@ - org.codehaus.groovy - groovy-all - 2.4.7 - test - - - - org.sonarsource.java - sonar-jacoco-listeners - 3.8 + org.codehaus.groovy + groovy-all + 2.4.7 test - + + + org.apache.maven.plugins + maven-scm-plugin + 1.9.5 + + org.springframework.boot spring-boot-maven-plugin @@ -201,28 +192,15 @@ - org.jacoco - jacoco-maven-plugin - 0.7.9 + org.apache.maven.plugins + maven-surefire-plugin - ${basedir}/target/coverage-reports/jacoco-unit.exec - ${basedir}/target/coverage-reports/jacoco-unit.exec + random - - - jacoco-initialize - - prepare-agent - - - - - - - pl.project13.maven git-commit-id-plugin @@ -241,7 +219,6 @@ ${project.basedir}/.git - --> ro.isdc.wro4j @@ -306,6 +283,27 @@ - + + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + jacoco-initialize + + prepare-agent + + + + jacoco-site + package + + report + + + + + diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100755 index fb1c2cbf5..000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,7 +0,0 @@ -# Required metadata -sonar.projectKey=spring-petclinic -sonar.projectName=Spring Pet Clinic -sonar.projectVersion=1.4.2 - -# Encoding of the source files -sonar.sourceEncoding=UTF-8