keycloak-scim/adapters/oidc/js/pom.xml

84 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<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">
<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>
<build>
<resources>
<resource>
<directory>${js.adapter.distDir}</directory>
<includes>
<include>*.js</include>
</includes>
</resource>
</resources>
<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>
</goals>
</execution>
<execution>
2023-05-05 16:03:24 +00:00
<id>pnpm-install</id>
<goals>
2023-05-05 16:03:24 +00:00
<goal>pnpm</goal>
</goals>
<configuration>
2023-05-05 16:03:24 +00:00
<arguments>install --frozen-lockfile --ignore-scripts</arguments>
</configuration>
</execution>
<execution>
2023-05-05 16:03:24 +00:00
<id>run-build</id>
<goals>
2023-05-05 16:03:24 +00:00
<goal>pnpm</goal>
</goals>
<configuration>
2023-05-05 16:03:24 +00:00
<arguments>run build</arguments>
</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>
</configuration>
</plugin>
</plugins>
</build>
</project>