Keycloak
142 строки · 5.3 Кб
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-saml-jetty-adapter-core</artifactId>30<name>Keycloak Jetty Core SAML Integration</name>31<properties>32<jetty9.version>8.1.17.v20150415</jetty9.version>33<keycloak.osgi.export>34org.keycloak.adapters.jetty.core.*
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-adapter-spi</artifactId>53</dependency>54<dependency>55<groupId>org.keycloak</groupId>56<artifactId>keycloak-jetty-adapter-spi</artifactId>57</dependency>58<dependency>59<groupId>org.keycloak</groupId>60<artifactId>keycloak-saml-core</artifactId>61</dependency>62<dependency>63<groupId>org.keycloak</groupId>64<artifactId>keycloak-saml-adapter-api-public</artifactId>65</dependency>66<dependency>67<groupId>org.keycloak</groupId>68<artifactId>keycloak-saml-adapter-core</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>org.eclipse.jetty</groupId>80<artifactId>jetty-server</artifactId>81<version>${jetty9.version}</version>82<scope>provided</scope>83</dependency>84
85<dependency>86<groupId>org.eclipse.jetty</groupId>87<artifactId>jetty-util</artifactId>88<version>${jetty9.version}</version>89<scope>provided</scope>90</dependency>91
92<dependency>93<groupId>org.eclipse.jetty</groupId>94<artifactId>jetty-security</artifactId>95<version>${jetty9.version}</version>96<scope>provided</scope>97</dependency>98
99<dependency>100<groupId>junit</groupId>101<artifactId>junit</artifactId>102<scope>test</scope>103</dependency>104</dependencies>105<build>106<plugins>107<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->108<plugin>109<artifactId>maven-jar-plugin</artifactId>110<configuration>111<archive>112<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>113</archive>114</configuration>115</plugin>116<plugin>117<groupId>org.apache.felix</groupId>118<artifactId>maven-bundle-plugin</artifactId>119<extensions>true</extensions>120<executions>121<execution>122<id>bundle-manifest</id>123<phase>process-classes</phase>124<goals>125<goal>manifest</goal>126</goals>127</execution>128</executions>129<configuration>130<instructions>131<Bundle-ClassPath>.</Bundle-ClassPath>132<Bundle-Name>${project.name}</Bundle-Name>133<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>134<Import-Package>${keycloak.osgi.import}</Import-Package>135<Export-Package>${keycloak.osgi.export}</Export-Package>136</instructions>137</configuration>138</plugin>139</plugins>140</build>141
142</project>143