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>
|
2023-03-03 10:11:44 +00:00
|
|
|
<version>999.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>
|
2022-12-09 15:44:22 +00:00
|
|
|
<!-- ignore folders for incremental builds by the maven build cache plugin -->
|
|
|
|
<maven.build.cache.exclude.1>${project.basedir}/src/main/resources/theme/keycloak/common/resources/node_modules</maven.build.cache.exclude.1>
|
|
|
|
<maven.build.cache.exclude.2>${project.basedir}/src/main/resources/theme/keycloak/common/resources/web_modules</maven.build.cache.exclude.2>
|
|
|
|
<maven.build.cache.exclude.3>${project.basedir}/src/main/resources/theme/keycloak.v2/account/src/node_modules</maven.build.cache.exclude.3>
|
|
|
|
<maven.build.cache.exclude.4>${project.basedir}/src/main/resources/theme/keycloak.v2/account/src/web_modules</maven.build.cache.exclude.4>
|
2019-12-06 14:34:06 +00:00
|
|
|
</properties>
|
|
|
|
|
2023-11-14 08:11:23 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-ui</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-account-ui</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2019-12-06 14:34:06 +00:00
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/node_modules/**/node_modules/**</exclude>
|
|
|
|
<exclude>**/minimist/**</exclude>
|
|
|
|
<exclude>**/mkdirp/**</exclude>
|
|
|
|
<exclude>**/package.json</exclude>
|
|
|
|
<exclude>**/package-lock.json</exclude>
|
2023-10-30 11:50:06 +00:00
|
|
|
<exclude>**/pnpm-lock.yaml</exclude>
|
|
|
|
<exclude>**/pnpm-workspace.yaml</exclude>
|
2019-12-06 14:34:06 +00:00
|
|
|
<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-11-18 12:44:54 +00:00
|
|
|
<exclude>**/keycloak.v2/account/src/**</exclude>
|
2019-12-06 14:34:06 +00:00
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2023-02-14 10:44:53 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/node_modules/**/*</exclude>
|
|
|
|
<exclude>**/web_modules/**/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2019-12-06 14:34:06 +00:00
|
|
|
</build>
|
2017-03-23 10:59:19 +00:00
|
|
|
|
|
|
|
<profiles>
|
2023-03-22 07:57:57 +00:00
|
|
|
<profile>
|
|
|
|
<id>communityTranslations</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!skipCommunityTranslations</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources-community</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2022-02-17 22:10:41 +00:00
|
|
|
<profile>
|
|
|
|
<id>account2</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!skipAccount2</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${dir.account2}/web_modules</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-10-30 11:50:06 +00:00
|
|
|
<id>install-node-and-pnpm-account2</id>
|
2022-02-17 22:10:41 +00:00
|
|
|
<goals>
|
2023-10-30 11:50:06 +00:00
|
|
|
<goal>install-node-and-pnpm</goal>
|
2022-02-17 22:10:41 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-10-30 11:50:06 +00:00
|
|
|
<id>pnpm-install-account2</id>
|
2022-02-17 22:10:41 +00:00
|
|
|
<goals>
|
2023-10-30 11:50:06 +00:00
|
|
|
<goal>pnpm</goal>
|
2022-02-17 22:10:41 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-10-30 11:50:06 +00:00
|
|
|
<arguments>${pnpm.args.install}</arguments>
|
2022-02-17 22:10:41 +00:00
|
|
|
<workingDirectory>${dir.account2}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-10-30 11:50:06 +00:00
|
|
|
<id>run-build-account2</id>
|
2022-02-17 22:10:41 +00:00
|
|
|
<goals>
|
2023-10-30 11:50:06 +00:00
|
|
|
<goal>pnpm</goal>
|
2022-02-17 22:10:41 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-10-30 11:50:06 +00:00
|
|
|
<arguments>run build</arguments>
|
2022-02-17 22:10:41 +00:00
|
|
|
<workingDirectory>${dir.account2}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2022-03-02 07:49:17 +00:00
|
|
|
<profile>
|
|
|
|
<id>common</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!skipCommon</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${dir.common}/web_modules</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-10-30 11:50:06 +00:00
|
|
|
<id>install-node-and-pnpm-common</id>
|
2022-03-02 07:49:17 +00:00
|
|
|
<goals>
|
2023-10-30 11:50:06 +00:00
|
|
|
<goal>install-node-and-pnpm</goal>
|
2022-03-02 07:49:17 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-10-30 11:50:06 +00:00
|
|
|
<id>pnpm-install-common</id>
|
2022-03-02 07:49:17 +00:00
|
|
|
<goals>
|
2023-10-30 11:50:06 +00:00
|
|
|
<goal>pnpm</goal>
|
2022-03-02 07:49:17 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-10-30 11:50:06 +00:00
|
|
|
<arguments>${pnpm.args.install}</arguments>
|
2022-03-02 07:49:17 +00:00
|
|
|
<workingDirectory>${dir.common}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-11-20 16:34:03 +00:00
|
|
|
<execution>
|
|
|
|
<id>pnpm-build-common</id>
|
|
|
|
<goals>
|
|
|
|
<goal>pnpm</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run build</arguments>
|
|
|
|
<workingDirectory>${dir.common}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-03-02 07:49:17 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</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>
|