Keycloak

Форк
0
/
pom.xml 
109 строк · 4.1 Кб
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-common</artifactId>
30
    <name>Keycloak Common</name>
31
    <packaging>jar</packaging>
32
    <description>Common library and dependencies shared with server and all adapters</description>
33

34
    <properties>
35
        <timestamp>${maven.build.timestamp}</timestamp>
36
        <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
37
        <keycloak.osgi.export>
38
            org.keycloak.common.*
39
        </keycloak.osgi.export>
40
        <keycloak.osgi.import>
41
            *;resolution:=optional
42
        </keycloak.osgi.import>
43
    </properties>
44
    <dependencies>
45
        
46
        <dependency>
47
            <groupId>org.jboss.logging</groupId>
48
            <artifactId>jboss-logging</artifactId>
49
            <scope>provided</scope>
50
        </dependency>
51
        <dependency>
52
            <groupId>junit</groupId>
53
            <artifactId>junit</artifactId>
54
            <scope>test</scope>
55
        </dependency>
56
        <dependency>
57
            <groupId>org.hamcrest</groupId>
58
            <artifactId>hamcrest</artifactId>
59
            <scope>test</scope>
60
        </dependency>
61
        <dependency>
62
            <groupId>jakarta.activation</groupId>
63
            <artifactId>jakarta.activation-api</artifactId>
64
        </dependency>
65
    </dependencies>
66
    <build>
67
        <resources>
68
            <resource>
69
                <directory>src/main/resources</directory>
70
                <filtering>true</filtering>
71
            </resource>
72
        </resources>
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 Вы можете самостоятельно в настройках Вашего браузера.