org.jfrog.maven.annomojo.annotations.MojoRequiresDependencyResolution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-plugin-anno Show documentation
Show all versions of maven-plugin-anno Show documentation
Maven Anno Mojo module with all the JDK 1.5 annotations needed when writing maven plugin classes (Mojo).
Every maven plugins using Anno Mojo should be directly or transitively dependant on this POM.
package org.jfrog.maven.annomojo.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Flags this Mojo as requiring the dependencies in the specified scope
* (or an implied scope) to be resolved before it can execute.
* NOTE: Currently supports compile, runtime, and test scopes.
*/
@MojoAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface MojoRequiresDependencyResolution {
String value() default "runtime";
}