[ https://issues.apache.org/jira/browse/MPLUGIN-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850960#comment-17850960 ]
ASF GitHub Bot commented on MPLUGIN-508: ---------------------------------------- michael-o commented on code in PR #286: URL: https://github.com/apache/maven-plugin-tools/pull/286#discussion_r1621928560 ########## 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: This is now completely different, how? > 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)