peut-frontend-maven-plugin utiliser un nœud, mnp déjà installé?

Je suis nouveau à l'aide de maven et frontend-maven-plugin. Je comprends que l'on peut ajouter ce code pom.xml pour exécuter grunt par exemple:

         <plugin>
            <groupId>com.github.eirslett</groupId>
            <artifactId>frontend-maven-plugin</artifactId>
            <!-- NB! Set <version> to the latest released version of    frontend-maven-plugin, like in README.md -->
            <version>@project.version@</version>

            <executions>

                <execution>
                    <id>install node and npm</id>
                    <goals>
                        <goal>install-node-and-npm</goal>
                    </goals>
                    <configuration>
                        <nodeVersion>v5.3.0</nodeVersion>
                        <npmVersion>3.3.12</npmVersion>
                    </configuration>
                </execution>

                <execution>
                    <id>npm install</id>
                    <goals>
                        <goal>npm</goal>
                    </goals>
                    <!-- Optional configuration which provides for running any npm command -->
                    <configuration>
                        <arguments>install</arguments>
                    </configuration>
                </execution>

                <execution>
                    <id>npm run build</id>
                    <goals>
                        <goal>npm</goal>
                    </goals>
                    <configuration>
                        <arguments>run build</arguments>
                    </configuration>
                </execution>

                <execution>
                    <id>grunt build</id>
                    <goals>
                        <goal>grunt</goal>
                    </goals>
                    <configuration>
                        <arguments>--no-color</arguments>
                    </configuration>
                </execution>
            </executions>
        </plugin>

J'ai effectivement installé nœud et npm sur mon serveur
par exemple: le noeud est installé dans /opt/app/srt/nodejs, mnp sous /opt/app/srt/nodejs/mnp comment cela peut-il pom.xml utilisez le nœud,mnp installé sur mon serveur? Grâce

OriginalL'auteur zancudo | 2016-05-19