set default build to community eap6

This commit is contained in:
vramik 2015-12-18 10:49:57 +01:00
parent 6bb05bf339
commit 57ea0a3b42

View file

@ -13,6 +13,7 @@
<properties> <properties>
<app.server.eap6.home>${containers.home}</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>
@ -26,6 +27,17 @@
<artifactId>jboss-as-arquillian-container-managed</artifactId> <artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>7.2.0.Final</version> <version>7.2.0.Final</version>
</dependency> </dependency>
<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> </dependencies>
<build> <build>
@ -49,6 +61,37 @@
</systemPropertyVariables> </systemPropertyVariables>
</configuration> </configuration>
</plugin> </plugin>
<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.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> </plugins>
</build> </build>
@ -84,7 +127,7 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <!-- <profile>
<id>community</id> <id>community</id>
<properties> <properties>
<adapter.libs.eap6>${containers.home}/keycloak-eap6-adapter-dist</adapter.libs.eap6> <adapter.libs.eap6>${containers.home}/keycloak-eap6-adapter-dist</adapter.libs.eap6>
@ -137,7 +180,7 @@
<type>zip</type> <type>zip</type>
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </profile>-->
<profile> <profile>
<id>adapter-libs-provided</id> <id>adapter-libs-provided</id>
<activation> <activation>