2f4a98b0c1
Bumps [frontend-maven-plugin](https://github.com/eirslett/frontend-maven-plugin) from 1.9.1 to 1.12.0. - [Release notes](https://github.com/eirslett/frontend-maven-plugin/releases) - [Changelog](https://github.com/eirslett/frontend-maven-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/eirslett/frontend-maven-plugin/compare/frontend-plugins-1.9.1...frontend-plugins-1.12.0) --- updated-dependencies: - dependency-name: com.github.eirslett:frontend-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
159 lines
No EOL
6.1 KiB
XML
159 lines
No EOL
6.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
JBoss, Home of Professional Open Source
|
|
Copyright 2016, Red Hat, Inc. and/or its affiliates, and individual
|
|
contributors by the @authors tag. See the copyright.txt in the
|
|
distribution for a full listing of individual contributors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-admin-ui</artifactId>
|
|
<version>16.0.0-SNAPSHOT</version>
|
|
<name>Keycloak Administration UI</name>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>github</id>
|
|
<name>GitHub Packages</name>
|
|
<url>https://maven.pkg.github.com/keycloak/keycloak-admin-ui</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>src</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.12.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>npm run build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<nodeVersion>v16.13.0</nodeVersion>
|
|
<workingDirectory>../</workingDirectory>
|
|
<installDirectory>.</installDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>src/main/resources/admin/resources</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>../build</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>maven-replacer-plugin</artifactId>
|
|
<version>1.4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<file>target/classes/admin/resources/index.html</file>
|
|
<outputFile>target/classes/admin/index.ftl</outputFile>
|
|
<regex>false</regex>
|
|
<replacements>
|
|
<replacement>
|
|
<token>src="/</token>
|
|
<value>src="${resourceUrl}/</value>
|
|
</replacement>
|
|
<replacement>
|
|
<token>href="/</token>
|
|
<value>href="${resourceUrl}/</value>
|
|
</replacement>
|
|
<replacement>
|
|
<token><![CDATA[</body>]]></token>
|
|
<value xml:space="preserve">
|
|
<![CDATA[
|
|
<script id="environment" type="application/json">
|
|
{
|
|
"loginRealm": "${loginRealm!"master"}",
|
|
"authServerUrl": "${authServerUrl}",
|
|
"authUrl": "${authUrl}",
|
|
"consoleBaseUrl": "${consoleBaseUrl}",
|
|
"resourceUrl": "${resourceUrl}",
|
|
"masterRealm": "${masterRealm}",
|
|
"resourceVersion": "${resourceVersion}",
|
|
"isRunningAsTheme": true
|
|
}
|
|
</script>
|
|
</body>
|
|
]]>
|
|
</value>
|
|
</replacement>
|
|
</replacements>
|
|
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |