Skip to content

Commit

Permalink
Revert "fixing build warnings : using annotation rather than javadoc …
Browse files Browse the repository at this point in the history
…to configure the plugin"

This reverts commit 89c2de1.
  • Loading branch information
Vincent Fuchs committed Feb 6, 2024
1 parent 3d4b528 commit 731fbc3
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import org.apache.maven.artifact.DependencyResolutionRequiredException;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoFailureException;
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;
Expand All @@ -26,10 +25,13 @@
import static java.net.URLClassLoader.newInstance;
import static java.util.Collections.emptyList;

@Mojo(name = "arch-test",
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME,
defaultPhase = LifecyclePhase.PROCESS_CLASSES,
configurator = "include-project-dependencies")
/**
* @goal generate
* @phase process-classes
* @configurator include-project-dependencies
* @requiresDependencyResolution compile+runtime
*/
@Mojo(name = "arch-test", requiresDependencyResolution = ResolutionScope.TEST)
public class ArchUnitMojo extends AbstractMojo {
/**
* Skips all processing performed by this plugin.
Expand Down

0 comments on commit 731fbc3

Please sign in to comment.