Keycloak

Форк
0
377 строк · 13.8 Кб
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-testsuite-pom</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-testsuite-utils</artifactId>
29
    <name>Keycloak TestSuite Utils</name>
30
    <description />
31

32
    <properties>
33
        <keycloak.additionalClasspathElement>NON_EXISTENT_PATH_OVERRIDE_ON_COMMAND_LINE</keycloak.additionalClasspathElement>
34
    </properties>
35

36

37
    <dependencies>
38
        <dependency>
39
            <groupId>jakarta.mail</groupId>
40
            <artifactId>jakarta.mail-api</artifactId>
41
        </dependency>
42
        <dependency>
43
            <groupId>org.eclipse.angus</groupId>
44
            <artifactId>angus-mail</artifactId>
45
        </dependency>
46
        <dependency>
47
            <groupId>org.bouncycastle</groupId>
48
            <artifactId>bcprov-jdk18on</artifactId>
49
        </dependency>
50
        <dependency>
51
            <groupId>org.bouncycastle</groupId>
52
            <artifactId>bcpkix-jdk18on</artifactId>
53
        </dependency>
54
        <dependency>
55
            <groupId>org.keycloak</groupId>
56
            <artifactId>keycloak-dependencies-server-all</artifactId>
57
            <type>pom</type>
58
        </dependency>
59
        <dependency>
60
            <groupId>org.keycloak</groupId>
61
            <artifactId>keycloak-rest-admin-ui-ext</artifactId>
62
        </dependency>
63
        <dependency>
64
            <groupId>org.keycloak</groupId>
65
            <artifactId>keycloak-admin-client</artifactId>
66
        </dependency>
67
        <dependency>
68
            <groupId>org.keycloak</groupId>
69
            <artifactId>keycloak-admin-ui</artifactId>
70
        </dependency>
71
        <dependency>
72
            <groupId>org.keycloak</groupId>
73
            <artifactId>keycloak-account-ui</artifactId>
74
        </dependency>
75
        <dependency>
76
            <groupId>log4j</groupId>
77
            <artifactId>log4j</artifactId>
78
            <scope>compile</scope>
79
        </dependency>
80
        <dependency>
81
            <groupId>org.slf4j</groupId>
82
            <artifactId>slf4j-reload4j</artifactId>
83
            <scope>compile</scope>
84
        </dependency>
85
        <dependency>
86
            <groupId>org.dom4j</groupId>
87
            <artifactId>dom4j</artifactId>
88
            <scope>compile</scope>
89
        </dependency>
90
        <dependency>
91
            <groupId>jakarta.ws.rs</groupId>
92
            <artifactId>jakarta.ws.rs-api</artifactId>
93
        </dependency>
94
        <dependency>
95
            <groupId>jakarta.transaction</groupId>
96
            <artifactId>jakarta.transaction-api</artifactId>
97
        </dependency>
98
        <dependency>
99
            <groupId>org.jboss.resteasy</groupId>
100
            <artifactId>resteasy-core</artifactId>
101
            <exclusions>
102
                <exclusion>
103
                    <groupId>log4j</groupId>
104
                    <artifactId>log4j</artifactId>
105
                </exclusion>
106
                <exclusion>
107
                    <groupId>org.slf4j</groupId>
108
                    <artifactId>slf4j-api</artifactId>
109
                </exclusion>
110
                <exclusion>
111
                    <groupId>org.slf4j</groupId>
112
                    <artifactId>slf4j-simple</artifactId>
113
                </exclusion>
114
            </exclusions>
115
        </dependency>
116
        <dependency>
117
            <groupId>org.jboss.resteasy</groupId>
118
            <artifactId>resteasy-client</artifactId>
119
        </dependency>
120
        <dependency>
121
            <groupId>org.jboss.resteasy</groupId>
122
            <artifactId>resteasy-undertow</artifactId>
123
            <exclusions>
124
                <exclusion>
125
                    <groupId>io.undertow</groupId>
126
                    <artifactId>undertow-servlet-jakarta</artifactId>
127
                </exclusion>
128
            </exclusions>
129
        </dependency>
130
        <dependency>
131
            <groupId>org.jboss.resteasy</groupId>
132
            <artifactId>resteasy-multipart-provider</artifactId>
133
        </dependency>
134
        <dependency>
135
            <groupId>org.jboss.resteasy</groupId>
136
            <artifactId>resteasy-jackson2-provider</artifactId>
137
        </dependency>
138
        <dependency>
139
            <groupId>com.google.zxing</groupId>
140
            <artifactId>javase</artifactId>
