keycloakify 11.9.7 → 11.9.9
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,20 @@ 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.
|
|
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
|
+
"stderr `mvn clean install` command:",
|
|
1625
|
+
"---",
|
|
1626
|
+
stderr,
|
|
1627
|
+
"---",
|
|
1628
|
+
"",
|
|
1623
1629
|
"Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
|
|
1624
1630
|
`cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
|
|
1625
1631
|
].join("\n"));
|
package/package.json
CHANGED
|
@@ -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.
|
|
232
|
+
console.log(
|
|
233
233
|
[
|
|
234
234
|
`Build jar failed: ${JSON.stringify(
|
|
235
235
|
{
|
|
@@ -240,6 +240,12 @@ export async function buildJar(params: {
|
|
|
240
240
|
null,
|
|
241
241
|
2
|
|
242
242
|
)}`,
|
|
243
|
+
"",
|
|
244
|
+
"stderr `mvn clean install` command:",
|
|
245
|
+
"---",
|
|
246
|
+
stderr,
|
|
247
|
+
"---",
|
|
248
|
+
"",
|
|
243
249
|
"Try running the following command to debug the issue (you are probably under a restricted network and you need to configure your proxy):",
|
|
244
250
|
`cd ${keycloakifyBuildCacheDirPath} && ${mvnBuildCmd}`
|
|
245
251
|
].join("\n")
|