Keycloak
156 строк · 6.3 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3~ Copyright 2016 Red Hat, Inc. and/or its affiliates
4~ and other contributors as indicated by the @author tags.
5~
6~ Licensed under the Apache License, Version 2.0 (the "License");
7~ you may not use this file except in compliance with the License.
8~ You may obtain a copy of the License at
9~
10~ http://www.apache.org/licenses/LICENSE-2.0
11~
12~ Unless required by applicable law or agreed to in writing, software
13~ distributed under the License is distributed on an "AS IS" BASIS,
14~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15~ See the License for the specific language governing permissions and
16~ limitations under the License.
17-->
18
19<project xmlns="http://maven.apache.org/POM/4.0.0"20xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"21xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">22<parent>23<artifactId>keycloak-integration-parent</artifactId>24<groupId>org.keycloak</groupId>25<version>999.0.0-SNAPSHOT</version>26</parent>27<modelVersion>4.0.0</modelVersion>28
29<artifactId>keycloak-admin-client</artifactId>30<name>Keycloak Admin REST Client</name>31<description/>32
33<properties>34<ant.jvm.args>-Dnone</ant.jvm.args>35
36<jakarta-transformer-sources>${project.basedir}/../admin-client-jee/src</jakarta-transformer-sources>37<jakarta-transformer-target>${project.basedir}/src</jakarta-transformer-target>38</properties>39
40<dependencies>41<dependency>42<groupId>org.keycloak</groupId>43<artifactId>keycloak-core</artifactId>44<exclusions>45<exclusion>46<groupId>*</groupId>47<artifactId>*</artifactId>48</exclusion>49</exclusions>50</dependency>51<dependency>52<groupId>org.keycloak</groupId>53<artifactId>keycloak-common</artifactId>54<exclusions>55<exclusion>56<groupId>*</groupId>57<artifactId>*</artifactId>58</exclusion>59</exclusions>60</dependency>61<dependency>62<groupId>org.jboss.resteasy</groupId>63<artifactId>resteasy-client</artifactId>64<version>${resteasy.version}</version>65</dependency>66<dependency>67<groupId>org.jboss.resteasy</groupId>68<artifactId>resteasy-multipart-provider</artifactId>69<version>${resteasy.version}</version>70</dependency>71<dependency>72<groupId>org.jboss.resteasy</groupId>73<artifactId>resteasy-jackson2-provider</artifactId>74<version>${resteasy.version}</version>75</dependency>76<dependency>77<groupId>org.jboss.resteasy</groupId>78<artifactId>resteasy-jaxb-provider</artifactId>79<version>${resteasy.version}</version>80</dependency>81</dependencies>82
83<build>84<plugins>85<plugin>86<artifactId>maven-antrun-plugin</artifactId>87<version>3.0.0</version>88<executions>89<execution>90<id>transform</id>91<phase>initialize</phase>92<goals>93<goal>run</goal>94</goals>95<configuration>96<target>97<property name="plugin_classpath" refid="maven.plugin.classpath"/>98<java classname="org.eclipse.transformer.jakarta.JakartaTransformer" fork="true">99<jvmarg value="${ant.jvm.args}"/>100<arg value="-o"/>101<arg value="${jakarta-transformer-sources}"/>102<arg value="${jakarta-transformer-target}"/>103<classpath>104<pathelement path="${plugin_classpath}"/>105</classpath>106</java>107<!-- Possibility to override classes for admin-client-jee -->108<!-- Remove this comment in that case109<touch>
110<fileset dir="${jakarta-transformer-target}"/>
111</touch>
112<copy todir="${jakarta-transformer-target}" overwrite="false">
113<fileset dir="${jakarta-transformer-target}/tmp"/>
114</copy>
115<delete dir="${jakarta-transformer-target}/tmp"/>
116-->
117</target>118</configuration>119</execution>120</executions>121<dependencies>122<dependency>123<groupId>org.eclipse.transformer</groupId>124<artifactId>org.eclipse.transformer.cli</artifactId>125<version>0.2.0</version>126</dependency>127<dependency>128<groupId>ant-contrib</groupId>129<artifactId>ant-contrib</artifactId>130<version>1.0b3</version>131<exclusions>132<exclusion>133<groupId>ant</groupId>134<artifactId>ant</artifactId>135</exclusion>136</exclusions>137</dependency>138</dependencies>139</plugin>140</plugins>141</build>142
143<profiles>144<profile>145<id>jdk17+</id>146<activation>147<jdk>[17,)</jdk>148</activation>149<properties>150<!--For more information, see https://github.com/apache/ant/pull/200-->151<ant.jvm.args>-Djava.security.manager=allow</ant.jvm.args>152</properties>153</profile>154</profiles>155
156</project>157