Introduce profile (enabled with -DincludeWildFly) to not include WildFly distribution in default builds (#13878)

* Introduce profile (enabled with -DincludeWildFly) to not include WildFly distribution in default builds

* Fix
This commit is contained in:
Stian Thorgersen 2022-08-27 00:33:45 +02:00 committed by GitHub
parent 5dbbc0e7bf
commit cbfe9b9a3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 10 deletions

View file

@ -32,7 +32,20 @@
<modules>
<module>adapter-feature-pack</module>
<module>server-feature-pack-dependencies</module>
<module>server-feature-pack</module>
</modules>
<profiles>
<profile>
<id>wildfly-dist</id>
<activation>
<property>
<name>includeWildFly</name>
</property>
</activation>
<modules>
<module>server-feature-pack-dependencies</module>
<module>server-feature-pack</module>
</modules>
</profile>
</profiles>
</project>

View file

@ -39,10 +39,8 @@
<module>adapters</module>
<module>saml-adapters</module>
<module>feature-packs</module>
<module>galleon-feature-packs</module>
<module>licenses-common</module>
<module>maven-plugins</module>
<module>server-dist</module>
<!--<module>server-overlay</module>-->
</modules>
@ -74,6 +72,18 @@
</repositories>
<profiles>
<profile>
<id>wildfly-dist</id>
<activation>
<property>
<name>includeWildFly</name>
</property>
</activation>
<modules>
<module>galleon-feature-packs</module>
<module>server-dist</module>
</modules>
</profile>
<profile>
<id>legacy-dist</id>
<activation>

13
pom.xml
View file

@ -284,7 +284,6 @@
<module>themes</module>
<module>model</module>
<module>util</module>
<module>wildfly</module>
<module>integration</module>
<module>adapters</module>
<module>authz</module>
@ -1903,6 +1902,18 @@
</build>
<profiles>
<profile>
<id>wildfly-dist</id>
<activation>
<property>
<name>includeWildFly</name>
</property>
</activation>
<modules>
<module>wildfly</module>
</modules>
</profile>
<profile>
<id>community</id>
<activation>

View file

@ -68,10 +68,6 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-wildfly-adduser</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>

View file

@ -23,7 +23,7 @@
<version>999-SNAPSHOT</version>
</parent>
<name>Keycloak WildFly Integration</name>
<name>Keycloak WildFly Server Integration Parent</name>
<description/>
<modelVersion>4.0.0</modelVersion>