eap6-adapter
This commit is contained in:
parent
53ca4b9294
commit
6af2e1054c
2 changed files with 111 additions and 58 deletions
|
@ -12,25 +12,19 @@
|
||||||
<name>Adapter Tests on EAP 6</name>
|
<name>Adapter Tests on EAP 6</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<app.server.eap6.home>${containers.home}/jboss-eap-6.4</app.server.eap6.home>
|
<app.server.eap6.home>${containers.home}</app.server.eap6.home>
|
||||||
<adapter.libs.eap6>${containers.home}/keycloak-eap6-adapter-dist</adapter.libs.eap6>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<!-- <dependency>
|
||||||
<groupId>org.jboss.as</groupId>
|
|
||||||
<artifactId>jboss-as-dist</artifactId>
|
|
||||||
<version>${jboss.version}</version>
|
|
||||||
<type>zip</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wildfly</groupId>
|
<groupId>org.wildfly</groupId>
|
||||||
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
||||||
</dependency>
|
</dependency>-->
|
||||||
|
<!--TODO: this is for EAP6-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.jboss.as</groupId>
|
||||||
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
<artifactId>jboss-as-arquillian-container-managed</artifactId>
|
||||||
<type>zip</type>
|
<version>7.2.0.Final</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -43,38 +37,6 @@
|
||||||
<skip>true</skip>
|
<skip>true</skip>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>unpack-as7-and-adapter</id>
|
|
||||||
<phase>generate-resources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.jboss.as</groupId>
|
|
||||||
<artifactId>jboss-as-dist</artifactId>
|
|
||||||
<version>${jboss.version}</version>
|
|
||||||
<type>zip</type>
|
|
||||||
<outputDirectory>${containers.home}</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.keycloak</groupId>
|
|
||||||
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<type>zip</type>
|
|
||||||
<outputDirectory>${adapter.libs.eap6}</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
@ -82,7 +44,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<app.server.eap6>true</app.server.eap6>
|
<app.server.eap6>true</app.server.eap6>
|
||||||
<app.server.eap6.home>${app.server.eap6.home}</app.server.eap6.home>
|
<app.server.eap6.home>${app.server.eap6.home}/jboss-eap-6.4</app.server.eap6.home>
|
||||||
<adapter.libs.eap6>${adapter.libs.eap6}</adapter.libs.eap6>
|
<adapter.libs.eap6>${adapter.libs.eap6}</adapter.libs.eap6>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -91,6 +53,91 @@
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>prod</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>unpack-eap6-with-adapter</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>rh-sso-eap6-adapter</artifactId>
|
||||||
|
<version>${version.rh.soo}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
<outputDirectory>${app.server.eap6.home}</outputDirectory>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>community</id>
|
||||||
|
<properties>
|
||||||
|
<adapter.libs.eap6>${containers.home}/keycloak-eap6-adapter-dist</adapter.libs.eap6>
|
||||||
|
</properties>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>unpack-as7-and-adapter</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.jboss.as</groupId>
|
||||||
|
<artifactId>jboss-as-dist</artifactId>
|
||||||
|
<version>${jboss.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
<outputDirectory>${containers.home}</outputDirectory>
|
||||||
|
</artifactItem>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
<outputDirectory>${adapter.libs.eap6}</outputDirectory>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jboss.as</groupId>
|
||||||
|
<artifactId>jboss-as-dist</artifactId>
|
||||||
|
<version>${jboss.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-eap6-adapter-dist</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>adapter-libs-provided</id>
|
<id>adapter-libs-provided</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -176,20 +223,20 @@
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${app.server.eap6.home}/standalone/configuration</outputDirectory>
|
<outputDirectory>${app.server.eap6.home}/standalone/configuration</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/keystore</directory>
|
<directory>src/main/keystore</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>adapter.jks</include>
|
<include>adapter.jks</include>
|
||||||
<include>keycloak.truststore</include>
|
<include>keycloak.truststore</include>
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<nonFilteredFileExtensions>
|
<nonFilteredFileExtensions>
|
||||||
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
|
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
|
||||||
<nonFilteredFileExtension>truststore</nonFilteredFileExtension>
|
<nonFilteredFileExtension>truststore</nonFilteredFileExtension>
|
||||||
</nonFilteredFileExtensions>
|
</nonFilteredFileExtensions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
|
@ -342,6 +342,12 @@
|
||||||
<module>wildfly-relative</module>
|
<module>wildfly-relative</module>
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>app-server-eap6</id>
|
||||||
|
<modules>
|
||||||
|
<module>eap6</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>app-server-wildfly</id>
|
<id>app-server-wildfly</id>
|
||||||
<modules>
|
<modules>
|
||||||
|
|
Loading…
Reference in a new issue