KEYCLOAK-6042: Remove keycloak-preview from product build.

This commit is contained in:
Stan Silvert 2017-12-13 16:45:56 -05:00 committed by Stian Thorgersen
parent a96c9d34c9
commit 068785f227

View file

@ -47,6 +47,16 @@
<directory>src/main/resources-product</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/keycloak-preview/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
@ -124,47 +134,47 @@
<build>
<plugins>
<!-- KEYCLOAK-5391: Commented out until node_modules fetching issue is resolved.
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/main/resources/theme/keycloak/common/resources/node_modules</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<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>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
vvv remove space vvv remove space on uncomment
<arguments>install - -production=false - -frozen-lockfile</arguments>
</configuration>
</execution>
</executions>
<configuration>
<nodeVersion>v6.11.1</nodeVersion>
<yarnVersion>v0.27.5</yarnVersion>
<workingDirectory>src/main/resources/theme/keycloak/common/resources</workingDirectory>
<installDirectory>target</installDirectory>
</configuration>
</plugin>
-->
<!-- KEYCLOAK-5391: Commented out until node_modules fetching issue is resolved.
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/main/resources/theme/keycloak/common/resources/node_modules</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<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>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
vvv remove space vvv remove space on uncomment
<arguments>install - -production=false - -frozen-lockfile</arguments>
</configuration>
</execution>
</executions>
<configuration>
<nodeVersion>v6.11.1</nodeVersion>
<yarnVersion>v0.27.5</yarnVersion>
<workingDirectory>src/main/resources/theme/keycloak/common/resources</workingDirectory>
<installDirectory>target</installDirectory>
</configuration>
</plugin>
-->
</plugins>
</build>