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