keycloakify 11.9.7 → 11.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/712.index.js CHANGED
@@ -1612,14 +1612,21 @@ async function buildJar(params) {
1612
1612
  }
1613
1613
  {
1614
1614
  const mvnBuildCmd = `mvn clean install -Dmaven.repo.local="${(0,external_path_.join)(keycloakifyBuildCacheDirPath, ".m2")}"`;
1615
- await new Promise((resolve, reject) => external_child_process_default().exec(mvnBuildCmd, { cwd: keycloakifyBuildCacheDirPath }, error => {
1615
+ await new Promise((resolve, reject) => external_child_process_default().exec(mvnBuildCmd, { cwd: keycloakifyBuildCacheDirPath }, (error, stdout, stderr) => {
1616
1616
  if (error !== null) {
1617
- console.error([
1617
+ console.log([
1618
1618
  `Build jar failed: ${JSON.stringify({
1619
1619
  jarFileBasename,
1620
1620
  keycloakAccountV1Version,
1621
1621
  keycloakThemeAdditionalInfoExtensionVersion
1622
1622
  }, null, 2)}`,
1623
+ "",
1624
+ "Output of the `mvn clean install` command:",
1625
+ "---",
1626
+ stdout,
1627
+ stderr,
1628
+ "---",
1629
+ "",
1623
1630
  "Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
1624
1631
  `cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
1625
1632
  ].join("\n"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.9.7",
3
+ "version": "11.9.8",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -227,9 +227,9 @@ export async function buildJar(params: {
227
227
  child_process.exec(
228
228
  mvnBuildCmd,
229
229
  { cwd: keycloakifyBuildCacheDirPath },
230
- error => {
230
+ (error, stdout, stderr) => {
231
231
  if (error !== null) {
232
- console.error(
232
+ console.log(
233
233
  [
234
234
  `Build jar failed: ${JSON.stringify(
235
235
  {
@@ -240,6 +240,13 @@ export async function buildJar(params: {
240
240
  null,
241
241
  2
242
242
  )}`,
243
+ "",
244
+ "Output of the `mvn clean install` command:",
245
+ "---",
246
+ stdout,
247
+ stderr,
248
+ "---",
249
+ "",
243
250
  "Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
244
251
  `cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
245
252
  ].join("\n")