2016-03-24 10:24:21 +00:00
|
|
|
<?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-servers-app-server-jboss</artifactId>
|
2022-02-11 20:28:06 +00:00
|
|
|
<version>18.0.0-SNAPSHOT</version>
|
2016-03-24 10:24:21 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap6</artifactId>
|
2018-06-06 12:45:50 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>App Server - EAP 6</name>
|
2018-07-17 07:53:56 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<properties>
|
|
|
|
<app.server.jboss>eap6</app.server.jboss>
|
2018-07-17 07:53:56 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.jboss.groupId>org.jboss.as</app.server.jboss.groupId>
|
|
|
|
<app.server.jboss.artifactId>jboss-as-dist</app.server.jboss.artifactId>
|
|
|
|
<app.server.jboss.version>${eap6.version}</app.server.jboss.version>
|
|
|
|
<app.server.jboss.unpacked.folder.name>jboss-eap-6.4</app.server.jboss.unpacked.folder.name>
|
2018-07-17 07:53:56 +00:00
|
|
|
|
|
|
|
<fuse.installer.groupId>com.redhat.fuse.eap</fuse.installer.groupId>
|
|
|
|
<fuse.installer.artifactId>fuse-eap-installer</fuse.installer.artifactId>
|
|
|
|
<fuse.installer.version>${fuse63.version}</fuse.installer.version>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.oidc.adapter.artifactId>keycloak-eap6-adapter-dist</app.server.oidc.adapter.artifactId>
|
|
|
|
<app.server.saml.adapter.artifactId>keycloak-saml-eap6-adapter-dist</app.server.saml.adapter.artifactId>
|
2018-04-23 11:42:31 +00:00
|
|
|
|
|
|
|
<skip.apply.offline.cli>true</skip.apply.offline.cli>
|
2018-06-20 10:47:36 +00:00
|
|
|
<skip.configure.clustered.scenario>true</skip.configure.clustered.scenario>
|
2016-03-24 10:24:21 +00:00
|
|
|
</properties>
|
2018-06-06 12:45:50 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-spi</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
2018-06-19 10:18:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-util</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-06-03 18:22:10 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-eap6-adapter-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-05-03 09:05:01 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-06-06 12:45:50 +00:00
|
|
|
<id>install-adapters-online-standalone</id>
|
2018-05-03 09:05:01 +00:00
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-07-03 07:34:15 +00:00
|
|
|
<executable>${basedir}/src/main/resources/config/install-adapters-online.${script.suffix}</executable>
|
2018-05-03 09:05:01 +00:00
|
|
|
<workingDirectory>${app.server.jboss.home}/bin</workingDirectory>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
|
|
|
<SAML_SUPPORTED>${app.server.saml.adapter.supported}</SAML_SUPPORTED>
|
2018-07-03 07:34:15 +00:00
|
|
|
<CLI_PATH>${basedir}/src/main/resources/config/cli/</CLI_PATH>
|
2018-06-06 12:45:50 +00:00
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>install-adapters-online-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-07-03 07:34:15 +00:00
|
|
|
<executable>${basedir}/src/main/resources/config/install-adapters-online-ha.${script.suffix}</executable>
|
2018-06-06 12:45:50 +00:00
|
|
|
<workingDirectory>${app.server.jboss.home}/bin</workingDirectory>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
2018-07-03 07:34:15 +00:00
|
|
|
<CLI_PATH>${basedir}/src/main/resources/config/cli/</CLI_PATH>
|
2018-05-03 09:05:01 +00:00
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-06-27 10:25:52 +00:00
|
|
|
<execution>
|
|
|
|
<id>add-secured-deployments-eap6</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-07-03 07:34:15 +00:00
|
|
|
<executable>${basedir}/src/main/resources/config/add-secured-deployments.${script.suffix}</executable>
|
2018-06-27 10:25:52 +00:00
|
|
|
<workingDirectory>${app.server.jboss.home}/bin</workingDirectory>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
2018-07-03 07:34:15 +00:00
|
|
|
<CLI_PATH>${basedir}/src/main/resources/config/cli/</CLI_PATH>
|
2018-06-27 10:25:52 +00:00
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-05-03 09:05:01 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-03-24 10:24:21 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2018-11-29 12:32:25 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>fuse-installer</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>unix</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-fuse63-version</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>fuse63.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>backup-configs-fuse</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone-default</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${app.server.jboss.home}/standalone</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-hawtio-jsons</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone-fuse/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources/config/fuse</directory>
|
|
|
|
<includes>
|
|
|
|
<include>keycloak-hawtio.json</include>
|
|
|
|
<include>keycloak-hawtio-client.json</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-fuse-installer</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>${fuse.installer.groupId}</groupId>
|
|
|
|
<artifactId>${fuse.installer.artifactId}</artifactId>
|
|
|
|
<version>${fuse.installer.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<outputDirectory>${app.server.jboss.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install-fuse</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${basedir}/src/main/resources/config/fuse/install-fuse.${script.suffix}</executable>
|
|
|
|
<workingDirectory>${app.server.jboss.home}/standalone-fuse</workingDirectory>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
|
|
|
<FUSE_INSTALLER_NAME>${fuse.installer.artifactId}-${fuse.installer.version}.jar</FUSE_INSTALLER_NAME>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-hawtio-to-standalone-fuse</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${app.server.jboss.home}/standalone-fuse/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>${basedir}/src/main/resources/config/fuse/add-hawtio.xsl</stylesheet>
|
|
|
|
<outputDir>${app.server.jboss.home}/standalone-fuse/configuration</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>move-configs-fuse</id>
|
|
|
|
<phase>process-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<echo message="Rename ./standalone to ./standalone-fuse" />
|
|
|
|
<move file="${app.server.jboss.home}/standalone"
|
|
|
|
tofile="${app.server.jboss.home}/standalone-fuse" />
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>restore-configs-after-fuse-installation</id>
|
|
|
|
<phase>process-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<echo message="Rename ./standalone-default to ./standalone" />
|
|
|
|
<move file="${app.server.jboss.home}/standalone-default"
|
|
|
|
tofile="${app.server.jboss.home}/standalone" />
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2016-03-24 10:24:21 +00:00
|
|
|
</project>
|