META-INF.plexus.artifact-handlers.xml 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.
<?xml version="1.0"?> <component-set> <components> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>npm</role-hint> <implementation> org.apache.maven.artifact.handler.DefaultArtifactHandler </implementation> <configuration> <type>npm</type> <extension>tgz</extension> <language>javascript</language> <addedToClasspath>true</addedToClasspath> <includesDependencies>true</includesDependencies> </configuration> </component> </components> </component-set>