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