Keycloak
105 строк · 4.0 Кб
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-adapter-spi</artifactId>30<name>Keycloak Servlet Integration</name>31<description/>32
33<properties>34<keycloak.osgi.export>35org.keycloak.adapters.servlet.*
36</keycloak.osgi.export>37<keycloak.osgi.import>38*;resolution:=optional
39</keycloak.osgi.import>40<keycloak.osgi.fragment>${project.groupId}.keycloak-servlet-filter-adapter</keycloak.osgi.fragment>41</properties>42
43<dependencies>44<dependency>45<groupId>org.jboss.logging</groupId>46<artifactId>jboss-logging</artifactId>47</dependency>48<dependency>49<groupId>org.keycloak</groupId>50<artifactId>keycloak-adapter-spi</artifactId>51</dependency>52<dependency>53<groupId>org.keycloak</groupId>54<artifactId>keycloak-common</artifactId>55</dependency>56<dependency>57<groupId>org.jboss.spec.javax.servlet</groupId>58<artifactId>jboss-servlet-api_3.0_spec</artifactId>59<scope>provided</scope>60</dependency>61<dependency>62<groupId>junit</groupId>63<artifactId>junit</artifactId>64<scope>test</scope>65</dependency>66</dependencies>67<build>68<plugins>69<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->70<plugin>71<artifactId>maven-jar-plugin</artifactId>72<configuration>73<archive>74<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>75</archive>76</configuration>77</plugin>78<plugin>79<groupId>org.apache.felix</groupId>80<artifactId>maven-bundle-plugin</artifactId>81<extensions>true</extensions>82<executions>83<execution>84<id>bundle-manifest</id>85<phase>process-classes</phase>86<goals>87<goal>manifest</goal>88</goals>89</execution>90</executions>91<configuration>92<instructions>93<Bundle-ClassPath>.</Bundle-ClassPath>94<Bundle-Name>${project.name}</Bundle-Name>95<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>96<Import-Package>${keycloak.osgi.import}</Import-Package>97<Export-Package>${keycloak.osgi.export}</Export-Package>98<Fragment-Host>${keycloak.osgi.fragment}</Fragment-Host>99</instructions>100</configuration>101</plugin>102</plugins>103</build>104
105</project>106