Keycloak
128 строк · 6.1 Кб
1<?xml version="1.0"?>
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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"20xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">21<parent>22<artifactId>keycloak-client-cli-parent</artifactId>23<groupId>org.keycloak</groupId>24<version>999.0.0-SNAPSHOT</version>25</parent>26<modelVersion>4.0.0</modelVersion>27
28<artifactId>keycloak-client-registration-cli</artifactId>29<name>Keycloak Client Registration CLI</name>30<description/>31
32<dependencies>33<dependency>34<groupId>org.jboss.aesh</groupId>35<artifactId>aesh</artifactId>36</dependency>37<dependency>38<groupId>org.keycloak</groupId>39<artifactId>keycloak-core</artifactId>40</dependency>41<dependency>42<groupId>org.jboss.logging</groupId>43<artifactId>jboss-logging</artifactId>44</dependency>45<dependency>46<groupId>org.apache.httpcomponents</groupId>47<artifactId>httpclient</artifactId>48</dependency>49<dependency>50<groupId>junit</groupId>51<artifactId>junit</artifactId>52</dependency>53</dependencies>54
55<build>56<plugins>57<plugin>58<groupId>org.apache.maven.plugins</groupId>59<artifactId>maven-shade-plugin</artifactId>60<executions>61<execution>62<phase>package</phase>63<goals>64<goal>shade</goal>65</goals>66<configuration>67<filters>68<filter>69<artifact>org.keycloak:keycloak-core</artifact>70<includes>71<include>org/keycloak/util/**</include>72<include>org/keycloak/crypto/**</include>73<include>org/keycloak/json/**</include>74<include>org/keycloak/jose/**</include>75<include>org/keycloak/representations/adapters/config/**</include>76<include>org/keycloak/representations/AccessTokenResponse.class</include>77<include>org/keycloak/representations/idm/ClientRepresentation.class</include>78<include>org/keycloak/representations/idm/ProtocolMapperRepresentation.class</include>79<include>org/keycloak/representations/oidc/OIDCClientRepresentation.class</include>80<include>org/keycloak/representations/idm/authorization/**</include>81<include>org/keycloak/representations/JsonWebToken.class</include>82<include>org/keycloak/Token.class</include>83<include>org/keycloak/TokenCategory.class</include>84</includes>85</filter>86<filter>87<artifact>org.keycloak:keycloak-common</artifact>88<includes>89<include>org/keycloak/common/util/**</include>90<include>org/keycloak/common/crypto/**</include>91</includes>92</filter>93<filter>94<artifact>com.fasterxml.jackson.core:jackson-core</artifact>95<includes>96<include>**/**</include>97</includes>98</filter>99<filter>100<artifact>com.fasterxml.jackson.core:jackson-databind</artifact>101<includes>102<include>**/**</include>103</includes>104</filter>105<filter>106<artifact>com.fasterxml.jackson.core:jackson-annotations</artifact>107<includes>108<include>com/fasterxml/jackson/annotation/**</include>109</includes>110</filter>111
112<filter>113<artifact>*:*</artifact>114<excludes>115<exclude>META-INF/*.SF</exclude>116<exclude>META-INF/*.DSA</exclude>117<exclude>META-INF/*.RSA</exclude>118</excludes>119</filter>120</filters>121</configuration>122</execution>123</executions>124</plugin>125</plugins>126</build>127
128</project>129