Skip to content

Commit

Permalink
Consume keycloak-nodejs-connect guides
Browse files Browse the repository at this point in the history
Closes #550

Signed-off-by: rmartinc <[email protected]>
  • Loading branch information
rmartinc committed Jan 28, 2025
1 parent 1d8c13d commit 3a1b42c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions guides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ sources:
- id: keycloak-web
dir: guides
github: https://github.com/keycloak/keycloak-web/tree/main/guides/
- id: keycloak-nodejs-connect-guides
dir: target/keycloak-nodejs-connect-guides-$$VERSION$$
github: https://github.com/keycloak/keycloak-nodejs-connect/tree/main/guides/
33 changes: 33 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<version.keycloak>26.1.0</version.keycloak>
<version.keycloak.client>26.0.4</version.keycloak.client>
<version.keycloak-nodejs-connect>26.1.1</version.keycloak-nodejs-connect>

<version.frontend-maven-plugin>1.12.1</version.frontend-maven-plugin>
<version.node>v16.13.1</version.node>
Expand All @@ -31,6 +32,7 @@
<version.maven-jar-plugin>3.1.2</version.maven-jar-plugin>
<version.exec-maven-plugin>3.0.0</version.exec-maven-plugin>
<version.dependency-plugin>3.1.2</version.dependency-plugin>
<version.download-maven-plugin>2.0.0</version.download-maven-plugin>
</properties>

<repositories>
Expand Down Expand Up @@ -267,6 +269,37 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.github.download-maven-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>${version.download-maven-plugin}</version>
<executions>
<execution>
<id>unpack-keycloak-nodejs-connect-nightly</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://github.com/keycloak/keycloak-nodejs-connect/releases/download/nightly/keycloak-nodejs-connect-guides.zip</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-keycloak-nodejs-connect-version</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://github.com/keycloak/keycloak-nodejs-connect/releases/download/${version.keycloak-nodejs-connect}/keycloak-nodejs-connect-guides.zip</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 3a1b42c

Please sign in to comment.