Keycloak
108 строк · 4.3 Кб
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>4
5<parent>6<artifactId>keycloak-js-parent</artifactId>7<groupId>org.keycloak</groupId>8<version>999.0.0-SNAPSHOT</version>9<relativePath>../../pom.xml</relativePath>10</parent>11
12<artifactId>keycloak-js-adapter</artifactId>13
14<name>Keycloak JavaScript Adapter</name>15<description>A client-side JavaScript OpenID Connect library that can be used to secure web applications.</description>16<packaging>pom</packaging>17
18<build>19<plugins>20<plugin>21<groupId>org.apache.maven.plugins</groupId>22<artifactId>maven-deploy-plugin</artifactId>23<configuration>24<skip>false</skip>25</configuration>26</plugin>27<plugin>28<groupId>org.apache.maven.plugins</groupId>29<artifactId>maven-antrun-plugin</artifactId>30<executions>31<execution>32<id>create-target-dir</id>33<phase>prepare-package</phase>34<configuration>35<target>36<mkdir dir="./target"/>37</target>38</configuration>39<goals>40<goal>run</goal>41</goals>42</execution>43</executions>44</plugin>45<plugin>46<groupId>com.github.eirslett</groupId>47<artifactId>frontend-maven-plugin</artifactId>48<executions>49<execution>50<goals>51<goal>install-node-and-pnpm</goal>52</goals>53</execution>54<execution>55<id>pnpm-install</id>56<goals>57<goal>pnpm</goal>58</goals>59<configuration>60<arguments>${pnpm.args.install}</arguments>61</configuration>62</execution>63<execution>64<id>run-build</id>65<goals>66<goal>pnpm</goal>67</goals>68<configuration>69<arguments>run build</arguments>70</configuration>71</execution>72<execution>73<id>pack</id>74<phase>package</phase>75<goals>76<goal>pnpm</goal>77</goals>78<configuration>79<arguments>pack --pack-destination=target</arguments>80<pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>81</configuration>82</execution>83</executions>84</plugin>85<plugin>86<groupId>org.codehaus.mojo</groupId>87<artifactId>build-helper-maven-plugin</artifactId>88<executions>89<execution>90<id>attach-artifacts</id>91<phase>package</phase>92<goals>93<goal>attach-artifact</goal>94</goals>95<configuration>96<artifacts>97<artifact>98<file>target/keycloak-js-${project.version.npm}.tgz</file>99<type>tar.gz</type>100</artifact>101</artifacts>102</configuration>103</execution>104</executions>105</plugin>106</plugins>107</build>108</project>109