Keycloak

Форк
0
167 строк · 8.4 Кб
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"
20
         xsi: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-admin-cli</artifactId>
29
    <name>Keycloak Admin CLI</name>
30
    <description/>
31

32
    <properties>
33
        <jansi.version>1.18</jansi.version>
34
    </properties>
35

36
    <dependencies>
37
        <dependency>
38
            <groupId>org.jboss.aesh</groupId>
39
            <artifactId>aesh</artifactId>
40
        </dependency>
41
        <!-- Jansi library version needs to be overridden due to the backwards compatibility - see #21851 -->
42
        <dependency>
43
            <groupId>org.fusesource.jansi</groupId>
44
            <artifactId>jansi</artifactId>
45
            <version>${jansi.version}</version>
46
        </dependency>
47
        <dependency>
48
            <groupId>org.keycloak</groupId>
49
            <artifactId>keycloak-core</artifactId>
50
        </dependency>
51
        <dependency>
52
            <groupId>org.apache.httpcomponents</groupId>
53
            <artifactId>httpclient</artifactId>
54
        </dependency>
55
        <dependency>
56
            <groupId>org.jboss.logging</groupId>
57
            <artifactId>jboss-logging</artifactId>
58
        </dependency>
59

60
        <dependency>
61
            <groupId>junit</groupId>
62
            <artifactId>junit</artifactId>
63
        </dependency>
64
    </dependencies>
65

66
    <build>
67
        <plugins>
68
            <plugin>
69
                <groupId>org.apache.maven.plugins</groupId>
70
                <artifactId>maven-shade-plugin</artifactId>
71
                <executions>
72
                    <execution>
73
                        <phase>package</phase>
74
                        <goals>
75
                            <goal>shade</goal>
76
                        </goals>
77
                        <configuration>
78
                            <filters>
79
                                <filter>
80
                                    <artifact>org.keycloak:keycloak-core</artifact>
81
                                    <includes>
82
                                        <include>org/keycloak/util/**</include>
83
                                        <include>org/keycloak/crypto/**</include>
84
                                        <include>org/keycloak/json/**</include>
85
                                        <include>org/keycloak/jose/**</include>
86
                                        <include>org/keycloak/representations/adapters/config/**</include>
87
                                        <include>org/keycloak/representations/adapters/action/**</include>
88
                                        <include>org/keycloak/representations/AccessTokenResponse.class</include>
89
                                        <!--
90
                                        <include>org/keycloak/representations/idm/ClientRepresentation.class</include>
91
                                        <include>org/keycloak/representations/idm/RealmRepresentation.class</include>
92
                                        <include>org/keycloak/representations/idm/UserRepresentation.class</include>
93
                                        <include>org/keycloak/representations/idm/RoleRepresentation.class</include>
94
                                        <include>org/keycloak/representations/idm/RoleRepresentation.class</include>
95
                                        <include>org/keycloak/representations/idm/RolesRepresentation.class</include>
96
                                        <include>org/keycloak/representations/idm/ScopeMappingRepresentation.class</include>
97
                                        <include>org/keycloak/representations/idm/UserFederationMapperRepresentation.class</include>
98
                                        <include>org/keycloak/representations/idm/ProtocolMapperRepresentation.class</include>
99
                                        <include>org/keycloak/representations/idm/IdentityProviderRepresentation.class</include>
100
                                        <include>org/keycloak/representations/idm/authorization/**</include>
101
                                        -->
102
                                        <include>org/keycloak/representations/idm/**</include>
103
                                        <include>org/keycloak/representations/JsonWebToken.class</include>
104
                                        <include>org/keycloak/Token.class</include>
105
                                        <include>org/keycloak/TokenCategory.class</include>
106
                                    </includes>
107
                                </filter>
108
                                
109
                                <filter>
110
                                    <artifact>com.fasterxml.jackson.core:jackson-core</artifact>
111
                                    <includes>
112
                                        <include>**/**</include>
113
                                    </includes>
114
                                </filter>
115
                                <filter>
116
                                    <artifact>com.fasterxml.jackson.core:jackson-databind</artifact>
117
                                    <includes>
118
                                        <include>**/**</include>
119
                                    </includes>
120
                                </filter>
121
                                <filter>
122
                                    <artifact>com.fasterxml.jackson.core:jackson-annotations</artifact>
123
                                    <includes>
124
                                        <include>com/fasterxml/jackson/annotation/**</include>
125
                                    </includes>
126
                                </filter>
127
                                <filter>
128
                                    <artifact>org.jboss.resteasy:resteasy-client</artifact>
129
                                    <includes>
130
                                        <include>**/**</include>
131
                                    </includes>
132
                                </filter>
133
                                <filter>
134
                                    <artifact>org.jboss.resteasy:resteasy-core</artifact>
135
                                    <includes>
136
                                        <include>**/**</include>
137
                                    </includes>
138
                                </filter>
139
                                <filter>
140
                                    <artifact>org.jboss.resteasy:resteasy-jackson2-provider</artifact>
141
                                    <includes>
142
                                        <include>**/**</include>
143
                                    </includes>
144
                                </filter>
145
                                <filter>
146
                                    <artifact>jakarta.ws.rs:jakarta.ws.rs-api</artifact>
147
                                    <includes>
148
                                        <include>**/**</include>
149
                                    </includes>
150
                                </filter>
151
                                <filter>
152
                                    <artifact>*:*</artifact>
153
                                    <excludes>
154
                                        <exclude>META-INF/*.SF</exclude>
155
                                        <exclude>META-INF/*.DSA</exclude>
156
                                        <exclude>META-INF/*.RSA</exclude>
157
                                    </excludes>
158
                                </filter>
159
                            </filters>
160
                        </configuration>
161
                    </execution>
162
                </executions>
163
            </plugin>
164
        </plugins>
165
    </build>
166

167
</project>
168

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.