2015-11-13 00:57:07 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +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.
|
|
|
|
-->
|
|
|
|
|
2015-11-13 00:57:07 +00:00
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-tests-adapters</artifactId>
|
2016-03-10 06:28:27 +00:00
|
|
|
<version>1.9.2.Final-SNAPSHOT</version>
|
2015-11-13 00:57:07 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-adapters-eap6</artifactId>
|
|
|
|
<name>Adapter Tests on EAP 6</name>
|
|
|
|
|
|
|
|
<properties>
|
2016-01-07 17:58:32 +00:00
|
|
|
<app.server.eap6.home>${containers.home}/jboss-eap-6.4</app.server.eap6.home>
|
2015-12-18 09:49:57 +00:00
|
|
|
<adapter.libs.eap6>${containers.home}/keycloak-eap6-adapter-dist</adapter.libs.eap6>
|
2016-01-08 10:13:59 +00:00
|
|
|
<version.adapter.dist>${project.version}</version.adapter.dist>
|
2015-11-13 00:57:07 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.eap6>true</app.server.eap6>
|
2016-01-07 17:58:32 +00:00
|
|
|
<app.server.eap6.home>${app.server.eap6.home}</app.server.eap6.home>
|
2015-11-13 00:57:07 +00:00
|
|
|
<adapter.libs.eap6>${adapter.libs.eap6}</adapter.libs.eap6>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-12-18 09:49:57 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-01-12 13:31:28 +00:00
|
|
|
<id>unpack-eap6-with-adapters</id>
|
2015-12-18 09:49:57 +00:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.jboss.as</groupId>
|
|
|
|
<artifactId>jboss-as-dist</artifactId>
|
2016-02-09 19:15:23 +00:00
|
|
|
<version>${jboss.as.version}</version>
|
2015-12-18 09:49:57 +00:00
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
2016-01-08 10:13:59 +00:00
|
|
|
<version>${version.adapter.dist}</version>
|
2015-12-18 09:49:57 +00:00
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${adapter.libs.eap6}</outputDirectory>
|
|
|
|
</artifactItem>
|
2015-12-21 11:36:34 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-eap6-adapter-dist</artifactId>
|
2016-02-02 10:05:35 +00:00
|
|
|
<version>${version.adapter.dist}</version>
|
2015-12-21 11:36:34 +00:00
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${adapter.libs.eap6}</outputDirectory>
|
|
|
|
</artifactItem>
|
2015-12-18 09:49:57 +00:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-02-29 16:23:27 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>configure-adapter-debug-log</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${app.server.eap6.home}/standalone/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>src/main/xslt/add-adapter-log-level.xsl</stylesheet>
|
|
|
|
<outputDir>${app.server.eap6.home}/standalone/configuration</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-11-13 00:57:07 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
2015-12-18 12:40:00 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapter-jdk</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>adapter.jdk</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-12-17 22:20:37 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2015-12-18 12:40:00 +00:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
2015-12-17 22:20:37 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-12-18 12:40:00 +00:00
|
|
|
<id>add-java-home-to-arquillian-xml</id>
|
|
|
|
<phase>process-resources</phase>
|
2015-12-17 22:20:37 +00:00
|
|
|
<goals>
|
2015-12-18 12:40:00 +00:00
|
|
|
<goal>transform</goal>
|
2015-12-17 22:20:37 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-12-18 12:40:00 +00:00
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${project.build.directory}/dependency</dir>
|
|
|
|
<includes>
|
|
|
|
<include>arquillian.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>src/main/xslt/arquillian_jdk.xsl</stylesheet>
|
|
|
|
<parameters>
|
|
|
|
<parameter>
|
|
|
|
<name>javaHome</name>
|
|
|
|
<value>${adapter.jdk}</value>
|
|
|
|
</parameter>
|
|
|
|
</parameters>
|
|
|
|
<outputDir>${project.build.directory}/dependency</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
2015-12-17 22:20:37 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-12-18 12:40:00 +00:00
|
|
|
</profile>
|
2015-11-13 00:57:07 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapter-libs-provided</id>
|
2016-01-04 15:46:47 +00:00
|
|
|
<activation>
|
2015-11-13 00:57:07 +00:00
|
|
|
<property>
|
|
|
|
<name>!adapter.libs.bundled</name>
|
|
|
|
</property>
|
2016-01-04 15:46:47 +00:00
|
|
|
</activation>
|
2015-11-13 00:57:07 +00:00
|
|
|
<properties>
|
|
|
|
<adapter.libs.eap6>${app.server.eap6.home}</adapter.libs.eap6>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-12-10 06:21:23 +00:00
|
|
|
<profile>
|
|
|
|
<id>ssl</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server.ssl.required</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>configure-adapter-subsystem-security</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${app.server.eap6.home}/standalone/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>src/main/xslt/security.xsl</stylesheet>
|
|
|
|
<outputDir>${app.server.eap6.home}/standalone/configuration</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-keystore</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-12-17 22:20:37 +00:00
|
|
|
<outputDirectory>${app.server.eap6.home}/standalone/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/keystore</directory>
|
|
|
|
<includes>
|
|
|
|
<include>adapter.jks</include>
|
|
|
|
<include>keycloak.truststore</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<nonFilteredFileExtensions>
|
2015-12-10 06:21:23 +00:00
|
|
|
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
|
|
|
|
<nonFilteredFileExtension>truststore</nonFilteredFileExtension>
|
2015-12-17 22:20:37 +00:00
|
|
|
</nonFilteredFileExtensions>
|
2015-12-10 06:21:23 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-11-13 00:57:07 +00:00
|
|
|
</project>
|