Skip to content

Commit

Permalink
Removed requiresDependencyResolution (#449)
Browse files Browse the repository at this point in the history
Not required.

Bug fix: resolves #444
  • Loading branch information
freemanjp committed Mar 6, 2022
1 parent 590b0a6 commit 1c2dcf6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ import java.nio.charset.StandardCharsets.UTF_8
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annotations.Parameter
import org.apache.maven.plugins.annotations.ResolutionScope

/**
* Checks for violations of the code style.
*/
@Mojo(
name = "check",
defaultPhase = LifecyclePhase.VERIFY,
requiresDependencyResolution = ResolutionScope.TEST,
requiresDependencyCollection = ResolutionScope.TEST,
requiresProject = true,
threadSafe = true
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ import java.nio.charset.StandardCharsets.UTF_8
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annotations.Parameter
import org.apache.maven.plugins.annotations.ResolutionScope

/**
* Automatically fixes violations of the code style (when possible).
*/
@Mojo(
name = "format",
defaultPhase = LifecyclePhase.PROCESS_SOURCES,
requiresDependencyResolution = ResolutionScope.TEST,
requiresDependencyCollection = ResolutionScope.TEST,
requiresProject = true,
threadSafe = true
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import java.util.ResourceBundle
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annotations.Parameter
import org.apache.maven.plugins.annotations.ResolutionScope
import org.apache.maven.reporting.AbstractMavenReport

/**
Expand All @@ -46,8 +45,6 @@ import org.apache.maven.reporting.AbstractMavenReport
@Mojo(
name = "ktlint",
defaultPhase = LifecyclePhase.VERIFY,
requiresDependencyResolution = ResolutionScope.TEST,
requiresDependencyCollection = ResolutionScope.TEST,
requiresProject = true,
threadSafe = true
)
Expand Down

0 comments on commit 1c2dcf6

Please sign in to comment.