keycloak-aplcache

Changes

themes/pom.xml 92(+51 -41)

Details

themes/pom.xml 92(+51 -41)

diff --git a/themes/pom.xml b/themes/pom.xml
index 2269a07..6990787 100755
--- a/themes/pom.xml
+++ b/themes/pom.xml
@@ -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>