112 lines
4.4 KiB
XML
112 lines
4.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-authz-parent</artifactId>
|
|
<version>9.0.0-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>KeyCloak Authz: Client API</name>
|
|
<description>KeyCloak AuthZ: Client API</description>
|
|
|
|
<properties>
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
|
|
<keycloak.osgi.export>
|
|
org.keycloak.authorization.client.*
|
|
</keycloak.osgi.export>
|
|
<keycloak.osgi.import>
|
|
org.keycloak.*;version="${project.version}",
|
|
org.apache.http.auth.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.client.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.conn.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.cookie.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.impl.auth.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.impl.client.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.impl.conn.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.impl.cookie.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.impl.execchain.*;version=${apache.httpcomponents.version},
|
|
org.apache.http.*;version=${apache.httpcomponents.httpcore.version},
|
|
*;resolution:=optional
|
|
</keycloak.osgi.import>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.logging</groupId>
|
|
<artifactId>jboss-logging</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-ClassPath>.</Bundle-ClassPath>
|
|
<Bundle-Name>${project.name}</Bundle-Name>
|
|
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
|
|
<Import-Package>${keycloak.osgi.import}</Import-Package>
|
|
<Export-Package>${keycloak.osgi.export}</Export-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|