141
        </dependency>
142
        <dependency>
143
            <groupId>org.apache.httpcomponents</groupId>
144
            <artifactId>httpclient</artifactId>
145
        </dependency>
146
        <dependency>
147
            <groupId>org.keycloak</groupId>
148
            <artifactId>keycloak-server-spi-private</artifactId>
149
        </dependency>
150
        <dependency>
151
            <groupId>org.keycloak</groupId>
152
            <artifactId>${keycloak.crypto.artifactId}</artifactId>
153
        </dependency>
154
        <dependency>
155
            <groupId>org.keycloak</groupId>
156
            <artifactId>keycloak-ldap-federation</artifactId>
157
        </dependency>
158
        <dependency>
159
            <groupId>org.keycloak</groupId>
160
            <artifactId>keycloak-kerberos-federation</artifactId>
161
        </dependency>
162
        <dependency>
163
            <groupId>org.keycloak.testsuite</groupId>
164
            <artifactId>keycloak-undertow-adapter-jakarta</artifactId>
165
            <version>${project.version}</version>
166
        </dependency>
167
        <dependency>
168
            <groupId>io.undertow</groupId>
169
            <artifactId>undertow-servlet</artifactId>
170
            <version>${undertow-jakarta.version}</version>
171
        </dependency>
172
        <dependency>
173
            <groupId>org.keycloak</groupId>
174
            <artifactId>keycloak-saml-adapter-api-public</artifactId>
175
        </dependency>
176
        <dependency>
177
            <groupId>org.keycloak</groupId>
178
            <artifactId>keycloak-saml-adapter-core</artifactId>
179
        </dependency>
180
        <dependency>
181
            <groupId>org.keycloak</groupId>
182
            <artifactId>keycloak-authz-client</artifactId>
183
        </dependency>
184
        <dependency>
185
            <groupId>org.keycloak</groupId>
186
            <artifactId>keycloak-saml-servlet-filter-adapter</artifactId>
187
        </dependency>
188
        <dependency>
189
            <groupId>org.keycloak</groupId>
190
            <artifactId>keycloak-servlet-filter-adapter</artifactId>
191
        </dependency>
192
        <dependency>
193
            <groupId>org.keycloak.testsuite</groupId>
194
            <artifactId>keycloak-saml-undertow-adapter-jakarta</artifactId>
195
            <version>${project.version}</version>
196
        </dependency>
197
        <dependency>
198
            <groupId>org.keycloak</groupId>
199
            <artifactId>keycloak-jaxrs-oauth-client</artifactId>
200
        </dependency>
201
        <!-- Dependency on services from integration-arquillian -->
202
        <dependency>
203
            <groupId>org.keycloak.testsuite</groupId>
204
            <artifactId>integration-arquillian-testsuite-providers</artifactId>
205
            <version>${project.version}</version>
206
        </dependency>
207

208
        <dependency>
209
            <groupId>org.jboss.logging</groupId>
210
            <artifactId>jboss-logging</artifactId>
211
        </dependency>
212
        <dependency>
213
            <groupId>com.fasterxml.jackson.core</groupId>
214
            <artifactId>jackson-core</artifactId>
215
        </dependency>
216
        <dependency>
217
            <groupId>com.fasterxml.jackson.core</groupId>
218
            <artifactId>jackson-databind</artifactId>
219
        </dependency>
220
        <dependency>
221
            <groupId>com.fasterxml.jackson.core</groupId>
222
            <artifactId>jackson-annotations</artifactId>
223
        </dependency>
224
        <dependency>
225
            <groupId>com.h2database</groupId>
226
            <artifactId>h2</artifactId>
227
            <scope>compile</scope>
228
        </dependency>
229
        <dependency>
230
            <groupId>com.icegreen</groupId>
231
            <artifactId>greenmail</artifactId>
232
            <scope>compile</scope>
233
            <exclusions>
234
                <exclusion>
235
                    <groupId>org.slf4j</groupId>
236
                    <artifactId>slf4j-api</artifactId>
237
                </exclusion>
238
            </exclusions>
239
        </dependency>
240
        <dependency>
241
            <groupId>org.infinispan</groupId>
242
            <artifactId>infinispan-core-jakarta</artifactId>
243
        </dependency>
244
        <dependency>
245
            <groupId>org.infinispan</groupId>
246
            <artifactId>infinispan-cachestore-remote</artifactId>
247
        </dependency>
248
        <dependency>
249
            <groupId>xml-apis</groupId>
250
            <artifactId>xml-apis</artifactId>
251
            <scope>compile</scope>
