Keycloak

Форк
0
109 строк · 4.4 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
3
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
    <modelVersion>4.0.0</modelVersion>
6

7
    <parent>
8
        <groupId>org.keycloak</groupId>
9
        <artifactId>keycloak-authz-parent</artifactId>
10
        <version>999.0.0-SNAPSHOT</version>
11
        <relativePath>../pom.xml</relativePath>
12
    </parent>
13

14
    <artifactId>keycloak-authz-client</artifactId>
15
    <packaging>jar</packaging>
16

17
    <name>Keycloak Authz: Client API</name>
18
    <description>KeyCloak AuthZ: Client API</description>
19

20
    <properties>
21
        <keycloak.osgi.export>
22
            org.keycloak.authorization.client.*
23
        </keycloak.osgi.export>
24
        <keycloak.osgi.import>
25
            org.keycloak.*;version="${project.version}",
26
            org.apache.http.auth.*;version=${apache.httpcomponents.fuse.version},
27
            org.apache.http.client.*;version=${apache.httpcomponents.fuse.version},
28
            org.apache.http.conn.*;version=${apache.httpcomponents.fuse.version},
29
            org.apache.http.cookie.*;version=${apache.httpcomponents.fuse.version},
30
            org.apache.http.impl.auth.*;version=${apache.httpcomponents.fuse.version},
31
            org.apache.http.impl.client.*;version=${apache.httpcomponents.fuse.version},
32
            org.apache.http.impl.conn.*;version=${apache.httpcomponents.fuse.version},
33
            org.apache.http.impl.cookie.*;version=${apache.httpcomponents.fuse.version},
34
            org.apache.http.impl.execchain.*;version=${apache.httpcomponents.fuse.version},
35
            org.apache.http.*;version=${apache.httpcomponents.httpcore.fuse.version},
36
            *;resolution:=optional
37
        </keycloak.osgi.import>
38
    </properties>
39

40
    <dependencies>
41
        <dependency>
42
            <groupId>org.keycloak</groupId>
43
            <artifactId>keycloak-core</artifactId>
44
        </dependency>
45
        <dependency>
46
            <groupId>org.jboss.logging</groupId>
47
            <artifactId>jboss-logging</artifactId>
48
        </dependency>
49

50
        <dependency>
51
            <groupId>org.apache.httpcomponents</groupId>
52
            <artifactId>httpclient</artifactId>
53
        </dependency>
54

55
        <dependency>
56
            <groupId>com.fasterxml.jackson.core</groupId>
57
            <artifactId>jackson-core</artifactId>
58
            <scope>provided</scope>
59
        </dependency>
60
        <dependency>
61
            <groupId>com.fasterxml.jackson.core</groupId>
62
            <artifactId>jackson-databind</artifactId>
63
            <scope>provided</scope>
64
        </dependency>
65
        <dependency>
66
            <groupId>com.fasterxml.jackson.core</groupId>
67
            <artifactId>jackson-annotations</artifactId>
68
            <scope>provided</scope>
69
        </dependency>
70
    </dependencies>
71

72
    <build>
73
        <plugins>
74
            <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
75
            <plugin>
76
                <artifactId>maven-jar-plugin</artifactId>
77
                <configuration>
78
                    <archive>
79
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
80
                    </archive>
81
                </configuration>
82
            </plugin>
83
            <plugin>
84
                <groupId>org.apache.felix</groupId>
85
                <artifactId>maven-bundle-plugin</artifactId>
86
                <extensions>true</extensions>
87
                <executions>
88
                    <execution>
89
                        <id>bundle-manifest</id>
90
                        <phase>process-classes</phase>
91
                        <goals>
92
                            <goal>manifest</goal>
93
                        </goals>
94
                    </execution>
95
                </executions>
96
                <configuration>
97
                    <instructions>
98
                        <Bundle-ClassPath>.</Bundle-ClassPath>
99
                        <Bundle-Name>${project.name}</Bundle-Name>
100
                        <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
101
                        <Import-Package>${keycloak.osgi.import}</Import-Package>
102
                        <Export-Package>${keycloak.osgi.export}</Export-Package>
103
                    </instructions>
104
                </configuration>
105
            </plugin>
106
        </plugins>
107
    </build>
108

109
</project>
110

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

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

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

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