2023-03-03 12:56:53 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-01-13 07:28:30 +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">
|
2023-03-03 12:56:53 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<version>999.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>keycloak-js-adapter-jar</artifactId>
|
|
|
|
|
|
|
|
<name>Keycloak JavaScript Adapter (JAR)</name>
|
|
|
|
<description>A build of the Keycloak JavaScript adapter that puts the compiled result in a JAR (for inclusion in the Keycloak server).</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<js.projectDir>../../../js</js.projectDir>
|
|
|
|
<js.adapter.projectDir>${js.projectDir}/libs/keycloak-js</js.adapter.projectDir>
|
|
|
|
<js.adapter.distDir>${js.adapter.projectDir}/dist</js.adapter.distDir>
|
|
|
|
</properties>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
2023-03-03 12:56:53 +00:00
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${js.adapter.distDir}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*.js</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
2023-03-03 12:56:53 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${js.adapter.distDir}</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*.d.ts</exclude>
|
|
|
|
</excludes>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2023-05-05 16:03:24 +00:00
|
|
|
<goal>install-node-and-pnpm</goal>
|
2023-03-03 12:56:53 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-05-05 16:03:24 +00:00
|
|
|
<id>pnpm-install</id>
|
2023-03-03 12:56:53 +00:00
|
|
|
<goals>
|
2023-05-05 16:03:24 +00:00
|
|
|
<goal>pnpm</goal>
|
2023-03-03 12:56:53 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-05-05 16:03:24 +00:00
|
|
|
<arguments>install --frozen-lockfile --ignore-scripts</arguments>
|
2023-03-03 12:56:53 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-05-05 16:03:24 +00:00
|
|
|
<id>run-build</id>
|
2023-03-03 12:56:53 +00:00
|
|
|
<goals>
|
2023-05-05 16:03:24 +00:00
|
|
|
<goal>pnpm</goal>
|
2023-03-03 12:56:53 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-05-05 16:03:24 +00:00
|
|
|
<arguments>run build</arguments>
|
2023-03-03 12:56:53 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>${node.version}</nodeVersion>
|
2023-05-05 16:03:24 +00:00
|
|
|
<pnpmVersion>${pnpm.version}</pnpmVersion>
|
|
|
|
<installDirectory>${js.projectDir}</installDirectory>
|
|
|
|
<workingDirectory>${js.projectDir}/libs/keycloak-js</workingDirectory>
|
2023-03-03 12:56:53 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|