diff --git a/pom.xml b/pom.xml index 9e2d2838..8e22f7de 100755 --- a/pom.xml +++ b/pom.xml @@ -80,7 +80,7 @@ org.jacoco jacoco-maven-plugin - 0.8.3 + 0.8.5 pre-unit-test diff --git a/sonar-dependency-check-plugin/pom.xml b/sonar-dependency-check-plugin/pom.xml index 3cbbffa2..868b6f47 100755 --- a/sonar-dependency-check-plugin/pom.xml +++ b/sonar-dependency-check-plugin/pom.xml @@ -20,12 +20,12 @@ - 7.6 + 7.9.3.33150 org.sonar.dependencycheck.DependencyCheckPlugin Dependency-Check dependencycheck - 5.5.2 + 5.6.2 2.10.3 @@ -39,7 +39,7 @@ org.apache.commons commons-lang3 - 3.8.1 + 3.10 com.fasterxml.jackson.core @@ -54,8 +54,8 @@ com.github.spotbugs spotbugs-annotations - 3.1.8 - provided + 4.0.5 + true @@ -80,7 +80,7 @@ org.mockito mockito-core - 2.27.0 + 3.3.0 test diff --git a/sonar-dependency-check-plugin/src/test/java/org/sonar/dependencycheck/DependencyCheckPluginTest.java b/sonar-dependency-check-plugin/src/test/java/org/sonar/dependencycheck/DependencyCheckPluginTest.java index 5b10bcb6..9ba483aa 100755 --- a/sonar-dependency-check-plugin/src/test/java/org/sonar/dependencycheck/DependencyCheckPluginTest.java +++ b/sonar-dependency-check-plugin/src/test/java/org/sonar/dependencycheck/DependencyCheckPluginTest.java @@ -23,6 +23,7 @@ import org.junit.jupiter.api.Test; import org.sonar.api.Plugin; +import org.sonar.api.SonarEdition; import org.sonar.api.SonarQubeSide; import org.sonar.api.SonarRuntime; import org.sonar.api.internal.PluginContextImpl; @@ -33,7 +34,8 @@ public class DependencyCheckPluginTest { @Test public void testExtensions() { - SonarRuntime runtime = SonarRuntimeImpl.forSonarQube(Version.create(7, 6), SonarQubeSide.SCANNER); + SonarRuntime runtime = SonarRuntimeImpl.forSonarQube(Version.create(7, 9), SonarQubeSide.SCANNER, + SonarEdition.COMMUNITY); Plugin.Context context = new PluginContextImpl.Builder().setSonarRuntime(runtime).build(); DependencyCheckPlugin plugin = new DependencyCheckPlugin(); plugin.define(context);