Keycloak

Форк
0
117 строк · 4.5 Кб
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-spi</artifactId>
30
    <name>Keycloak Undertow Integration SPI</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
            *;resolution:=optional
40
        </keycloak.osgi.import>
41
        <keycloak.osgi.fragment>${project.groupId}.keycloak-undertow-adapter</keycloak.osgi.fragment>
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-adapter-spi</artifactId>
53
        </dependency>
54
        <dependency>
55
            <groupId>org.keycloak</groupId>
56
            <artifactId>keycloak-common</artifactId>
57
        </dependency>
58
        <dependency>
59
            <groupId>org.jboss.spec.javax.servlet</groupId>
60
            <artifactId>jboss-servlet-api_3.0_spec</artifactId>
61
            <scope>provided</scope>
62
        </dependency>
63
        <dependency>
64
            <groupId>io.undertow</groupId>
65
            <artifactId>undertow-servlet</artifactId>
66
            <scope>provided</scope>
67
        </dependency>
68
        <dependency>
69
            <groupId>io.undertow</groupId>
70
            <artifactId>undertow-core</artifactId>
71
            <scope>provided</scope>
72
        </dependency>
73
        <dependency>
74
            <groupId>junit</groupId>
75
            <artifactId>junit</artifactId>
76
            <scope>test</scope>
77
        </dependency>
78
    </dependencies>
79
    <build>
80
        <plugins>
81
            <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
82
            <plugin>
83
                <artifactId>maven-jar-plugin</artifactId>
84
                <configuration>
85
                    <archive>
86
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
87
                    </archive>
88
                </configuration>
89
            </plugin>
90
            <plugin>
91
                <groupId>org.apache.felix</groupId>
92
                <artifactId>maven-bundle-plugin</artifactId>
93
                <extensions>true</extensions>
94
                <executions>
95
                    <execution>
96
                        <id>bundle-manifest</id>
97
                        <phase>process-classes</phase>
98
                        <goals>
99
                            <goal>manifest</goal>
100
                        </goals>
101
                    </execution>
102
                </executions>
103
                <configuration>
104
                    <instructions>
105
                        <Bundle-ClassPath>.</Bundle-ClassPath>
106
                        <Bundle-Name>${project.name}</Bundle-Name>
107
                        <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
108
                        <Import-Package>${keycloak.osgi.import}</Import-Package>
109
                        <Export-Package>${keycloak.osgi.export}</Export-Package>
110
                        <Fragment-Host>${keycloak.osgi.fragment}</Fragment-Host>
111
                    </instructions>
112
                </configuration>
113
            </plugin>
114
        </plugins>
115
    </build>
116

117
</project>
118

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

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

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

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