[NIFI-4327] Parameterize node and npm in poms. This closes #2115

This commit is contained in:
Scott Aslan 2017-08-28 13:23:43 -04:00 committed by Matt Gilman
parent e68ff153e8
commit e2b8be53cb
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
2 changed files with 10 additions and 6 deletions

View File

@ -23,6 +23,8 @@
<artifactId>nifi-web-ui</artifactId>
<packaging>war</packaging>
<properties>
<node.version>v5.7.0</node.version>
<npm.version>1.3.8</npm.version>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
<staging.dir>${project.build.directory}/tmp</staging.dir>
@ -354,7 +356,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.0</version>
<version>1.1</version>
<configuration>
<installDirectory>${frontend.working.dir}</installDirectory>
</configuration>
@ -366,8 +368,8 @@
</goals>
<phase>generate-resources</phase>
<configuration>
<nodeVersion>v0.10.18</nodeVersion>
<npmVersion>1.3.8</npmVersion>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</execution>
<execution>

View File

@ -21,6 +21,8 @@ language governing permissions and limitations under the License. -->
<packaging>war</packaging>
<properties>
<node.version>v5.7.0</node.version>
<npm.version>1.3.8</npm.version>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
<jersey.version>1.19.1</jersey.version>
@ -190,7 +192,7 @@ language governing permissions and limitations under the License. -->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.0</version>
<version>1.1</version>
<configuration>
<installDirectory>${frontend.working.dir}</installDirectory>
</configuration>
@ -202,8 +204,8 @@ language governing permissions and limitations under the License. -->
</goals>
<phase>generate-resources</phase>
<configuration>
<nodeVersion>v0.10.18</nodeVersion>
<npmVersion>1.3.8</npmVersion>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</execution>
<execution>