Merge pull request #4487 from ssilvert/kc1250-big-commit

KEYCLOAK-5502: Fix install of node and yarn for account2 profile.
This commit is contained in:
Stan Silvert 2017-09-19 10:39:38 -04:00 committed by GitHub
commit 7124d93a24

View file

@ -58,6 +58,18 @@
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
<nodeVersion>v6.9.1</nodeVersion>
<yarnVersion>v0.28.4</yarnVersion>
</configuration>
</execution>
<execution>
<id>yarn install keycloak preview</id>
<goals>
@ -99,6 +111,9 @@
<fileset>
<directory>src/main/resources/theme/keycloak-preview/account/resources/node_modules</directory>
</fileset>
<fileset>
<directory>src/main/resources/theme/keycloak-preview/account/resources/node</directory>
</fileset>
</filesets>
</configuration>
</plugin>