Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@
<module>extension-no-op-protocol-mapper</module>
</modules>

<dependencies>
<!-- the server module must be built for copying the jars into -->
<dependency>
<groupId>com.inventage.keycloak.custom</groupId>
<artifactId>server</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
Expand All @@ -49,25 +39,6 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<!-- deployment configuration for all extension modules -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy-${project.artifactId}</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${file.to.deploy}" todir="${keycloak.providers.dir}"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down
23 changes: 23 additions & 0 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-runner</artifactId>
</dependency>
<dependency>
<groupId>com.inventage.keycloak.custom</groupId>
<artifactId>extension-no-op-authenticator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.inventage.keycloak.custom</groupId>
<artifactId>extension-no-op-protocol-mapper</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
Expand All @@ -48,6 +58,19 @@
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
<!-- extract jars of extensions -->
<execution>
<id>unpack-signature-extension</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>com.inventage.keycloak.custom</includeGroupIds>
<includeArtifactIds>extension-no-op-authenticator, extension-no-op-protocol-mapper</includeArtifactIds>
<outputDirectory>${project.build.directory}/keycloak/providers</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- for moving the content of the installation to $keycloak.dir -->
Expand Down