From 82a71e4b2576dd56624483f286b939dee883580b Mon Sep 17 00:00:00 2001 From: Manik Singla Date: Fri, 5 Jan 2018 16:27:19 +0530 Subject: [PATCH 1/2] upgrade dependency to get rid of non-thread safe libs --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 2714406..8d5c9b5 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,8 @@ scalastyle_2.11 - 1.1.0-SNAPSHOT - 3.0 + 1.0.0 + 3.5.2 1.5 1.5 4.11 @@ -41,7 +41,7 @@ org.apache.maven.plugin-tools maven-plugin-annotations - 3.2 + 3.5 provided @@ -53,7 +53,7 @@ org.codehaus.plexus plexus-resources - 1.0-alpha-7 + 1.1.0 From d10474f026a0844da8964c54348c60451d203fce Mon Sep 17 00:00:00 2001 From: Manik Singla Date: Fri, 5 Jan 2018 16:28:01 +0530 Subject: [PATCH 2/2] marking plugin as thread safe --- .../scalastyle/maven/plugin/ScalastyleViolationCheckMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/scalastyle/maven/plugin/ScalastyleViolationCheckMojo.java b/src/main/java/org/scalastyle/maven/plugin/ScalastyleViolationCheckMojo.java index 17d52ba..997a078 100644 --- a/src/main/java/org/scalastyle/maven/plugin/ScalastyleViolationCheckMojo.java +++ b/src/main/java/org/scalastyle/maven/plugin/ScalastyleViolationCheckMojo.java @@ -56,7 +56,7 @@ /** * Entry point for scalastyle maven plugin. */ -@Mojo(name = "check", defaultPhase = LifecyclePhase.VERIFY, requiresProject = true, requiresDependencyResolution = ResolutionScope.TEST) +@Mojo(name = "check", threadSafe = true, defaultPhase = LifecyclePhase.VERIFY, requiresProject = true, requiresDependencyResolution = ResolutionScope.TEST) public class ScalastyleViolationCheckMojo extends AbstractMojo { /**