com.atlassian.maven.plugins.refapp.RefappDebugMojo Maven / Gradle / Ivy
The newest version!
package com.atlassian.maven.plugins.refapp;
import com.atlassian.maven.plugins.amps.DebugMojo;
import com.atlassian.maven.plugins.amps.product.ProductHandlerFactory;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.ResolutionScope;
/**
* Debug the webapp
*/
@Mojo(name = "debug", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class RefappDebugMojo extends DebugMojo
{
@Override
protected String getDefaultProductId() throws MojoExecutionException {
return ProductHandlerFactory.REFAPP;
}
}