KEYCLOAK-5502: Fix install of node and yarn for account2 profile.

This commit is contained in:
Stan Silvert 2017-09-19 09:53:22 -04:00
parent c8a4fc2c57
commit 9d66d55ac1

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>