keycloakify / keycloakify-starter

🔑 Keycloakify Projects Starter Template
http://keycloakify.dev
MIT License
215 stars 142 forks source link

Error on maven install #33

Open deincodeverbesserer93 opened 11 hours ago

deincodeverbesserer93 commented 11 hours ago

Hello,

when i try to run the build command. I get the error Error: Command failed: mvn install -.... I tried the keycloakify v10 starter project .. and only added the account theme like your documentation. When i try my keycloakify v9 project no error occurs.

`npm run build-keycloak-theme

keycloakify-starter@0.0.0 build-keycloak-theme npm run build && keycloakify build

keycloakify-starter@0.0.0 build tsc && vite build

vite v5.2.13 building for production... ✓ 3797 modules transformed. dist/index.html 0.39 kB │ gzip: 0.26 kB dist/assets/pf-v5-pficon-Di6gTOT4.woff2 18.46 kB .... ✓ built in 6.68s keycloakify v10.1.4 Building the keycloak theme in ./dist_keycloak ... Build jar failed: { "jarFileBasename": "my-keycloak-theme.jar", "keycloakAccountV1Version": null, "keycloakThemeAdditionalInfoExtensionVersion": "1.1.5" }

Error: Command failed: mvn install -Dmaven.repo.local="/Users/Shared/dev/KeyCloak/source/keycloakify_10.0.0_1/node_modules/.cache/keycloakify/maven/my-keycloak-theme/.m2"

at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5) {

code: 1, killed: false, signal: null, cmd: 'mvn install -Dmaven.repo.local="/Users/Shared/dev/KeyCloak/source/keycloakify_10.0.0_1/node_modules/.cache/keycloakify/maven/my-keycloak-theme/.m2"' } `

garronej commented 10 hours ago

Hello @deincodeverbesserer93,

You are probably behind some company proxy. You need to configure maven so it can download the required dependencies.