2014-11-04 20:55:33 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-05-22 06:42:40 +00:00
|
|
|
<version>1.3.0.Final-SNAPSHOT</version>
|
2014-11-04 20:55:33 +00:00
|
|
|
<relativePath>../../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2014-11-08 02:10:15 +00:00
|
|
|
<artifactId>keycloak-jetty91-adapter</artifactId>
|
|
|
|
<name>Keycloak Jetty 9.1.x Integration</name>
|
2014-11-04 20:55:33 +00:00
|
|
|
<properties>
|
2014-11-08 02:10:15 +00:00
|
|
|
<jetty9.version>9.1.5.v20140505</jetty9.version>
|
2015-01-06 17:04:47 +00:00
|
|
|
<keycloak.osgi.export>
|
|
|
|
org.keycloak.adapters.jetty.*
|
|
|
|
</keycloak.osgi.export>
|
|
|
|
<keycloak.osgi.import>
|
|
|
|
org.eclipse.jetty.*;version="[9.1,9.2)";resolution:=optional,
|
|
|
|
javax.servlet.*;version="[3.0,4)";resolution:=optional,
|
|
|
|
org.keycloak.*;version="${project.version}",
|
|
|
|
*;resolution:=optional
|
|
|
|
</keycloak.osgi.import>
|
2014-11-04 20:55:33 +00:00
|
|
|
</properties>
|
|
|
|
<description />
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
<version>${jboss.logging.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
</dependency>
|
2014-11-08 02:10:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-adapter-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2014-11-10 21:59:31 +00:00
|
|
|
<artifactId>keycloak-jetty-core</artifactId>
|
2014-12-18 03:29:18 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-security</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2014-11-08 02:10:15 +00:00
|
|
|
</dependency>
|
2014-11-04 20:55:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.iharder</groupId>
|
|
|
|
<artifactId>base64</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
2015-02-10 13:14:54 +00:00
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
2014-11-04 20:55:33 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
2014-11-06 22:27:31 +00:00
|
|
|
<version>${jetty9.version}</version>
|
2014-11-08 02:10:15 +00:00
|
|
|
<scope>compile</scope>
|
2014-11-04 20:55:33 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
2014-11-06 22:27:31 +00:00
|
|
|
<version>${jetty9.version}</version>
|
2014-11-08 02:10:15 +00:00
|
|
|
<scope>compile</scope>
|
2014-11-04 20:55:33 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-security</artifactId>
|
2014-11-06 22:27:31 +00:00
|
|
|
<version>${jetty9.version}</version>
|
2014-11-08 02:10:15 +00:00
|
|
|
<scope>compile</scope>
|
2014-11-04 20:55:33 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-01-06 17:04:47 +00:00
|
|
|
|
|
|
|
<!-- 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>
|
2014-11-04 20:55:33 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|