keycloakify 11.9.9 → 11.9.10
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,7 +1612,7 @@ 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
1617
|
console.log([
|
|
1618
1618
|
`Build jar failed: ${JSON.stringify({
|
|
@@ -1621,10 +1621,12 @@ async function buildJar(params) {
|
|
|
1621
1621
|
keycloakThemeAdditionalInfoExtensionVersion
|
|
1622
1622
|
}, null, 2)}`,
|
|
1623
1623
|
"",
|
|
1624
|
-
"
|
|
1625
|
-
"---",
|
|
1624
|
+
"Output of the `mvn clean install` command:",
|
|
1625
|
+
"---stdout---",
|
|
1626
|
+
stdout.split("\n").slice(-50).join("\n"),
|
|
1627
|
+
"---stderr---",
|
|
1626
1628
|
stderr,
|
|
1627
|
-
"
|
|
1629
|
+
"------------",
|
|
1628
1630
|
"",
|
|
1629
1631
|
"Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
|
|
1630
1632
|
`cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
|
package/package.json
CHANGED
|
@@ -227,7 +227,7 @@ 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
232
|
console.log(
|
|
233
233
|
[
|
|
@@ -241,10 +241,12 @@ export async function buildJar(params: {
|
|
|
241
241
|
2
|
|
242
242
|
)}`,
|
|
243
243
|
"",
|
|
244
|
-
"
|
|
245
|
-
"---",
|
|
244
|
+
"Output of the `mvn clean install` command:",
|
|
245
|
+
"---stdout---",
|
|
246
|
+
stdout.split("\n").slice(-50).join("\n"),
|
|
247
|
+
"---stderr---",
|
|
246
248
|
stderr,
|
|
247
|
-
"
|
|
249
|
+
"------------",
|
|
248
250
|
"",
|
|
249
251
|
"Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
|
|
250
252
|
`cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
|