YARN-6278. Enforce to use correct node and npm version in new YARN-UI build. (Sunil G via wangda)
This commit is contained in:
parent
0f336bab9c
commit
c61bc2d843
|
@ -32,8 +32,8 @@
|
||||||
<packaging.type>pom</packaging.type>
|
<packaging.type>pom</packaging.type>
|
||||||
<webappTgtDir>${basedir}/target/src/main/webapp</webappTgtDir>
|
<webappTgtDir>${basedir}/target/src/main/webapp</webappTgtDir>
|
||||||
<node.executable>node</node.executable>
|
<node.executable>node</node.executable>
|
||||||
<nodeVersion>v0.12.2</nodeVersion>
|
<nodeVersion>v4.4.5</nodeVersion>
|
||||||
<npmVersion>2.10.0</npmVersion>
|
<npmVersion>2.15.5</npmVersion>
|
||||||
<keep-ui-build-cache>false</keep-ui-build-cache>
|
<keep-ui-build-cache>false</keep-ui-build-cache>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -120,41 +120,47 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.eirslett</groupId>
|
||||||
|
<artifactId>frontend-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<workingDirectory>${webappTgtDir}</workingDirectory>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<id>install node and npm</id>
|
||||||
|
<goals>
|
||||||
|
<goal>install-node-and-npm</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<nodeVersion>${nodeVersion}</nodeVersion>
|
||||||
|
<npmVersion>${npmVersion}</npmVersion>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<id>npm install</id>
|
||||||
|
<goals>
|
||||||
|
<goal>npm</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<id>bower install</id>
|
||||||
|
<goals>
|
||||||
|
<goal>bower</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
<!-- Bower install & grunt build-->
|
<!-- Bower install & grunt build-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<id>npm install</id>
|
|
||||||
<goals>
|
|
||||||
<goal>exec</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<workingDirectory>${webappTgtDir}</workingDirectory>
|
|
||||||
<executable>npm</executable>
|
|
||||||
<arguments>
|
|
||||||
<argument>install</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<id>bower install</id>
|
|
||||||
<goals>
|
|
||||||
<goal>exec</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<workingDirectory>${webappTgtDir}</workingDirectory>
|
|
||||||
<executable>bower</executable>
|
|
||||||
<arguments>
|
|
||||||
<argument>--allow-root</argument>
|
|
||||||
<argument>install</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>ember build</id>
|
<id>ember build</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
"loader.js": "3.3.0",
|
"loader.js": "3.3.0",
|
||||||
"qunit": "1.19.0",
|
"qunit": "1.19.0",
|
||||||
"jquery-ui": "1.11.4",
|
"jquery-ui": "1.11.4",
|
||||||
|
"moment": "2.12.0",
|
||||||
|
"moment-timezone": "0.5.0",
|
||||||
"more-js": "0.8.2",
|
"more-js": "0.8.2",
|
||||||
"bootstrap": "3.3.6",
|
"bootstrap": "3.3.6",
|
||||||
"d3": "~3.5.6",
|
"d3": "~3.5.6",
|
||||||
|
|
|
@ -18,12 +18,13 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "Apache",
|
"license": "Apache",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"bower": "1.7.7",
|
||||||
"broccoli-asset-rev": "2.4.2",
|
"broccoli-asset-rev": "2.4.2",
|
||||||
"broccoli-funnel": "1.0.1",
|
"broccoli-funnel": "1.0.1",
|
||||||
"em-table": "0.7.0",
|
"broccoli-merge-trees": "1.1.1",
|
||||||
"ember-array-contains-helper": "1.0.2",
|
"ember-array-contains-helper": "1.0.2",
|
||||||
"ember-bootstrap": "0.5.1",
|
"ember-bootstrap": "0.5.1",
|
||||||
"ember-cli": "1.13.13",
|
"ember-cli": "^1.13.13",
|
||||||
"ember-cli-app-version": "1.0.0",
|
"ember-cli-app-version": "1.0.0",
|
||||||
"ember-cli-babel": "5.1.6",
|
"ember-cli-babel": "5.1.6",
|
||||||
"ember-cli-content-security-policy": "0.4.0",
|
"ember-cli-content-security-policy": "0.4.0",
|
||||||
|
@ -33,6 +34,8 @@
|
||||||
"ember-cli-ic-ajax": "0.2.1",
|
"ember-cli-ic-ajax": "0.2.1",
|
||||||
"ember-cli-inject-live-reload": "1.4.0",
|
"ember-cli-inject-live-reload": "1.4.0",
|
||||||
"ember-cli-jquery-ui": "0.0.20",
|
"ember-cli-jquery-ui": "0.0.20",
|
||||||
|
"ember-cli-moment-shim": "0.7.3",
|
||||||
|
"ember-cli-numeral": "^0.2.0",
|
||||||
"ember-cli-qunit": "1.2.1",
|
"ember-cli-qunit": "1.2.1",
|
||||||
"ember-cli-release": "0.2.8",
|
"ember-cli-release": "0.2.8",
|
||||||
"ember-cli-sri": "1.2.1",
|
"ember-cli-sri": "1.2.1",
|
||||||
|
@ -48,8 +51,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"em-helpers": "^0.8.0",
|
"em-helpers": "^0.8.0",
|
||||||
"em-table": "^0.7.0",
|
"em-table": "^0.7.0"
|
||||||
"ember-cli-moment-shim": "^3.0.1",
|
|
||||||
"ember-cli-numeral": "^0.2.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue