add js adapter to dist

This commit is contained in:
Bill Burke 2014-08-12 18:24:40 -04:00
parent 4438aa6606
commit b1c331c5f3
4 changed files with 31 additions and 0 deletions

View file

@ -53,6 +53,14 @@
<directory>${project.build.directory}/unpacked/adapter</directory> <directory>${project.build.directory}/unpacked/adapter</directory>
<outputDirectory>keycloak</outputDirectory> <outputDirectory>keycloak</outputDirectory>
</fileSet> </fileSet>
<fileSet>
<directory>${project.build.directory}/unpacked/js-adapter</directory>
<outputDirectory>adapters/js-adapter</outputDirectory>
<includes>
<include>**/*.js</include>
<include>**/*.html</include>
</includes>
</fileSet>
<fileSet> <fileSet>
<directory>src/main/welcome-content</directory> <directory>src/main/welcome-content</directory>
<outputDirectory>keycloak/welcome-content</outputDirectory> <outputDirectory>keycloak/welcome-content</outputDirectory>

View file

@ -83,6 +83,12 @@
<type>zip</type> <type>zip</type>
<outputDirectory>${project.build.directory}/unpacked/adapter</outputDirectory> <outputDirectory>${project.build.directory}/unpacked/adapter</outputDirectory>
</artifactItem> </artifactItem>
<artifactItem>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-js-adapter</artifactId>
<version>${project.version}</version>
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
</artifactItem>
</artifactItems> </artifactItems>
<excludes>**/welcome-content/*</excludes> <excludes>**/welcome-content/*</excludes>
</configuration> </configuration>

View file

@ -10,6 +10,17 @@
<fileSet> <fileSet>
<directory>${project.build.directory}/unpacked</directory> <directory>${project.build.directory}/unpacked</directory>
<outputDirectory></outputDirectory> <outputDirectory></outputDirectory>
<excludes>
<exclude>**/js-adapter/**</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/unpacked/js-adapter</directory>
<outputDirectory>adapters/js-adapter</outputDirectory>
<includes>
<include>**/*.js</include>
<include>**/*.html</include>
</includes>
</fileSet> </fileSet>
</fileSets> </fileSets>
<dependencySets> <dependencySets>

View file

@ -84,6 +84,12 @@
<type>zip</type> <type>zip</type>
<outputDirectory>${project.build.directory}/unpacked</outputDirectory> <outputDirectory>${project.build.directory}/unpacked</outputDirectory>
</artifactItem> </artifactItem>
<artifactItem>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-js-adapter</artifactId>
<version>${project.version}</version>
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
</artifactItem>
</artifactItems> </artifactItems>
</configuration> </configuration>
</execution> </execution>