com.atlassian.maven.plugins.jira.JiraRunMojo Maven / Gradle / Ivy
The newest version!
package com.atlassian.maven.plugins.jira;
import com.atlassian.maven.plugins.amps.RunMojo;
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;
@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class JiraRunMojo extends RunMojo
{
@Override
protected String getDefaultProductId() throws MojoExecutionException
{
return ProductHandlerFactory.JIRA;
}
}