Keycloak

Форк
0
126 строк · 5.3 Кб
1
<!--
2
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates
3
  ~ and other contributors as indicated by the @author tags.
4
  ~
5
  ~ Licensed under the Apache License, Version 2.0 (the "License");
6
  ~ you may not use this file except in compliance with the License.
7
  ~ You may obtain a copy of the License at
8
  ~
9
  ~ http://www.apache.org/licenses/LICENSE-2.0
10
  ~
11
  ~ Unless required by applicable law or agreed to in writing, software
12
  ~ distributed under the License is distributed on an "AS IS" BASIS,
13
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
  ~ See the License for the specific language governing permissions and
15
  ~ limitations under the License.
16
  -->
17

18
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20
    <modelVersion>4.0.0</modelVersion>
21
    <parent>
22
        <artifactId>keycloak-quarkus-parent</artifactId>
23
        <groupId>org.keycloak</groupId>
24
        <version>999.0.0-SNAPSHOT</version>
25
    </parent>
26

27
    <artifactId>keycloak-quarkus-dist</artifactId>
28
    <packaging>pom</packaging>
29
    <name>Keycloak Quarkus Server Distribution</name>
30
    <description/>
31

32
    <dependencies>
33
        <dependency>
34
            <groupId>org.keycloak</groupId>
35
            <artifactId>keycloak-quarkus-server-app</artifactId>
36
            <version>${project.version}</version>
37
            <exclusions>
38
                <exclusion>
39
                    <groupId>*</groupId>
40
                    <artifactId>*</artifactId>
41
                </exclusion>
42
            </exclusions>
43
        </dependency>
44
        <dependency>
45
            <groupId>org.keycloak</groupId>
46
            <artifactId>keycloak-quarkus-server-deployment</artifactId>
47
            <version>${project.version}</version>
48
            <exclusions>
49
                <exclusion>
50
                    <groupId>*</groupId>
51
                    <artifactId>*</artifactId>
52
                </exclusion>
53
            </exclusions>
54
        </dependency>
55
        <dependency>
56
            <groupId>org.keycloak</groupId>
57
            <artifactId>keycloak-client-cli-dist</artifactId>
58
            <type>zip</type>
59
        </dependency>
60
    </dependencies>
61

62
    <build>
63
        <finalName>${dist.archive.file}</finalName>
64
        <plugins>
65
            <plugin>
66
                <groupId>org.apache.maven.plugins</groupId>
67
                <artifactId>maven-dependency-plugin</artifactId>
68
                <executions>
69
                    <execution>
70
                        <id>unpack-cli</id>
71
                        <phase>validate</phase>
72
                        <goals>
73
                            <goal>unpack</goal>
74
                        </goals>
75
                        <configuration>
76
                            <artifactItems>
77
                                <artifactItem>
78
                                    <groupId>org.keycloak</groupId>
79
                                    <artifactId>keycloak-client-cli-dist</artifactId>
80
                                    <type>zip</type>
81
                                    <outputDirectory>target/</outputDirectory>
82
                                </artifactItem>
83
                                <artifactItem>
84
                                    <groupId>org.keycloak</groupId>
85
                                    <artifactId>keycloak-quarkus-server</artifactId>
86
                                    <type>jar</type>
87
                                    <outputDirectory>target/keycloak-quarkus-server</outputDirectory>
88
                                </artifactItem>
89
                                <artifactItem>
90
                                    <groupId>org.keycloak</groupId>
91
                                    <artifactId>keycloak-quarkus-server-app</artifactId>
92
                                    <type>jar</type>
93
                                    <outputDirectory>target/keycloak-quarkus-server-app</outputDirectory>
94
                                </artifactItem>
95
                            </artifactItems>
96
                        </configuration>
97
                    </execution>
98
                </executions>
99
            </plugin>
100
            <plugin>
101
                <groupId>org.apache.maven.plugins</groupId>
102
                <artifactId>maven-assembly-plugin</artifactId>
103
                <executions>
104
                    <execution>
105
                        <id>assemble</id>
106
                        <phase>package</phase>
107
                        <goals>
108
                            <goal>single</goal>
109
                        </goals>
110
                        <configuration>
111
                            <descriptors>
112
                                <descriptor>assembly.xml</descriptor>
113
                            </descriptors>
114
                            <recompressZippedFiles>true</recompressZippedFiles>
115
                            <finalName>${project.build.finalName}</finalName>
116
                            <appendAssemblyId>false</appendAssemblyId>
117
                            <outputDirectory>${project.build.directory}</outputDirectory>
118
                            <workDirectory>${project.build.directory}/assembly/work</workDirectory>
119
                        </configuration>
120
                    </execution>
121
                </executions>
122
            </plugin>
123
        </plugins>
124
    </build>
125

126
</project>
127

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

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

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

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