252
        </dependency>
253

254
        <!-- Apache DS -->
255
        <dependency>
256
            <groupId>org.keycloak</groupId>
257
            <artifactId>keycloak-util-embedded-ldap</artifactId>
258
        </dependency>
259

260
        <dependency>
261
            <groupId>${ee.maven.groupId}</groupId>
262
            <artifactId>wildfly-undertow</artifactId>
263
            <scope>compile</scope>
264
        </dependency>
265

266
        <dependency>
267
            <groupId>com.mysql</groupId>
268
            <artifactId>mysql-connector-j</artifactId>
269
            <version>${mysql-jdbc.version}</version>
270
            <scope>compile</scope>
271
        </dependency>
272
        <dependency>
273
            <groupId>org.postgresql</groupId>
274
            <artifactId>postgresql</artifactId>
275
            <version>${postgresql-jdbc.version}</version>
276
        </dependency>
277
        <dependency>
278
            <groupId>com.oracle.database.jdbc</groupId>
279
            <artifactId>ojdbc11</artifactId>
280
            <version>${oracle-jdbc.version}</version>
281
            <scope>compile</scope>
282
        </dependency>
283
        <dependency>
284
            <groupId>org.mariadb.jdbc</groupId>
285
            <artifactId>mariadb-java-client</artifactId>
286
            <version>${mariadb-jdbc.version}</version>
287
        </dependency>
288
        <dependency>
289
            <groupId>com.microsoft.sqlserver</groupId>
290
            <artifactId>mssql-jdbc</artifactId>
291
            <version>${mssql-jdbc.version}</version>
292
        </dependency>
293
    </dependencies>
294

295

296
    <profiles>
297

298
        <profile>
299
            <id>keycloak-server</id>
300
            <build>
301
                <plugins>
302
                    <plugin>
303
                        <groupId>org.codehaus.mojo</groupId>
304
                        <artifactId>exec-maven-plugin</artifactId>
305
                        <configuration>
306
                            <mainClass>org.keycloak.testsuite.KeycloakServer</mainClass>
307
                            <classpathScope>test</classpathScope>
308
                            <additionalClasspathElements>
309
                                <additionalClasspathElement>${keycloak.additionalClasspathElement}</additionalClasspathElement>
310
                            </additionalClasspathElements>
311
                        </configuration>
312
                    </plugin>
313
                </plugins>
314
            </build>
315
        </profile>
316
        <profile>
317
            <id>mail-server</id>
318
            <build>
319
                <plugins>
320
                    <plugin>
321
                        <groupId>org.codehaus.mojo</groupId>
322
                        <artifactId>exec-maven-plugin</artifactId>
323
                        <configuration>
324
                            <mainClass>org.keycloak.testsuite.MailServer</mainClass>
325
                            <classpathScope>test</classpathScope>
326
                        </configuration>
327
                    </plugin>
328
                </plugins>
329
            </build>
330
        </profile>
331
        <profile>
332
            <id>totp</id>
333
            <build>
334
                <plugins>
335
                    <plugin>
336
                        <groupId>org.codehaus.mojo</groupId>
337
                        <artifactId>exec-maven-plugin</artifactId>
338
                        <configuration>
339
                            <mainClass>org.keycloak.testsuite.TotpGenerator</mainClass>
340
                            <classpathScope>test</classpathScope>
341
                        </configuration>
342
                    </plugin>
343
                </plugins>
344
            </build>
345
        </profile>
346
        <profile>
347
            <id>ldap</id>
348
            <build>
349
                <plugins>
350
                    <plugin>
351
                        <groupId>org.codehaus.mojo</groupId>
352
                        <artifactId>exec-maven-plugin</artifactId>
353
                        <configuration>
354
                            <mainClass>org.keycloak.util.ldap.LDAPEmbeddedServer</mainClass>
355
                            <classpathScope>test</classpathScope>
356
                        </configuration>
357
                    </plugin>
358
                </plugins>
359
            </build>
360
        </profile>
361
        <profile>
362
            <id>kerberos</id>
363
            <build>
364
                <plugins>
365
                    <plugin>
366
                        <groupId>org.codehaus.mojo</groupId>
367
                        <artifactId>exec-maven-plugin</artifactId>
368
                        <configuration>
369
                            <mainClass>org.keycloak.testsuite.KerberosEmbeddedServer</mainClass>
370
                            <classpathScope>test</classpathScope>
371
                        </configuration>
372
                    </plugin>
373
                </plugins>
374
            </build>
375
        </profile>
376
    </profiles>
377
</project>
378

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

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

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

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