Was this helpful?
NOTE: For changing the name of the jar file that is generated by Keycloakify see this option instead: .
Configure the artifactId that will appear in the pom.xml file.
artifactId
pom.xml
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" }) ], })
{ "keycloakify": { "artifactId": "keycloakify-advanced-starter-keycloak-theme" } }
You can overwrite this using an environment variable:
KEYCLOAKIFY_ARTIFACT_ID="my-cool-theme" npx keycloakify build
By default it's <themeName>-keycloak-theme See, option.
<themeName>-keycloak-theme
keycloak.themeName