89 lines
No EOL
3.3 KiB
XML
89 lines
No EOL
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>integration-arquillian-tests-other</artifactId>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<version>3.3.0.CR1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>integration-arquillian-tests-springboot</artifactId>
|
|
|
|
<properties>
|
|
<exclude.springboot>**/springboot/**/*Test.java</exclude.springboot>
|
|
|
|
<adapter.container>tomcat</adapter.container>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-test-helper</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>${exclude.springboot}</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>test-springboot</id>
|
|
<properties>
|
|
<exclude.springboot>-</exclude.springboot>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.bazaarvoice.maven.plugins</groupId>
|
|
<artifactId>process-exec-maven-plugin</artifactId>
|
|
<version>0.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>spring-boot-application-process</id>
|
|
<phase>generate-test-resources</phase>
|
|
<goals>
|
|
<goal>start</goal>
|
|
</goals>
|
|
<configuration>
|
|
<name>springboot</name>
|
|
<workingDir>../../../../test-apps/spring-boot-adapter</workingDir>
|
|
<arguments>
|
|
<argument>mvn</argument>
|
|
<argument>spring-boot:run</argument>
|
|
<argument>-Dkeycloak.version=${project.version}</argument>
|
|
<argument>-Pspring-boot-adapter-${adapter.container}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>kill-processes</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>stop-all</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
</project> |