From fe886edeef4cff5499729d9bcb77256946e5f0ff Mon Sep 17 00:00:00 2001 From: hzzhangyongxiang Date: Tue, 11 Apr 2023 19:39:18 +0800 Subject: [PATCH] fix #26 Change requiresDependencyResolution to NONE --- .../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 1a7dac0..8ee7a60 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", defaultPhase = LifecyclePhase.VERIFY, requiresProject = true, requiresDependencyResolution = ResolutionScope.NONE) public class ScalastyleViolationCheckMojo extends AbstractMojo { /**