Keycloak
138 строк · 5.2 Кб
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-servlet-filter-adapter</artifactId>30<name>Keycloak Servlet Filter Adapter Integration</name>31<description/>32
33<properties>34<keycloak.osgi.export>35org.keycloak.adapters.servlet.*
36</keycloak.osgi.export>37<keycloak.osgi.import>38javax.servlet.*;version="[3.1,5)";resolution:=optional,
39org.keycloak.*;version="${project.version}",
40*;resolution:=optional
41</keycloak.osgi.import>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-core</artifactId>53</dependency>54<dependency>55<groupId>org.keycloak</groupId>56<artifactId>keycloak-adapter-spi</artifactId>57</dependency>58<dependency>59<groupId>org.keycloak</groupId>60<artifactId>keycloak-servlet-adapter-spi</artifactId>61</dependency>62<dependency>63<groupId>org.keycloak</groupId>64<artifactId>keycloak-adapter-core</artifactId>65</dependency>66<dependency>67<groupId>org.keycloak</groupId>68<artifactId>keycloak-policy-enforcer</artifactId>69</dependency>70<dependency>71<groupId>org.apache.httpcomponents</groupId>72<artifactId>httpclient</artifactId>73</dependency>74<dependency>75<groupId>org.bouncycastle</groupId>76<artifactId>bcprov-jdk18on</artifactId>77</dependency>78<dependency>79<groupId>com.fasterxml.jackson.core</groupId>80<artifactId>jackson-core</artifactId>81</dependency>82<dependency>83<groupId>com.fasterxml.jackson.core</groupId>84<artifactId>jackson-databind</artifactId>85</dependency>86<dependency>87<groupId>com.fasterxml.jackson.core</groupId>88<artifactId>jackson-annotations</artifactId>89</dependency>90<dependency>91<groupId>org.jboss.spec.javax.servlet</groupId>92<artifactId>jboss-servlet-api_3.0_spec</artifactId>93<scope>provided</scope>94</dependency>95<dependency>96<groupId>junit</groupId>97<artifactId>junit</artifactId>98<scope>test</scope>99</dependency>100</dependencies>101<build>102<plugins>103<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->104<plugin>105<artifactId>maven-jar-plugin</artifactId>106<configuration>107<archive>108<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>109</archive>110</configuration>111</plugin>112<plugin>113<groupId>org.apache.felix</groupId>114<artifactId>maven-bundle-plugin</artifactId>115<extensions>true</extensions>116<executions>117<execution>118<id>bundle-manifest</id>119<phase>process-classes</phase>120<goals>121<goal>manifest</goal>122</goals>123</execution>124</executions>125<configuration>126<instructions>127<Bundle-ClassPath>.</Bundle-ClassPath>128<Bundle-Name>${project.name}</Bundle-Name>129<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>130<Import-Package>${keycloak.osgi.import}</Import-Package>131<Export-Package>${keycloak.osgi.export}</Export-Package>132</instructions>133</configuration>134</plugin>135</plugins>136</build>137
138</project>139