Commit a7755a2e authored by Josh Steinberg's avatar Josh Steinberg

edit pom for deprecated plugin

parent 7570b0da
...@@ -62,47 +62,53 @@ ...@@ -62,47 +62,53 @@
<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> </plugins>
<groupId>org.apache.maven.plugins</groupId> <pluginManagement>
<artifactId>maven-surefire-plugin</artifactId> <plugins>
<version>3.0.0-M7</version> <plugin>
</plugin> --> <groupId>org.codehaus.mojo</groupId>
<!-- <plugin> --> <artifactId>sonar-maven-plugin</artifactId>
<!-- Build an executable JAR --> <version>3.4.0.905</version>
<!-- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.0.0-M3</version> <version>3.8.1</version>
</plugin> --> </plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.7.0.1746</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>coverage</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<configuration>
<skip>${maven.test.skip}</skip>
<destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile>
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>
<output>file</output>
<append>true</append>
<excludes>
<exclude>*MethodAccess</exclude>
</excludes>
</configuration>
<executions> <executions>
<execution> <execution>
<id>jacoco-initialize</id> <id>prepare-agent</id>
<goals> <goals>
<goal>prepare-agent</goal> <goal>prepare-agent</goal>
</goals> </goals>
<phase>test-compile</phase>
</execution> </execution>
<execution> <execution>
<id>jacoco-site</id> <id>report</id>
<phase>verify</phase>
<goals> <goals>
<goal>report</goal> <goal>report</goal>
</goals> </goals>
...@@ -110,20 +116,7 @@ ...@@ -110,20 +116,7 @@
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.4.0.905</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
</profile>
</project> </project>
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