package com.github.chrisprice.phonegapbuild.plugin;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

public class BuildMojo extends AbstractMojo {

  /**
   * Says "Hi" to the user.
   * 
   * @goal sayhi
   */
  public void execute() throws MojoExecutionException, MojoFailureException {
    getLog().info("Hello, world.");
  }

}

package com.github.chrisprice.phonegapbuild.plugin;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 * Says "Hi" to the user.
 * 
 * @goal sayhi
 */
public class BuildMojo extends AbstractMojo {
  public void execute() throws MojoExecutionException, MojoFailureException {
    getLog().info("Hello, world.");
  }

}

fix goal annotation