diff --git a/.travis.yml b/.travis.yml index d754b5b38..4957b38a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,8 @@ before_install: - mysql -e 'CREATE DATABASE cheapy;' - sudo apt-get update after_success: - - mvn test - ls - ls target - - ls target/site - - java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r target/jacoco.xml + - ls target/jacoco + - java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r target/jacoco/jacoco.xml diff --git a/pom.xml b/pom.xml index d8298785c..eacae383f 100644 --- a/pom.xml +++ b/pom.xml @@ -27,10 +27,11 @@ 2.2.4 1.8.0 - 0.7.6.201602180812 - ${project.build.directory} - ${project.build.directory} - ${jacoco.utreportpath}/jacoco.exec + 0.8.5 + ${project.build.directory}/jacoco + ${project.build.directory}/jacoco.exec + + ${project.build.directory}/jacoco ${jacoco.itreportpath}/jacoco-it.exec 0.0.4.RELEASE 0.0.25 @@ -156,59 +157,62 @@ - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - pre-unit-test - process-test-classes - - prepare-agent - - - surefireArgLine - ${jacoco.utreportfile} - true - - - - post-unit-test - test - - report - - - ${jacoco.utreportpath} - ${jacoco.utreportfile} - - - - pre-integration-test - pre-integration-test - - prepare-agent-integration - - - failsafeArgLine - ${jacoco.itreportfile} - true - - - - post-integration-test - post-integration-test - - report - - - ${jacoco.itreportpath} - ${jacoco.itreportfile} - - - - + + org.springframework.boot + spring-boot-maven-plugin + + + + + build-info + + + + ${project.build.sourceEncoding} + ${project.reporting.outputEncoding} + ${maven.compiler.source} + ${maven.compiler.target} + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + prepare-agent + + + + + report + prepare-package + + report + + + ${jacoco.utreportpath} + ${jacoco.utreportfile} + + + + test + test + + report + + + ${jacoco.utreportpath} + ${jacoco.utreportfile} + + + +