2015-07-17 11:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2017-03-23 10:59:19 +00:00
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2017-08-28 13:46:22 +00:00
|
|
|
<version>3.4.0.CR1-SNAPSHOT</version>
|
2017-03-23 10:59:19 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
2017-03-23 10:59:19 +00:00
|
|
|
<artifactId>keycloak-themes</artifactId>
|
|
|
|
<name>Keycloak Themes</name>
|
|
|
|
<description/>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>community</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-community</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>product</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-product</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2017-07-21 19:12:34 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2017-09-05 18:27:19 +00:00
|
|
|
<!-- KEYCLOAK-5391: Commented out until node_modules fetching issue is resolved.
|
2017-07-21 19:12:34 +00:00
|
|
|
<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>
|
2017-09-05 18:27:19 +00:00
|
|
|
vvv remove space vvv remove space on uncomment
|
|
|
|
<arguments>install - -production=false - -frozen-lockfile</arguments>
|
2017-07-21 19:12:34 +00:00
|
|
|
</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>
|
2017-09-05 18:27:19 +00:00
|
|
|
-->
|
2017-07-21 19:12:34 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
|
|
|
</project>
|