com.github.swissquote.carnotzet.maven.plugin.WelcomeMojo Maven / Gradle / Ivy
package com.github.swissquote.carnotzet.maven.plugin;
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;
import org.apache.maven.plugins.annotations.ResolutionScope;
import com.github.swissquote.carnotzet.maven.plugin.impl.Welcome;
/**
* Generate and display a welcome page
*/
@Mojo(name = "welcome", defaultPhase = LifecyclePhase.NONE, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE)
public class WelcomeMojo extends AbstractZetMojo {
@Override
public void executeInternal() throws MojoExecutionException, MojoFailureException {
Welcome.execute(getRuntime(), getCarnotzet(), getLog());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy