Add option to skip new admin console while doing a build (#11591)

This commit is contained in:
Stian Thorgersen 2022-04-22 14:25:29 +02:00 committed by GitHub
parent b356618cc2
commit 75cb29017c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 17 deletions

16
dependencies/pom.xml vendored
View file

@ -31,8 +31,22 @@
<description/>
<modules>
<module>admin-ui</module>
<module>server-min</module>
<module>server-all</module>
</modules>
<profiles>
<profile>
<id>skip-admin2</id>
<activation>
<property>
<name>!skipAdmin2</name>
</property>
</activation>
<modules>
<module>admin-ui</module>
</modules>
</profile>
</profiles>
</project>

View file

@ -171,22 +171,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-dependencies-admin-ui-wrapper</artifactId>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-ui</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-core-public</artifactId>
@ -562,6 +546,35 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>skip-admin2</id>
<activation>
<property>
<name>!skipAdmin2</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-dependencies-admin-ui-wrapper</artifactId>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-ui</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>