/*****************************************************************/ /* Copyright 2009 avajava.com */ /* This code may be freely used and distributed in any project. */ /* However, please do not remove this credit if you publish this */ /* code in paper or electronic form, such as on a web site. */ /*****************************************************************/ package com.maventest; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; /** * This goal will say a message. * * @goal howdy-world */ public class HowdyMojo extends AbstractMojo { public void execute() throws MojoExecutionException { getLog().info("Hi there!!!"); } }