com.seovic.maven.plugins.npm.PublishMojo 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 publish' mojo.
*
* @author Aleksandar Seovic 2015.09.21
*/
@Mojo(name = "publish", threadSafe = true)
public class PublishMojo
extends ExecMojo
{
public PublishMojo()
{
super("publish");
}
}