[ https://issues.apache.org/jira/browse/MPLUGIN-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851035#comment-17851035 ]
ASF GitHub Bot commented on MPLUGIN-508: ---------------------------------------- gnodet commented on code in PR #286: URL: https://github.com/apache/maven-plugin-tools/pull/286#discussion_r1622214652 ########## maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java: ########## @@ -18,47 +18,15 @@ */ package org.apache.maven.plugin.coreit; -import java.io.File; - import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugins.annotations.Mojo; /** * Touches a test file. - * - * @goal first - * @requiresDependencyResolution test - * @phase integration-test - * @execute phase="generate-sources" lifecycle="cobertura" - * @deprecated Don't use! - * @since 1.2 */ +@Mojo(name = "test") public class FirstMojo extends AbstractMojo { Review Comment: Those mojos are just built and used to verify a few specific things depending on each test. The annotations are usually not used or tested. > Upgrade to Maven 4.x > -------------------- > > Key: MPLUGIN-508 > URL: https://issues.apache.org/jira/browse/MPLUGIN-508 > Project: Maven Plugin Tools > Issue Type: New Feature > Affects Versions: 3.12.0 > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Priority: Major > Fix For: 4.0.0 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)