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 { /**