2015-07-17 11:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
2021-09-15 14:09:06 +00:00
|
|
|
<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>
|
2021-07-30 12:55:12 +00:00
|
|
|
<version>16.0.0-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>
|
2021-09-15 14:09:06 +00:00
|
|
|
<description />
|
2019-12-06 14:34:06 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<dir.common>src/main/resources/theme/keycloak/common/resources</dir.common>
|
2020-11-18 12:44:54 +00:00
|
|
|
<dir.account2>src/main/resources/theme/keycloak.v2/account/src</dir.account2>
|
2019-12-06 14:34:06 +00:00
|
|
|
<args.npm.install>ci --no-optional --ignore-scripts</args.npm.install>
|
|
|
|
</properties>
|
|
|
|
|
2021-09-15 14:09:06 +00:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>github</id>
|
2021-10-26 10:09:27 +00:00
|
|
|
<!-- Do not decode the PAT below, as it will force Github to revoke it. -->
|
2021-11-16 08:56:45 +00:00
|
|
|
<url>https://keycloak-packages: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@maven.pkg.github.com/keycloak/keycloak-admin-ui</url>
|
2021-09-15 14:09:06 +00:00
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2019-12-06 14:34:06 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2020-06-04 17:21:22 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${dir.account2}/web_modules</directory>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
|
|
|
<directory>${dir.common}/web_modules</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-06 14:34:06 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Download NPM tools -->
|
|
|
|
<execution>
|
|
|
|
<id>setup-node</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-npm</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
</execution>
|
|
|
|
<!-- Compile stuff -->
|
|
|
|
<execution>
|
|
|
|
<id>compile-account2</id>
|
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<workingDirectory>${dir.account2}</workingDirectory>
|
|
|
|
<arguments>run build --scripts-prepend-node-path</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<!-- Download NPM packages -->
|
|
|
|
<execution>
|
|
|
|
<id>npm-install-account2</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<workingDirectory>${dir.account2}</workingDirectory>
|
|
|
|
<arguments>${args.npm.install}</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2021-11-23 20:20:52 +00:00
|
|
|
<nodeVersion>v16.13.0</nodeVersion>
|
2019-12-06 14:34:06 +00:00
|
|
|
<installDirectory>${project.basedir}</installDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
2020-05-11 10:38:27 +00:00
|
|
|
<exclude>**/node_modules/rcue/**</exclude>
|
2019-12-06 14:34:06 +00:00
|
|
|
<exclude>**/node_modules/**/node_modules/**</exclude>
|
|
|
|
<exclude>**/minimist/**</exclude>
|
|
|
|
<exclude>**/mkdirp/**</exclude>
|
|
|
|
<exclude>**/package.json</exclude>
|
|
|
|
<exclude>**/package-lock.json</exclude>
|
|
|
|
<exclude>**/component.json</exclude>
|
|
|
|
<exclude>**/composer.json</exclude>
|
|
|
|
<exclude>**/npm-shrinkwrap.json</exclude>
|
|
|
|
<exclude>**/select2.jquery.json</exclude>
|
|
|
|
<exclude>**/*.markdown</exclude>
|
|
|
|
<exclude>**/*.swf</exclude>
|
|
|
|
<exclude>**/*.sh</exclude>
|
|
|
|
<exclude>**/.bin/**</exclude>
|
|
|
|
<exclude>**/bin/**</exclude>
|
|
|
|
<exclude>**/build/**</exclude>
|
|
|
|
<exclude>**/docs/**</exclude>
|
|
|
|
<exclude>**/demo/**</exclude>
|
|
|
|
<exclude>**/devtools/**</exclude>
|
|
|
|
<exclude>**/example/**</exclude>
|
|
|
|
<exclude>**/examples/**</exclude>
|
|
|
|
<exclude>**/grunt/**</exclude>
|
|
|
|
<exclude>**/less/**</exclude>
|
|
|
|
<exclude>**/sass/**</exclude>
|
|
|
|
<exclude>**/scss/**</exclude>
|
|
|
|
<exclude>**/jquery/src/**</exclude>
|
|
|
|
<exclude>**/angular-treeview/src/**</exclude>
|
|
|
|
<exclude>**/test/**</exclude>
|
|
|
|
<exclude>**/tests/**</exclude>
|
|
|
|
<exclude>**/_config.yml</exclude>
|
|
|
|
<exclude>**/api.md</exclude>
|
|
|
|
<exclude>**/AUTHORS.txt</exclude>
|
|
|
|
<exclude>**/CHANGELOG.md</exclude>
|
|
|
|
<exclude>**/CONTRIBUTING.md</exclude>
|
|
|
|
<exclude>**/HELP-US-OUT.txt</exclude>
|
|
|
|
<exclude>**/README.md</exclude>
|
|
|
|
<exclude>**/Gruntfile.js</exclude>
|
|
|
|
<exclude>**/Gemfile*</exclude>
|
|
|
|
<exclude>**/.*</exclude>
|
2021-09-15 14:09:06 +00:00
|
|
|
|
2020-02-10 14:21:32 +00:00
|
|
|
<!-- Remove once rcue stops shipping this file -->
|
|
|
|
<exclude>**/git-Logo.svg</exclude>
|
2021-09-15 14:09:06 +00:00
|
|
|
|
2020-11-18 12:44:54 +00:00
|
|
|
<exclude>**/keycloak.v2/account/src/**</exclude>
|
2019-12-06 14:34:06 +00:00
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
2017-03-23 10:59:19 +00:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>community</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2021-09-15 14:09:06 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-ui</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-03-23 10:59:19 +00:00
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-community</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2021-09-15 14:09:06 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-ui</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}/classes/theme/keycloak.v2</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2017-03-23 10:59:19 +00:00
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>product</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-product</directory>
|
|
|
|
</resource>
|
2020-05-11 10:38:27 +00:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/node_modules/rcue/**</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2017-03-23 10:59:19 +00:00
|
|
|
</resources>
|
2017-09-18 19:32:43 +00:00
|
|
|
</build>
|
|
|
|
</profile>
|
2018-01-26 08:15:21 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>npm-update</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-12-06 14:34:06 +00:00
|
|
|
<!-- Download packages -->
|
2018-01-26 08:15:21 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>npm-install</id>
|
2019-10-24 11:49:21 +00:00
|
|
|
<phase>generate-resources</phase>
|
2018-01-26 08:15:21 +00:00
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-12-06 14:34:06 +00:00
|
|
|
<workingDirectory>${dir.common}</workingDirectory>
|
2019-10-24 11:49:21 +00:00
|
|
|
<arguments>install -P -E --no-optional --ignore-scripts --no-bin-links --no-shrinkwrap --no-package-lock</arguments>
|
2018-01-26 08:15:21 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-10-24 11:49:21 +00:00
|
|
|
<!-- Clean downloaded packages from NPM -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean-all</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>clean-downloaded</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules/angular-translate/node_modules/</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules/patternfly/node_modules/</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules/rcue/node_modules/</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules/minimist</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
<fileset>
|
2019-12-06 14:34:06 +00:00
|
|
|
<directory>${dir.common}/node_modules/mkdirp</directory>
|
2019-10-24 11:49:21 +00:00
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-01-26 08:15:21 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-03-23 10:59:19 +00:00
|
|
|
</profiles>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
2021-11-16 08:56:45 +00:00
|
|
|
</project>
|