2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2016-03-24 10:24:21 +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.
|
|
|
|
-->
|
2016-02-03 10:20:22 +00:00
|
|
|
|
2015-09-18 12:27:28 +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">
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2016-01-20 06:16:53 +00:00
|
|
|
<artifactId>integration-arquillian-tests-other</artifactId>
|
2018-03-22 18:28:10 +00:00
|
|
|
<version>4.0.0.Beta2-SNAPSHOT</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-adapters</artifactId>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<packaging>pom</packaging>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<name>Adapter Tests</name>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<properties>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.arquillian.xsl>${common.resources}/xslt/arquillian.xsl</app.server.arquillian.xsl>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-${app.server}</app.server.artifactId>
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.mode>manual</app.server.mode>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<app.server.host>localhost</app.server.host>
|
2015-09-18 12:27:28 +00:00
|
|
|
<app.server.port.offset>200</app.server.port.offset>
|
|
|
|
<app.server.http.port>8280</app.server.http.port>
|
2015-12-10 06:21:23 +00:00
|
|
|
<app.server.https.port>8643</app.server.https.port>
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.management.protocol>http-remoting</app.server.management.protocol>
|
2015-09-18 12:27:28 +00:00
|
|
|
<app.server.management.port>10190</app.server.management.port>
|
|
|
|
<app.server.management.port.jmx>10199</app.server.management.port.jmx>
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.startup.timeout>60</app.server.startup.timeout>
|
|
|
|
<app.server.memory.settings>-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m</app.server.memory.settings>
|
2018-03-06 12:54:27 +00:00
|
|
|
<!-- Cluster tests are failing with -Xmx512 for insufficient physical memory -->
|
|
|
|
<app.server.cluster.tests.memory.settings>-Xmx384m</app.server.cluster.tests.memory.settings>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2017-06-07 11:44:18 +00:00
|
|
|
<!--debug properties-->
|
|
|
|
<app.server.debug.port>5006</app.server.debug.port>
|
|
|
|
<app.server.debug.suspend>n</app.server.debug.suspend>
|
|
|
|
<app.server.jboss.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=${app.server.host}:${app.server.debug.port}</app.server.jboss.jvm.debug.args>
|
|
|
|
|
2015-12-10 06:21:23 +00:00
|
|
|
<app.server.ssl.required>false</app.server.ssl.required>
|
2016-09-13 08:11:11 +00:00
|
|
|
|
2017-02-26 15:25:08 +00:00
|
|
|
<app.server.reverse-proxy.port.offset>500</app.server.reverse-proxy.port.offset>
|
|
|
|
<app.server.1.port.offset>300</app.server.1.port.offset>
|
|
|
|
<app.server.1.management.port>10290</app.server.1.management.port>
|
|
|
|
<app.server.1.management.port.jmx>10299</app.server.1.management.port.jmx>
|
|
|
|
<app.server.2.port.offset>400</app.server.2.port.offset>
|
|
|
|
<app.server.2.management.port>10390</app.server.2.management.port>
|
|
|
|
<app.server.2.management.port.jmx>10399</app.server.2.management.port.jmx>
|
|
|
|
|
2016-09-13 08:11:11 +00:00
|
|
|
<settings.path></settings.path>
|
2017-08-14 10:03:22 +00:00
|
|
|
<maven.repo.local></maven.repo.local>
|
2016-09-13 08:11:11 +00:00
|
|
|
<repo.url></repo.url>
|
2017-11-27 17:04:33 +00:00
|
|
|
<wl.password></wl.password>
|
|
|
|
<wl.home></wl.home>
|
2016-09-13 08:11:11 +00:00
|
|
|
|
2016-04-13 07:45:28 +00:00
|
|
|
<adapter.test.props>
|
|
|
|
-Dapp.server.base.url=http://localhost:${app.server.http.port}
|
2016-05-19 09:42:40 +00:00
|
|
|
-Dauth.server.base.url=http://localhost:${auth.server.http.port}
|
2016-04-13 07:45:28 +00:00
|
|
|
-Dapp.server.ssl.base.url=https://localhost:${app.server.https.port}
|
|
|
|
-Dapp.server.ssl.required=${app.server.ssl.required}
|
2016-05-19 09:42:40 +00:00
|
|
|
-Dauth.server.ssl.base.url=https://localhost:${auth.server.https.port}
|
|
|
|
-Dauth.server.ssl.required=${auth.server.ssl.required}
|
2016-04-13 07:45:28 +00:00
|
|
|
-Dmy.host.name=localhost
|
2016-05-10 09:09:28 +00:00
|
|
|
-Djava.security.krb5.conf=${project.build.directory}/dependency/kerberos/test-krb5.conf
|
2016-09-13 08:11:11 +00:00
|
|
|
-Dkie.maven.settings.custom=${settings.path}
|
2017-08-28 12:53:48 +00:00
|
|
|
-Dkie.maven.repo.local=${maven.repo.local}
|
2016-09-13 08:11:11 +00:00
|
|
|
-Drepo.url=${repo.url}
|
2017-11-27 17:04:33 +00:00
|
|
|
-Dwl.password=${wl.password}
|
|
|
|
-Dwl.home=${wl.home}
|
2016-04-13 07:45:28 +00:00
|
|
|
</adapter.test.props>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.home>${containers.home}/app-server-${app.server}</app.server.home>
|
2016-06-24 11:32:03 +00:00
|
|
|
<adapter.config.bundled>true</adapter.config.bundled>
|
2016-09-08 13:59:26 +00:00
|
|
|
<examples.basedir>${main.basedir}/examples</examples.basedir>
|
2016-12-14 14:09:05 +00:00
|
|
|
<exclude.test>-</exclude.test>
|
2017-02-17 07:48:50 +00:00
|
|
|
<exclude.cors.tests>**/cors/*Test.java</exclude.cors.tests>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<modules>
|
|
|
|
<module>jboss</module>
|
|
|
|
<module>karaf</module>
|
|
|
|
<module>tomcat</module>
|
2017-06-12 09:28:49 +00:00
|
|
|
<module>was</module>
|
|
|
|
<module>wls</module>
|
2016-03-24 10:24:21 +00:00
|
|
|
</modules>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<profiles>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapter-test-submodules</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2016-09-08 13:59:26 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
<version>0.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>directories</id>
|
|
|
|
<goals>
|
2016-10-12 07:44:41 +00:00
|
|
|
<goal>directory-of</goal>
|
2016-09-08 13:59:26 +00:00
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<configuration>
|
|
|
|
<property>main.basedir</property>
|
2016-10-12 07:44:41 +00:00
|
|
|
<project>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
</project>
|
2016-09-08 13:59:26 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-03-24 10:24:21 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-app-server-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>${app.server.arquillian.xsl}</stylesheet>
|
|
|
|
<parameters>
|
|
|
|
<parameter>
|
|
|
|
<name>keycloak.version</name>
|
|
|
|
<value>${project.version}</value>
|
|
|
|
</parameter>
|
|
|
|
</parameters>
|
|
|
|
<outputDir>${project.build.directory}/dependency</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-app-server</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2017-02-17 07:48:50 +00:00
|
|
|
<artifactId>${app.server.artifactId}</artifactId>
|
2016-03-24 10:24:21 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<skip>${app.server.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server>${app.server}</app.server>
|
|
|
|
<app.server.home>${app.server.home}</app.server.home>
|
|
|
|
<app.server.java.home>${app.server.java.home}</app.server.java.home>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.mode>${app.server.mode}</app.server.mode>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<app.server.host>${app.server.host}</app.server.host>
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.port.offset>${app.server.port.offset}</app.server.port.offset>
|
|
|
|
<app.server.http.port>${app.server.http.port}</app.server.http.port>
|
|
|
|
<app.server.https.port>${app.server.https.port}</app.server.https.port>
|
|
|
|
<app.server.management.protocol>${app.server.management.protocol}</app.server.management.protocol>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.management.port>${app.server.management.port}</app.server.management.port>
|
|
|
|
<app.server.management.port.jmx>${app.server.management.port.jmx}</app.server.management.port.jmx>
|
|
|
|
<app.server.ssl.required>${app.server.ssl.required}</app.server.ssl.required>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<app.server.startup.timeout>${app.server.startup.timeout}</app.server.startup.timeout>
|
|
|
|
<app.server.memory.settings>${app.server.memory.settings}</app.server.memory.settings>
|
2018-03-06 12:54:27 +00:00
|
|
|
<app.server.cluster.tests.memory.settings>${app.server.cluster.tests.memory.settings}</app.server.cluster.tests.memory.settings>
|
2017-06-07 11:44:18 +00:00
|
|
|
<app.server.jboss.jvm.debug.args>${app.server.jboss.jvm.debug.args}</app.server.jboss.jvm.debug.args>
|
|
|
|
|
2017-02-26 15:25:08 +00:00
|
|
|
<app.server.reverse-proxy.port.offset>${app.server.reverse-proxy.port.offset}</app.server.reverse-proxy.port.offset>
|
|
|
|
|
|
|
|
<app.server.1.port.offset>${app.server.1.port.offset}</app.server.1.port.offset>
|
|
|
|
<app.server.1.management.port>${app.server.1.management.port}</app.server.1.management.port>
|
|
|
|
|
|
|
|
<app.server.2.port.offset>${app.server.2.port.offset}</app.server.2.port.offset>
|
|
|
|
<app.server.2.management.port>${app.server.2.management.port}</app.server.2.management.port>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-06-24 11:32:03 +00:00
|
|
|
<adapter.config.bundled>${adapter.config.bundled}</adapter.config.bundled>
|
2016-03-24 10:24:21 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-08-02 11:14:47 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.shrinkwrap.resolver</groupId>
|
|
|
|
<artifactId>shrinkwrap-resolver-maven-plugin</artifactId>
|
|
|
|
<version>${version.shrinkwrap.resolvers}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>propagate-execution-context</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-03-24 10:24:21 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-02-17 07:48:50 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>examples</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!skipTests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>example-wars</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
2016-06-30 12:46:34 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>hello-world-authz-service</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>photoz-html5-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>photoz-restful-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
2016-07-29 15:42:53 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>servlet-authz-app</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
2017-04-20 13:41:43 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>servlet-policy-enforcer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
2017-02-17 07:48:50 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-cors-angular-product</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-cors-database-service</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
2015-09-18 12:27:28 +00:00
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${examples.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
2017-02-17 07:48:50 +00:00
|
|
|
</execution>
|
2015-09-18 12:27:28 +00:00
|
|
|
<execution>
|
2016-09-08 13:59:26 +00:00
|
|
|
<id>test-apps-realms</id>
|
2015-09-18 12:27:28 +00:00
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
2016-03-14 11:08:36 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
2018-02-28 07:53:10 +00:00
|
|
|
<includes>**/*realm.json,**/*authz-service.json,**/testsaml.json,**/*-keycloak.json</includes>
|
2016-03-14 11:08:36 +00:00
|
|
|
</artifactItem>
|
2015-09-18 12:27:28 +00:00
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${examples.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
2016-09-08 13:59:26 +00:00
|
|
|
</execution>
|
2015-09-18 12:27:28 +00:00
|
|
|
</executions>
|
2016-09-08 13:59:26 +00:00
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2016-12-14 14:09:05 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>${exclude.test}</exclude>
|
|
|
|
</excludes>
|
2017-02-17 07:48:50 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>${exclude.cors.tests}</exclude>
|
|
|
|
</excludes>
|
2015-09-18 12:27:28 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<examples.home>${examples.home}</examples.home>
|
|
|
|
<examples.version.suffix>${project.version}</examples.version.suffix>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${examples.home}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-09-20 10:51:27 +00:00
|
|
|
<execution>
|
|
|
|
<id>example-realms</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${examples.home}/example-realms</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${examples.basedir}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>**/*realm.json</include>
|
|
|
|
<include>**/testsaml.json</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-09-18 12:27:28 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-02-17 07:48:50 +00:00
|
|
|
<profile>
|
|
|
|
<id>Include CORS tests</id>
|
|
|
|
<!--
|
|
|
|
If you want to run CORS tests it is necessary to put
|
|
|
|
|
|
|
|
127.0.0.1 localhost-auth
|
|
|
|
127.0.0.1 localhost-db
|
|
|
|
|
|
|
|
to your /etc/hosts file
|
|
|
|
-->
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>includeCorsTests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<exclude.cors.tests>-</exclude.cors.tests>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-09-18 12:27:28 +00:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|