{% hint style="info" %} NOTE: For changing the name of the jar file that is generated by Keycloakify see this option instead: keycloakVersionTargets. {% endhint %}
Configure the artifactId
that will appear in the pom.xml
file.
{% 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({
artifactId: "keycloakify-advanced-starter-keycloak-theme"
})
],
})
{% endtab %}
{% tab title="Webpack" %} {% code title="package.json" %}
{
"keycloakify": {
"artifactId": "keycloakify-advanced-starter-keycloak-theme"
}
}
{% endcode %} {% endtab %} {% endtabs %}
By default it's <themeName>-keycloak-theme
See, keycloak.themeName
option.
You can overwrite this using an environment variable:
KEYCLOAKIFY_ARTIFACT_ID="my-cool-theme" npx keycloakify build