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.
|
|
|
|
-->
|
|
|
|
|
2018-04-06 09:46:03 +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"
|
2016-03-24 10:24:21 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server</artifactId>
|
2022-03-22 08:22:48 +00:00
|
|
|
<version>999-SNAPSHOT</version>
|
2016-03-24 10:24:21 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-jboss</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>App Server - JBoss</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<common.resources>${project.parent.basedir}/common</common.resources>
|
|
|
|
<assembly.xml>${project.parent.basedir}/assembly.xml</assembly.xml>
|
|
|
|
<app.server.jboss.home>${containers.home}/${app.server.jboss.unpacked.folder.name}</app.server.jboss.home>
|
2017-05-23 14:34:22 +00:00
|
|
|
<oidc-adapter.version>${project.version}</oidc-adapter.version>
|
|
|
|
<saml-adapter.version>${project.version}</saml-adapter.version>
|
2018-05-03 09:05:01 +00:00
|
|
|
<skip.elytron.adapter.installation>true</skip.elytron.adapter.installation>
|
|
|
|
<skip.adapter.offline.installation>true</skip.adapter.offline.installation>
|
2021-03-16 07:10:32 +00:00
|
|
|
<!-- Workaround for WFCORE-5335 issue -->
|
|
|
|
<cli.executable>bash</cli.executable>
|
|
|
|
<cli.jboss-cli.arg>jboss-cli.${script.suffix}</cli.jboss-cli.arg>
|
2018-11-28 18:00:51 +00:00
|
|
|
<cli.working.dir>${app.server.jboss.home}/bin</cli.working.dir>
|
|
|
|
<cli.win.working.dir/>
|
2016-03-24 10:24:21 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<profiles>
|
2018-04-06 09:46:03 +00:00
|
|
|
|
2021-03-16 07:10:32 +00:00
|
|
|
<profile>
|
2018-11-28 18:00:51 +00:00
|
|
|
<id>windows-properties-cli</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>Windows</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<cli.executable>run-jboss-cli.bat</cli.executable>
|
2021-03-16 07:10:32 +00:00
|
|
|
<!-- Workaround for WFCORE-5335 - Intentionally kept empty for Windows (no special care needed there) -->
|
|
|
|
<cli.jboss-cli.arg/>
|
2018-11-28 18:00:51 +00:00
|
|
|
<cli.working.dir>${common.resources}/win</cli.working.dir>
|
|
|
|
<cli.win.working.dir>${app.server.jboss.home}/bin</cli.win.working.dir>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-jboss-submodules</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-04-06 09:46:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>app.server.jboss</property>
|
|
|
|
<property>app.server.jboss.groupId</property>
|
|
|
|
<property>app.server.jboss.artifactId</property>
|
|
|
|
<property>app.server.jboss.version</property>
|
|
|
|
<property>app.server.jboss.unpacked.folder.name</property>
|
|
|
|
<property>app.server.oidc.adapter.artifactId</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-06 09:46:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-wildfly-and-oidc-adapter</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>${app.server.jboss.groupId}</groupId>
|
|
|
|
<artifactId>${app.server.jboss.artifactId}</artifactId>
|
|
|
|
<version>${app.server.jboss.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>${app.server.oidc.adapter.artifactId}</artifactId>
|
2017-05-23 14:34:22 +00:00
|
|
|
<version>${oidc-adapter.version}</version>
|
2016-03-24 10:24:21 +00:00
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${app.server.jboss.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-06 09:46:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
2016-04-06 07:11:06 +00:00
|
|
|
<execution>
|
|
|
|
<id>io-worker-threads</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${app.server.jboss.home}/standalone/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
<include>standalone-ha.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>${common.resources}/io.xsl</stylesheet>
|
|
|
|
<outputDir>${app.server.jboss.home}/standalone/configuration</outputDir>
|
|
|
|
<parameters>
|
|
|
|
<parameter>
|
|
|
|
<name>worker.io-threads</name>
|
|
|
|
<value>${app.server.worker.io-threads}</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>worker.task-max-threads</name>
|
|
|
|
<value>${app.server.worker.task-max-threads}</value>
|
|
|
|
</parameter>
|
|
|
|
</parameters>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-06 09:46:03 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enable-jboss-mgmt-admin</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>mgmt-users.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-08-23 10:09:39 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-keystore</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/keystore</directory>
|
|
|
|
<includes>
|
|
|
|
<include>adapter.jks</include>
|
|
|
|
<include>keycloak.truststore</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<nonFilteredFileExtensions>
|
|
|
|
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
|
|
|
|
<nonFilteredFileExtension>truststore</nonFilteredFileExtension>
|
|
|
|
</nonFilteredFileExtensions>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-04-19 07:08:36 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-configs-cluster</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone-cluster</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${app.server.jboss.home}/standalone</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-06-27 10:25:52 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-configs-secured-deployments</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone-secured-deployments</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${app.server.jboss.home}/standalone</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-04-19 07:08:36 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-configs-crossdc</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.jboss.home}/standalone-crossdc</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${app.server.jboss.home}/standalone</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-03-24 10:24:21 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2016-06-24 11:32:03 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-05-03 09:05:01 +00:00
|
|
|
<id>add-adapter-log-level-standalone</id>
|
2016-10-19 08:48:21 +00:00
|
|
|
<phase>process-resources</phase>
|
2016-06-24 11:32:03 +00:00
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
2016-09-20 11:00:54 +00:00
|
|
|
<configuration>
|
2018-04-23 11:42:31 +00:00
|
|
|
<skip>${skip.apply.offline.cli}</skip><!--eap6-->
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${common.resources}/cli/add-adapter-log-level.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>add-adapter-log-level-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-04-23 11:42:31 +00:00
|
|
|
<skip>${skip.apply.offline.cli}</skip><!--eap6-->
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${common.resources}/cli/add-adapter-log-level.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>-Dserver.config=standalone-ha.xml</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<!--OIDC: eap, wf11-->
|
|
|
|
<id>adapter-elytron-install-offline-standalone</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.elytron.adapter.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-elytron-install-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--OIDC: eap, wf11-->
|
|
|
|
<id>adapter-elytron-install-offline-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.elytron.adapter.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-elytron-install-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>-Dserver.config=standalone-ha.xml</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--SAML: eap, wf11-->
|
|
|
|
<id>adapter-elytron-install-saml-offline-standalone</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.elytron.adapter.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-elytron-install-saml-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--SAML: eap, wf11-->
|
|
|
|
<id>adapter-elytron-install-saml-offline-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.elytron.adapter.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-elytron-install-saml-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>-Dserver.config=standalone-ha.xml</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<!--OIDC: wf10, wf9-->
|
|
|
|
<id>adapter-install-offline-standalone</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.adapter.offline.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-install-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--OIDC: wf10, wf9-->
|
|
|
|
<id>adapter-install-offline-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.adapter.offline.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-install-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>-Dserver.config=standalone-ha.xml</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--SAML: wf10, wf9-->
|
|
|
|
<id>adapter-install-saml-offline-standalone</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.adapter.offline.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-install-saml-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!--SAML: wf10, wf9-->
|
|
|
|
<id>adapter-install-saml-offline-standalone-ha</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.adapter.offline.installation}</skip>
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-05-03 09:05:01 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>--file=${app.server.jboss.home}/bin/adapter-install-saml-offline.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-05-03 09:05:01 +00:00
|
|
|
<argument>-Dserver.config=standalone-ha.xml</argument>
|
|
|
|
</arguments>
|
2016-09-20 11:00:54 +00:00
|
|
|
</configuration>
|
2018-04-19 07:08:36 +00:00
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>add-secured-deployments</id>
|
2018-06-27 10:25:52 +00:00
|
|
|
<phase>generate-test-sources</phase>
|
2018-04-19 07:08:36 +00:00
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-04-23 11:42:31 +00:00
|
|
|
<skip>${skip.apply.offline.cli}</skip><!--eap6-->
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-04-19 07:08:36 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-04-19 07:08:36 +00:00
|
|
|
<argument>--file=${common.resources}/cli/add-secured-deployments.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-06-27 10:25:52 +00:00
|
|
|
<argument>-Djboss.server.config.dir=${app.server.jboss.home}/standalone-secured-deployments/configuration</argument>
|
2018-04-19 07:08:36 +00:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>configure-cluster-config</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-06-20 10:47:36 +00:00
|
|
|
<skip>${skip.configure.clustered.scenario}</skip><!--eap6, wildfly9-->
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-04-19 07:08:36 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-04-19 07:08:36 +00:00
|
|
|
<argument>--file=${common.resources}/cli/configure-cluster-config.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-04-19 07:08:36 +00:00
|
|
|
<argument>-Djboss.server.config.dir=${app.server.jboss.home}/standalone-cluster/configuration</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
2018-04-23 11:42:31 +00:00
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>configure-crossdc-config</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-06-20 10:47:36 +00:00
|
|
|
<skip>${skip.configure.clustered.scenario}</skip><!--eap6, wildfly9-->
|
2018-11-28 18:00:51 +00:00
|
|
|
<executable>${cli.executable}</executable>
|
|
|
|
<workingDirectory>${cli.working.dir}</workingDirectory>
|
2018-12-05 14:41:00 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
2018-04-23 11:42:31 +00:00
|
|
|
<arguments>
|
2021-03-16 07:10:32 +00:00
|
|
|
<argument>${cli.jboss-cli.arg}</argument>
|
2018-04-23 11:42:31 +00:00
|
|
|
<argument>--file=${common.resources}/cli/configure-crossdc-config.cli</argument>
|
2018-11-28 18:00:51 +00:00
|
|
|
<!--
|
|
|
|
following attribute is required just for windows
|
|
|
|
see ${common.resources}/win/run-jboss-cli.bat
|
|
|
|
!! the ordering is important, if you need to change it edit run-jboss-cli.bat !!
|
|
|
|
-->
|
|
|
|
<argument>${cli.win.working.dir}</argument>
|
2018-04-23 11:42:31 +00:00
|
|
|
<argument>-Djboss.server.config.dir=${app.server.jboss.home}/standalone-crossdc/configuration</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
2016-06-24 11:32:03 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
2016-03-24 10:24:21 +00:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-zip</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${assembly.xml}</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>app-server-saml-supported</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src/saml-adapter-supported</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server.saml.adapter.supported>true</app.server.saml.adapter.supported>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>app.server.saml.adapter.artifactId</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-saml-adapter</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>${app.server.saml.adapter.artifactId}</artifactId>
|
2017-05-23 14:34:22 +00:00
|
|
|
<version>${saml-adapter.version}</version>
|
2016-03-24 10:24:21 +00:00
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${app.server.jboss.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-09-20 11:00:54 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-apply-patches</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server.patch.zips</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install-patches</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${common.resources}/install-patch.${script.suffix}</executable>
|
2017-06-27 10:11:20 +00:00
|
|
|
<workingDirectory>${app.server.jboss.home}/bin</workingDirectory>
|
2016-09-20 11:00:54 +00:00
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${app.server.java.home}</JAVA_HOME>
|
|
|
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
|
|
|
<APP_PATCH_ZIPS>${app.server.patch.zips}</APP_PATCH_ZIPS>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-08-23 14:30:12 +00:00
|
|
|
|
|
|
|
<!-- Latest EAP (currently 7.2.X) -->
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-eap</id>
|
2018-04-23 11:41:16 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2018-08-23 14:30:12 +00:00
|
|
|
<modules>
|
|
|
|
<module>eap</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap71</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap71</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-03-24 10:24:21 +00:00
|
|
|
<modules>
|
|
|
|
<module>eap</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly</id>
|
2018-04-23 11:41:16 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>wildfly</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-03-24 10:24:21 +00:00
|
|
|
<modules>
|
|
|
|
<module>wildfly</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-relative</id>
|
2018-04-23 11:41:16 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>relative</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-03-24 10:24:21 +00:00
|
|
|
<modules>
|
|
|
|
<module>relative</module>
|
|
|
|
</modules>
|
2016-10-19 08:48:21 +00:00
|
|
|
</profile>
|
2017-05-23 14:34:22 +00:00
|
|
|
</profiles>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
</project>
|