Commit abd8e750 authored by Josh Steinberg's avatar Josh Steinberg

update pom.xml dependencies

parent 0f105fdc
...@@ -16,24 +16,28 @@ ...@@ -16,24 +16,28 @@
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<!-- JaCoCo Properties --> <jacoco.version>0.8.3</jacoco.version>
<jacoco.version>0.8.6</jacoco.version> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> <sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath> <sonar.language>java</sonar.language>
<sonar.language>java</sonar.language>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<!-- tag::actuator[] --> <!-- tag::actuator[] -->
<dependency> <dependency>
...@@ -58,14 +62,14 @@ ...@@ -58,14 +62,14 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin> <!-- <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version> <version>3.0.0-M7</version>
</plugin> </plugin> -->
<plugin> <plugin>
<!-- Build an executable JAR --> <!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId> <!-- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version> <version>3.2.0</version>
</plugin> </plugin>
...@@ -73,27 +77,38 @@ ...@@ -73,27 +77,38 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version> <version>3.0.0-M3</version>
</plugin> </plugin> -->
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version> <version>${jacoco.version}</version>
<executions> <configuration>
<execution> <skip>${maven.test.skip}</skip>
<id>jacoco-initialize</id> <destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile>
<goals> <dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>
<goal>prepare-agent</goal> <output>file</output>
</goals> <append>true</append>
</execution> <excludes>
<execution> <exclude>*MethodAccess</exclude>
<id>jacoco-site</id> </excludes>
<phase>package</phase> </configuration>
<goals> <executions>
<goal>report</goal> <execution>
</goals> <id>jacoco-initialize</id>
</execution> <goals>
</executions> <goal>prepare-agent</goal>
</plugin> </goals>
<phase>test-compile</phase>
</execution>
<execution>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment