org.jlot.maven.plugin.HelpMojo Maven / Gradle / Ivy
package org.jlot.maven.plugin;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Mojo;
/**
* Register as a jlot user
*
* All Mojos requires a maven project. Even this mojo. This is because we always
* want to be sure to have a full blown ProjectConfiguration object with baseDir
* and projectName.
*/
@Mojo(name = "help", requiresOnline = true, requiresProject = true, inheritByDefault = false, aggregator = true, requiresDirectInvocation = true)
public class HelpMojo extends AbstractMojo
{
@Override
public void execute ( ) throws MojoExecutionException, MojoFailureException
{
getLog().info("For help with this maven plugin visit https://www.jlot.org/");
}
}