132 lines
No EOL
6.2 KiB
XML
132 lines
No EOL
6.2 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-servers-app-server-jboss</artifactId>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<version>3.4.0.CR1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap6-fuse</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>App Server - JBoss - EAP 6 + Fuse integration</name>
|
|
|
|
<properties>
|
|
<app.server.jboss>eap6-fuse</app.server.jboss>
|
|
|
|
<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>
|
|
|
|
<fuse.installer.groupId>com.redhat.fuse.eap</fuse.installer.groupId>
|
|
<fuse.installer.artifactId>fuse-eap-installer</fuse.installer.artifactId>
|
|
<fuse.installer.version>6.3.0.redhat-224</fuse.installer.version>
|
|
|
|
<app.server.oidc.adapter.artifactId>keycloak-eap6-adapter-dist</app.server.oidc.adapter.artifactId>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-fuse-installer</id>
|
|
<phase>generate-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>process-resources</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>${common.resources}/install-fuse.${script.suffix}</executable>
|
|
<workingDirectory>${app.server.jboss.home}</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>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-hawtio-jsons</id>
|
|
<phase>process-test-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>keycloak-hawtio.json</include>
|
|
<include>keycloak-hawtio-client.json</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-hawtio-to-standalone</id>
|
|
<phase>process-test-resources</phase>
|
|
<goals>
|
|
<goal>transform</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformationSets>
|
|
<transformationSet>
|
|
<dir>${app.server.jboss.home}/standalone/configuration</dir>
|
|
<includes>
|
|
<include>standalone.xml</include>
|
|
</includes>
|
|
<stylesheet>${common.resources}/add-hawtio.xsl</stylesheet>
|
|
<outputDir>${app.server.jboss.home}/standalone/configuration</outputDir>
|
|
</transformationSet>
|
|
</transformationSets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |