Skip to content

Commit

Permalink
Add options to skip adapter and docs to be built (keycloak#35653)
Browse files Browse the repository at this point in the history
Signed-off-by: stianst <[email protected]>
  • Loading branch information
stianst authored Dec 6, 2024
1 parent 044807f commit ba93c1b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
24 changes: 22 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@
<module>core</module>
<module>crypto</module>
<module>dependencies</module>
<module>docs</module>
<module>server-spi</module>
<module>server-spi-private</module>
<module>saml-core-api</module>
Expand All @@ -293,7 +292,6 @@
<module>util</module>
<module>rest</module>
<module>integration</module>
<module>adapters</module>
<module>authz</module>
<module>js</module>
<module>test-framework</module>
Expand Down Expand Up @@ -1508,6 +1506,28 @@
<module>testsuite</module>
</modules>
</profile>
<profile>
<id>adapters</id>
<activation>
<property>
<name>!skipAdapters</name>
</property>
</activation>
<modules>
<module>adapters</module>
</modules>
</profile>
<profile>
<id>docs</id>
<activation>
<property>
<name>!skipDocs</name>
</property>
</activation>
<modules>
<module>docs</module>
</modules>
</profile>

<!-- Profile to activate EAP8 Adapters Build -->
<profile>
Expand Down
15 changes: 4 additions & 11 deletions quarkus/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server</artifactId>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server-deployment</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down Expand Up @@ -86,15 +90,4 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>snyk-quarkus</id>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server-deployment</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit ba93c1b

Please sign in to comment.