1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.tools.plugin.extractor.annotations;
20
21 import org.apache.maven.plugin.AbstractMojo;
22 import org.apache.maven.plugin.MojoExecutionException;
23 import org.apache.maven.plugin.MojoFailureException;
24 import org.apache.maven.plugins.annotations.Mojo;
25 import org.apache.maven.plugins.annotations.Parameter;
26
27 @Deprecated
28 @Mojo(name = "deprecated-mojo")
29 public class DeprecatedMojo extends AbstractMojo {
30 @Deprecated
31 @Parameter(alias = "deprecatedParametersAlias")
32 private String deprecatedParameters;
33
34 @Parameter(property = "property.anotherNotDeprecated")
35 private String anotherNotDeprecated;
36
37 @Override
38 public void execute() throws MojoExecutionException, MojoFailureException {}
39 }