maven-plugin-plugin/src/it/java-basic-annotations-jdk8/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java [44:85]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@Mojo(
        name = "first",
        requiresDependencyResolution = ResolutionScope.TEST,
        defaultPhase = LifecyclePhase.INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.GENERATE_SOURCES, lifecycle = "cobertura")
public class FirstMojo extends AbstractMojo {

    /**
     * Project directory.
     */
    @Parameter(defaultValue = "${basedir}", readonly = true)
    private File basedir;

    @Parameter(property = "first.touchFile", defaultValue = "${project.build.directory}/touch.txt", required = true)
    private File touchFile;

    /**
     * @since 0.1
     * @deprecated As of 0.2
     */
    @Parameter(name = "namedParam", alias = "alias")
    private String aliasedParam;

    @Component(role = MavenProjectHelper.class, hint = "test")
    private Object projectHelper;

    @Component
    private MavenSession session;

    @Component
    private MavenProject project;

    @Component
    private MojoExecution mojo;

    @Component
    private PluginDescriptor plugin;

    @Component
    private Settings settings;

    public void execute() throws MojoExecutionException {}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java [44:85]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@Mojo(
        name = "first",
        requiresDependencyResolution = ResolutionScope.TEST,
        defaultPhase = LifecyclePhase.INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.GENERATE_SOURCES, lifecycle = "cobertura")
public class FirstMojo extends AbstractMojo {

    /**
     * Project directory.
     */
    @Parameter(defaultValue = "${basedir}", readonly = true)
    private File basedir;

    @Parameter(property = "first.touchFile", defaultValue = "${project.build.directory}/touch.txt", required = true)
    private File touchFile;

    /**
     * @since 0.1
     * @deprecated As of 0.2
     */
    @Parameter(name = "namedParam", alias = "alias")
    private String aliasedParam;

    @Component(role = MavenProjectHelper.class, hint = "test")
    private Object projectHelper;

    @Component
    private MavenSession session;

    @Component
    private MavenProject project;

    @Component
    private MojoExecution mojo;

    @Component
    private PluginDescriptor plugin;

    @Component
    private Settings settings;

    public void execute() throws MojoExecutionException {}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



