1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
<modelVersion>4.0.0</modelVersion>
6
<artifactId>keycloak-parent</artifactId>
7
<groupId>org.keycloak</groupId>
8
<version>999.0.0-SNAPSHOT</version>
9
<relativePath>../../../pom.xml</relativePath>
12
<artifactId>keycloak-js-adapter-jar</artifactId>
14
<name>Keycloak JavaScript Adapter (JAR)</name>
15
<description>A build of the Keycloak JavaScript adapter that puts the compiled result in a JAR (for inclusion in the Keycloak server).</description>
18
<js.projectDir>../../../js</js.projectDir>
19
<js.adapter.projectDir>${js.projectDir}/libs/keycloak-js</js.adapter.projectDir>
20
<js.adapter.distDir>${js.adapter.projectDir}/dist</js.adapter.distDir>
22
<maven.build.cache.exclude.value.1>${maven.multiModuleProjectDirectory}/js/libs/keycloak-js/node_modules</maven.build.cache.exclude.value.1>
24
<maven.build.cache.exclude.value.2>${maven.multiModuleProjectDirectory}/js/libs/keycloak-js/dist</maven.build.cache.exclude.value.2>
30
<directory>${js.adapter.distDir}</directory>
32
<include>*.js</include>
39
<artifactId>maven-clean-plugin</artifactId>
43
<directory>${js.adapter.distDir}</directory>
45
<exclude>*.d.ts</exclude>
52
<groupId>com.github.eirslett</groupId>
53
<artifactId>frontend-maven-plugin</artifactId>
57
<goal>install-node-and-pnpm</goal>
66
<arguments>${pnpm.args.install}</arguments>
75
<arguments>run build</arguments>
80
<workingDirectory>${js.projectDir}/libs/keycloak-js</workingDirectory>