Configure the version that will appear in the pom.xml
file within the jar file of your theme.
By default the version that is used is the one in the package.json of your project
{% code title="package.json" %}
{
"version": "1.3.4"
}
{% endcode %}
But you can overwrite this value using an environment variable:
{% tabs %} {% tab title="Vite" %}
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { keycloakify } from "keycloakify/vite-plugin";
export default defineConfig({
plugins: [
react(),
keycloakify({
themeVersion: "1.2.3"
})
],
})
{% endtab %}
{% tab title="Webpack" %} {% code title="package.json" %}
{
"keycloakify": {
"themeVersion": "1.2.3"
}
}
{% endcode %} {% endtab %} {% endtabs %}
By default it's the package.json homepage field at reverse with .keycloak at the end.