Skip to content

Commit 80176ca

Browse files
committed
Replace Javadoc descriptor with annotation
This changes is required due the bump of pom-scijava in the previous commit.
1 parent 5b3d205 commit 80176ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/scijava/maven/plugin/VerifyNoSnapshotsMojo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
import org.apache.maven.plugin.AbstractMojo;
4040
import org.apache.maven.plugin.MojoExecutionException;
4141
import org.apache.maven.plugin.MojoFailureException;
42+
import org.apache.maven.plugins.annotations.LifecyclePhase;
43+
import org.apache.maven.plugins.annotations.Mojo;
4244
import org.apache.maven.project.MavenProject;
4345
import org.apache.maven.project.MavenProjectBuilder;
4446
import org.apache.maven.project.ProjectBuildingException;
@@ -57,10 +59,8 @@
5759
* are specified.</li>
5860
* </ul>
5961
* </p>
60-
*
61-
* @goal verify-no-snapshots
62-
* @phase validate
6362
*/
63+
@Mojo(name = "verify-no-snapshots", defaultPhase = LifecyclePhase.VALIDATE)
6464
public class VerifyNoSnapshotsMojo extends AbstractMojo {
6565

6666
// -- Parameters --

0 commit comments

Comments
 (0)