2016-04-19 12:05:17 +00:00
|
|
|
<!--
|
|
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
|
|
~ and other contributors as indicated by the @author tags.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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>
|
2018-08-03 12:15:52 +00:00
|
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2018-12-04 12:53:43 +00:00
|
|
|
<version>4.8.0.Final-SNAPSHOT</version>
|
2016-04-19 12:05:17 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<name>Keycloak Examples - External Config</name>
|
2018-08-03 12:15:52 +00:00
|
|
|
<artifactId>fuse-example-external-config</artifactId>
|
2016-04-19 12:05:17 +00:00
|
|
|
<packaging>war</packaging>
|
2018-08-03 12:15:52 +00:00
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2016-04-19 12:05:17 +00:00
|
|
|
<description>
|
|
|
|
Keycloak External Config Example
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<keycloak.osgi.export>
|
|
|
|
</keycloak.osgi.export>
|
|
|
|
<keycloak.osgi.import>
|
2018-05-23 12:15:00 +00:00
|
|
|
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},
|
2016-04-19 12:05:17 +00:00
|
|
|
javax.servlet.*;version="[2.5,4)",
|
2018-05-18 21:12:05 +00:00
|
|
|
org.keycloak.adapters.jetty;version="${project.version}";resolution:=optional,
|
2016-04-19 12:05:17 +00:00
|
|
|
org.keycloak.adapters;version="${project.version}",
|
|
|
|
org.keycloak.constants;version="${project.version}",
|
|
|
|
org.keycloak.adapters.osgi;version="${project.version}",
|
|
|
|
org.keycloak.util;version="${project.version}",
|
|
|
|
org.keycloak.*;version="${project.version}",
|
|
|
|
*;resolution:=optional
|
|
|
|
</keycloak.osgi.import>
|
|
|
|
<keycloak.osgi.private>
|
|
|
|
org.keycloak.example.*
|
|
|
|
</keycloak.osgi.private>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.servlet</groupId>
|
|
|
|
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Contains KeycloakDeployment and KeycloakConfigResolver -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-adapter-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-adapter-spi</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Contains KeycloakPrincipal -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>external-config</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestFile>${basedir}/target/classes/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>
|
|
|
|
<supportedProjectTypes>
|
|
|
|
<supportedProjectType>war</supportedProjectType>
|
|
|
|
</supportedProjectTypes>
|
|
|
|
<instructions>
|
|
|
|
<Webapp-Context>external-config</Webapp-Context>
|
|
|
|
<Web-ContextPath>external-config</Web-ContextPath>
|
|
|
|
<Embed-Directory>WEB-INF/lib</Embed-Directory>
|
|
|
|
<Bundle-Name>${project.name}</Bundle-Name>
|
|
|
|
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
|
|
|
|
<Import-Package>${keycloak.osgi.import}</Import-Package>
|
|
|
|
<Private-Package>${keycloak.osgi.private}</Private-Package>
|
|
|
|
<Export-Package>${keycloak.osgi.export}</Export-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|