Keycloak

Форк
0
145 строк · 5.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-parent</artifactId>
23
        <groupId>org.keycloak</groupId>
24
        <version>999.0.0-SNAPSHOT</version>
25
        <relativePath>../../../pom.xml</relativePath>
26
    </parent>
27
    <modelVersion>4.0.0</modelVersion>
28

29
    <artifactId>keycloak-undertow-adapter</artifactId>
30
    <name>Keycloak Undertow Integration</name>
31
    <description/>
32

33
    <properties>
34
        <keycloak.osgi.export>
35
            org.keycloak.adapters.undertow.*
36
        </keycloak.osgi.export>
37
        <keycloak.osgi.import>
38
            io.undertow.*;version="[1.4,3)",
39
            javax.servlet.*;version="[3.1,5)";resolution:=optional,
40
            *;resolution:=optional
41
        </keycloak.osgi.import>
42
    </properties>
43

44
    <dependencies>
45
        <dependency>
46
            <groupId>org.jboss.logging</groupId>
47
            <artifactId>jboss-logging</artifactId>
48
            <scope>provided</scope>
49
        </dependency>
50
        <dependency>
51
            <groupId>org.keycloak</groupId>
52
            <artifactId>keycloak-core</artifactId>
53
        </dependency>
54
        <dependency>
55
            <groupId>org.keycloak</groupId>
56
            <artifactId>keycloak-adapter-spi</artifactId>
57
        </dependency>
58
        <dependency>
59
            <groupId>org.keycloak</groupId>
60
            <artifactId>keycloak-undertow-adapter-spi</artifactId>
61
        </dependency>
62
        <dependency>
63
            <groupId>org.keycloak</groupId>
64
            <artifactId>keycloak-adapter-core</artifactId>
65
        </dependency>
66
        <dependency>
67
            <groupId>org.apache.httpcomponents</groupId>
68
            <artifactId>httpclient</artifactId>
69
        </dependency>
70
        <dependency>
71
            <groupId>org.bouncycastle</groupId>
72
            <artifactId>bcprov-jdk18on</artifactId>
73
        </dependency>
74
        <dependency>
75
            <groupId>com.fasterxml.jackson.core</groupId>
76
            <artifactId>jackson-core</artifactId>
77
        </dependency>
78
        <dependency>
79
            <groupId>com.fasterxml.jackson.core</groupId>
80
            <artifactId>jackson-databind</artifactId>
81
        </dependency>
82
        <dependency>
83
            <groupId>com.fasterxml.jackson.core</groupId>
84
            <artifactId>jackson-annotations</artifactId>
85
        </dependency>
86
        <dependency>
87
            <groupId>org.jboss.spec.javax.servlet</groupId>
88
            <artifactId>jboss-servlet-api_3.0_spec</artifactId>
89
            <scope>provided</scope>
90
        </dependency>
91

92
        <dependency>
93
            <groupId>io.undertow</groupId>
94
            <artifactId>undertow-servlet</artifactId>
95
            <scope>provided</scope>
96
        </dependency>
97
        <dependency>
98
            <groupId>io.undertow</groupId>
99
            <artifactId>undertow-core</artifactId>
100
            <scope>provided</scope>
101
        </dependency>
102
        <dependency>
103
            <groupId>junit</groupId>
104
            <artifactId>junit</artifactId>
105
            <scope>test</scope>
106
        </dependency>
107
    </dependencies>
108
    <build>
109
        <plugins>
110
            <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
111
            <plugin>
112
                <artifactId>maven-jar-plugin</artifactId>
113
                <configuration>
114
                    <archive>
115
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
116
                    </archive>
117
                </configuration>
118
            </plugin>
119
            <plugin>
120
                <groupId>org.apache.felix</groupId>
121
                <artifactId>maven-bundle-plugin</artifactId>
122
                <extensions>true</extensions>
123
                <executions>
124
                    <execution>
125
                        <id>bundle-manifest</id>
126
                        <phase>process-classes</phase>
127
                        <goals>
128
                            <goal>manifest</goal>
129
                        </goals>
130
                    </execution>
131
                </executions>
132
                <configuration>
133
                    <instructions>
134
                        <Bundle-ClassPath>.</Bundle-ClassPath>
135
                        <Bundle-Name>${project.name}</Bundle-Name>
136
                        <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
137
                        <Import-Package>${keycloak.osgi.import}</Import-Package>
138
                        <Export-Package>${keycloak.osgi.export}</Export-Package>
139
                    </instructions>
140
                </configuration>
141
            </plugin>
142
        </plugins>
143
    </build>
144

145
</project>
146

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

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

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

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