com.seovic.maven.plugins.npm.PackMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of npm-maven-plugin Show documentation
Show all versions of npm-maven-plugin Show documentation
A simple Maven plugin that defines 'npm' packaging type and delegates all
phases of a default lifecycle to npm. As long as there is a script for the
lifecycle phase in package.json, it will be executed.
package com.seovic.maven.plugins.npm;
import org.apache.maven.plugins.annotations.Mojo;
/**
* An 'npm pack' mojo.
*
* @author Aleksandar Seovic 2015.09.21
*/
@Mojo(name = "pack", threadSafe = true)
public class PackMojo
extends ExecMojo
{
public PackMojo()
{
super("pack");
}
}