c7a8742a36
Source code headers
191 lines
8.9 KiB
XML
191 lines
8.9 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
~ 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 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>
|
|
<version>1.9.0.CR1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>integration-arquillian-adapters-eap7</artifactId>
|
|
<name>Adapter Tests on EAP 7</name>
|
|
|
|
|
|
<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>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>app-server-eap7</id>
|
|
<properties>
|
|
<app.server.eap7.home>${containers.home}/jboss-eap-7.0</app.server.eap7.home>
|
|
<adapter.libs.eap7>${containers.home}/keycloak-eap7-adapter-dist</adapter.libs.eap7>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-properties</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireProperty>
|
|
<property>version.eap7.dist</property>
|
|
</requireProperty>
|
|
<requireProperty>
|
|
<property>version.adapter.dist</property>
|
|
</requireProperty>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-eap7-with-adapters</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.jboss.eap</groupId>
|
|
<artifactId>wildfly-dist</artifactId>
|
|
<version>${version.eap7.dist}</version>
|
|
<type>zip</type>
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-wildfly-adapter-dist</artifactId>
|
|
<version>${version.adapter.dist}</version>
|
|
<type>zip</type>
|
|
<outputDirectory>${adapter.libs.eap7}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-saml-wildfly-adapter-dist</artifactId>
|
|
<version>${version.adapter.dist}</version>
|
|
<type>zip</type>
|
|
<outputDirectory>${adapter.libs.eap7}</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
<systemPropertyVariables>
|
|
<app.server.eap7>true</app.server.eap7>
|
|
<app.server.eap7.home>${app.server.eap7.home}</app.server.eap7.home>
|
|
<adapter.libs.eap7>${adapter.libs.eap7}</adapter.libs.eap7>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>adapter-jdk</id>
|
|
<activation>
|
|
<property>
|
|
<name>adapter.jdk</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-java-home-to-arquillian-xml</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>transform</goal>
|
|
</goals>
|
|
<configuration>
|
|
<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>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>adapter-libs-provided</id>
|
|
<activation>
|
|
<property>
|
|
<name>!adapter.libs.bundled</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<adapter.libs.eap7>${app.server.eap7.home}</adapter.libs.eap7>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|