2017-12-19 11:42:26 +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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>performance</artifactId>
|
2019-03-06 14:50:54 +00:00
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
2017-12-19 11:42:26 +00:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>performance-keycloak-infinispan-server</artifactId>
|
|
|
|
<name>Keycloak Performance TestSuite - Infinispan Server</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<infinispan.groupId>org.infinispan.server</infinispan.groupId>
|
|
|
|
<infinispan.artifactId>infinispan-server-build</infinispan.artifactId>
|
|
|
|
<!--infinispan.version is located in the root pom.xml-->
|
|
|
|
<infinispan.unpacked.folder.name>infinispan-server-${infinispan.version}</infinispan.unpacked.folder.name>
|
|
|
|
<infinispan.unpacked.home>${project.build.directory}/${infinispan.unpacked.folder.name}</infinispan.unpacked.home>
|
|
|
|
|
|
|
|
<script.extension>sh</script.extension>
|
|
|
|
<jboss.cli.script>ispn-cli.${script.extension}</jboss.cli.script>
|
|
|
|
<add.user.script>add-user.${script.extension}</add.user.script>
|
|
|
|
|
|
|
|
<scripts.dir>${project.build.scriptSourceDirectory}</scripts.dir>
|
|
|
|
<resources.dir>${project.basedir}/src/main/resources</resources.dir>
|
|
|
|
|
|
|
|
<skip.add.management.user>true</skip.add.management.user>
|
|
|
|
<skip.docker.config>false</skip.docker.config>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-10-23 12:55:38 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2017-12-19 11:42:26 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-10-23 12:55:38 +00:00
|
|
|
<id>download-infinispan</id>
|
2017-12-19 11:42:26 +00:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2018-10-23 12:55:38 +00:00
|
|
|
<goal>run</goal>
|
2017-12-19 11:42:26 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-10-23 12:55:38 +00:00
|
|
|
<target>
|
|
|
|
<ant antfile="infinispan.xml" target="download-infinispan" />
|
|
|
|
</target>
|
2017-12-19 11:42:26 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>configure-infinispan</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2018-10-23 12:55:38 +00:00
|
|
|
<ant antfile="infinispan.xml" target="configure-infinispan" />
|
2017-12-19 11:42:26 +00:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>add-management-user</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.add.management.user}</skip>
|
|
|
|
<target>
|
2018-10-23 12:55:38 +00:00
|
|
|
<ant antfile="infinispan.xml" target="add-management-user" />
|
2017-12-19 11:42:26 +00:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-docker-config</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>${skip.docker.config}</skip>
|
|
|
|
<target>
|
2018-10-23 12:55:38 +00:00
|
|
|
<ant antfile="infinispan.xml" target="prepare-docker-config" />
|
2017-12-19 11:42:26 +00:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>add-management-user</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>management.user</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<skip.add.management.user>false</skip.add.management.user>
|
|
|
|
<!--it seems to be necessary to explicitly re-set these properties here
|
|
|
|
otherwise the antrun plugin won't pick them up-->
|
|
|
|
<management.user>${management.user}</management.user>
|
|
|
|
<management.user.password>${management.user.password}</management.user.password>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>windows</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>windows</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<script.extension>ps1</script.extension>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|