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> <modules>
<module>adapter-feature-pack</module> <module>adapter-feature-pack</module>
<module>server-feature-pack-dependencies</module>
<module>server-feature-pack</module>
</modules> </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> </project>

View file

@ -39,10 +39,8 @@
<module>adapters</module> <module>adapters</module>
<module>saml-adapters</module> <module>saml-adapters</module>
<module>feature-packs</module> <module>feature-packs</module>
<module>galleon-feature-packs</module>
<module>licenses-common</module> <module>licenses-common</module>
<module>maven-plugins</module> <module>maven-plugins</module>
<module>server-dist</module>
<!--<module>server-overlay</module>--> <!--<module>server-overlay</module>-->
</modules> </modules>
@ -74,6 +72,18 @@
</repositories> </repositories>
<profiles> <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> <profile>
<id>legacy-dist</id> <id>legacy-dist</id>
<activation> <activation>

13
pom.xml
View file

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

View file

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

View file

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