Skip to content

Instantly share code, notes, and snippets.

@learnit-codeit
Created December 21, 2020 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save learnit-codeit/789cdf59db62a9846e55c4f1db702321 to your computer and use it in GitHub Desktop.
Save learnit-codeit/789cdf59db62a9846e55c4f1db702321 to your computer and use it in GitHub Desktop.
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
@Mojo(name = "my-sample", defaultPhase = LifecyclePhase.COMPILE)
public class MySampleMojo extends AbstractMojo {
public void execute() throws MojoExecutionException, MojoFailureException {
// TODO Auto-generated method stub
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment