Keycloak
159 строк · 6.8 Кб
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"20xsi: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-adapter-core</artifactId>30<name>Keycloak Adapter Core</name>31<description/>32
33<properties>34<keycloak.osgi.export>35org.keycloak.adapters.*
36</keycloak.osgi.export>37<keycloak.osgi.import>38org.keycloak.*;version="${project.version}",
39org.apache.http.auth.*;version=${apache.httpcomponents.fuse.version},
40org.apache.http.client.*;version=${apache.httpcomponents.fuse.version},
41org.apache.http.conn.*;version=${apache.httpcomponents.fuse.version},
42org.apache.http.cookie.*;version=${apache.httpcomponents.fuse.version},
43org.apache.http.impl.auth.*;version=${apache.httpcomponents.fuse.version},
44org.apache.http.impl.client.*;version=${apache.httpcomponents.fuse.version},
45org.apache.http.impl.conn.*;version=${apache.httpcomponents.fuse.version},
46org.apache.http.impl.cookie.*;version=${apache.httpcomponents.fuse.version},
47org.apache.http.impl.execchain.*;version=${apache.httpcomponents.fuse.version},
48org.apache.http.*;version=${apache.httpcomponents.httpcore.fuse.version},
49org.apache.karaf.jaas.boot.principal;resolution:=optional,
50org.apache.karaf.jaas.modules;resolution:=optional,
51*;resolution:=optional
52</keycloak.osgi.import>53</properties>54
55<dependencies>56<dependency>57<groupId>org.bouncycastle</groupId>58<artifactId>bcprov-jdk18on</artifactId>59<scope>provided</scope>60</dependency>61<dependency>62<groupId>org.jboss.logging</groupId>63<artifactId>jboss-logging</artifactId>64<scope>provided</scope>65</dependency>66<dependency>67<groupId>org.keycloak</groupId>68<artifactId>keycloak-adapter-spi</artifactId>69<scope>provided</scope>70</dependency>71<dependency>72<groupId>org.keycloak</groupId>73<artifactId>keycloak-core</artifactId>74<scope>provided</scope>75</dependency>76<dependency>77<groupId>org.keycloak</groupId>78<artifactId>${keycloak.crypto.artifactId}</artifactId>79</dependency>80<dependency>81<groupId>org.keycloak</groupId>82<artifactId>keycloak-authz-client</artifactId>83<scope>provided</scope>84</dependency>85<dependency>86<groupId>org.keycloak</groupId>87<artifactId>keycloak-policy-enforcer</artifactId>88<scope>provided</scope>89</dependency>90<dependency>91<groupId>com.fasterxml.jackson.core</groupId>92<artifactId>jackson-core</artifactId>93<scope>provided</scope>94</dependency>95<dependency>96<groupId>com.fasterxml.jackson.core</groupId>97<artifactId>jackson-databind</artifactId>98<scope>provided</scope>99</dependency>100<dependency>101<groupId>com.fasterxml.jackson.core</groupId>102<artifactId>jackson-annotations</artifactId>103<scope>provided</scope>104</dependency>105<dependency>106<groupId>junit</groupId>107<artifactId>junit</artifactId>108<scope>test</scope>109</dependency>110<dependency>111<groupId>org.apache.httpcomponents</groupId>112<artifactId>httpclient</artifactId>113<scope>provided</scope>114</dependency>115</dependencies>116<build>117<plugins>118<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->119<plugin>120<artifactId>maven-jar-plugin</artifactId>121<configuration>122<archive>123<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>124</archive>125</configuration>126</plugin>127<plugin>128<groupId>org.apache.felix</groupId>129<artifactId>maven-bundle-plugin</artifactId>130<extensions>true</extensions>131<executions>132<execution>133<id>bundle-manifest</id>134<phase>process-classes</phase>135<goals>136<goal>manifest</goal>137</goals>138</execution>139</executions>140<configuration>141<instructions>142<Bundle-ClassPath>.</Bundle-ClassPath>143<Bundle-Name>${project.name}</Bundle-Name>144<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>145<Import-Package>${keycloak.osgi.import}</Import-Package>146<Export-Package>${keycloak.osgi.export}</Export-Package>147<Require-Capability>148osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; filter:="(osgi.serviceloader=org.keycloak.adapters.authorization.ClaimInformationPointProviderFactory)";cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
149</Require-Capability>150<Provide-Capability>151osgi.serviceloader; osgi.serviceloader=org.keycloak.adapters.authorization.ClaimInformationPointProviderFactory
152</Provide-Capability>153</instructions>154</configuration>155</plugin>156</plugins>157</build>158
159</project>160