Keycloak
122 строки · 4.6 Кб
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-jetty-adapter-spi</artifactId>30<name>Keycloak Jetty Adapter SPI</name>31<properties>32<jetty9.version>8.1.17.v20150415</jetty9.version>33<keycloak.osgi.export>34org.keycloak.adapters.jetty.spi.*
35</keycloak.osgi.export>36<keycloak.osgi.import>37org.eclipse.jetty.*;version="[8.1,10)";resolution:=optional,
38javax.servlet.*;version="[2.5,4)";resolution:=optional,
39org.keycloak.*;version="${project.version}",
40*;resolution:=optional
41</keycloak.osgi.import>42</properties>43<description />44
45<dependencies>46<dependency>47<groupId>org.jboss.logging</groupId>48<artifactId>jboss-logging</artifactId>49</dependency>50<dependency>51<groupId>org.keycloak</groupId>52<artifactId>keycloak-common</artifactId>53</dependency>54<dependency>55<groupId>org.keycloak</groupId>56<artifactId>keycloak-adapter-spi</artifactId>57</dependency>58<dependency>59<groupId>org.eclipse.jetty</groupId>60<artifactId>jetty-server</artifactId>61<version>${jetty9.version}</version>62<scope>provided</scope>63</dependency>64
65<dependency>66<groupId>org.eclipse.jetty</groupId>67<artifactId>jetty-util</artifactId>68<version>${jetty9.version}</version>69<scope>provided</scope>70</dependency>71
72<dependency>73<groupId>org.eclipse.jetty</groupId>74<artifactId>jetty-security</artifactId>75<version>${jetty9.version}</version>76<scope>provided</scope>77</dependency>78
79<dependency>80<groupId>junit</groupId>81<artifactId>junit</artifactId>82<scope>test</scope>83</dependency>84</dependencies>85<build>86<plugins>87<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->88<plugin>89<artifactId>maven-jar-plugin</artifactId>90<configuration>91<archive>92<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>93</archive>94</configuration>95</plugin>96<plugin>97<groupId>org.apache.felix</groupId>98<artifactId>maven-bundle-plugin</artifactId>99<extensions>true</extensions>100<executions>101<execution>102<id>bundle-manifest</id>103<phase>process-classes</phase>104<goals>105<goal>manifest</goal>106</goals>107</execution>108</executions>109<configuration>110<instructions>111<Bundle-ClassPath>.</Bundle-ClassPath>112<Bundle-Name>${project.name}</Bundle-Name>113<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>114<Import-Package>${keycloak.osgi.import}</Import-Package>115<Export-Package>${keycloak.osgi.export}</Export-Package>116</instructions>117</configuration>118</plugin>119</plugins>120</build>121
122</project>123