logo nodejs-maven-plugin Maven Plugin

Maven plugin for supplying a NodeJS binary on a build environment.

homepage: github.com/skwakman/nodejs-maven-plugin
fresh index:
last release: 4 years ago, first release: 5 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
nodejs:help

Display help information on nodejs-maven-plugin. Call mvn nodejs:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

nodejs:extract (phase: process-classes)

Mojo for adding the NodeJS executable to a build environment.

Often used code snippets:

<plugin>
  <groupId>com.github.skwakman.nodejs-maven-plugin</groupId>
  <artifactId>nodejs-maven-plugin</artifactId>
  <version>1.0.5-node-0.10.25</version>
  <executions>
    <execution>
      <goals>
        <goal>extract</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <targetDirectory>
						${project.build.directory}/nodejs/
					</targetDirectory>
  </configuration>
</plugin>

© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.