Merge pull request #3811 from mhajas/KEYCLOAK-4286
KEYCLOAK-4286 Use desired version of JS-adapter
This commit is contained in:
commit
767b4a2e2a
2 changed files with 29 additions and 2 deletions
|
@ -30,9 +30,37 @@
|
|||
<name>JS Console</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<js-adapter.version>${project.version}</js-adapter.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<finalName>js-console</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-javascript-adapter</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-js-adapter</artifactId>
|
||||
<version>${js-adapter.version}</version>
|
||||
<type>jar</type>
|
||||
<outputDirectory>${pom.basedir}/target/js-console/js</outputDirectory>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
<includes>**/keycloak.js</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jboss.as.plugins</groupId>
|
||||
<artifactId>jboss-as-maven-plugin</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<script src="http://localhost:8180/auth/js/keycloak.js"></script>
|
||||
<script src="https://localhost:8543/auth/js/keycloak.js"></script>
|
||||
<script src="js/keycloak.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Reference in a new issue