artifactId

NOTE: For changing the name of the jar file that is generated by Keycloakify see this option instead: keycloakVersionTargets.

Configure the artifactId that will appear in the pom.xml file.

vite.config.ts
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"
    })
  ],
})

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

Last updated