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-11-30 12:57:44 +00:00
|
|
|
<version>3.4.2.Final-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>
|
2017-12-13 21:45:56 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/keycloak-preview/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2017-03-23 10:59:19 +00:00
|
|
|
</build>
|
|
|
|
</profile>
|
2017-09-18 19:32:43 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>account2</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
2017-09-19 13:53:22 +00:00
|
|
|
<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>
|
2017-09-18 19:32:43 +00:00
|
|
|
<execution>
|
|
|
|
<id>yarn install keycloak preview</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install --production=false --frozen-lockfile</arguments>
|
|
|
|
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>compile typescript</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run build</arguments>
|
|
|
|
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn remove dev dependencies production=true</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install --production=true --frozen-lockfile</arguments>
|
|
|
|
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/theme/keycloak-preview/account/resources/node_modules</directory>
|
|
|
|
</fileset>
|
2017-09-19 13:53:22 +00:00
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/theme/keycloak-preview/account/resources/node</directory>
|
|
|
|
</fileset>
|
2017-09-18 19:32:43 +00:00
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-03-23 10:59:19 +00:00
|
|
|
</profiles>
|
2017-07-21 19:12:34 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2017-12-13 21:45:56 +00:00
|
|
|
<!-- 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>
|
|
|
|
-->
|
2017-07-21 19:12:34 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
|
|
|
</project>
|