@eclipse-glsp/cli 2.7.0-next.10 → 2.7.0-next.13
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/dist/cli.js +17 -5
- package/dist/cli.js.map +1 -1
- package/package.json +8 -3
package/dist/cli.js
CHANGED
|
@@ -20343,7 +20343,7 @@ async function setVersionJavaServer(options) {
|
|
|
20343
20343
|
console.log(pluginPoms);
|
|
20344
20344
|
pluginPoms.forEach((pom) => replaceInFile(pom, /\${package-type}/, "eclipse-plugin"));
|
|
20345
20345
|
LOGGER.debug("Preprocessing complete");
|
|
20346
|
-
await execAsync(`mvn tycho-versions:set-version -DnewVersion=${options.mvnVersion}`, {
|
|
20346
|
+
await execAsync(`mvn tycho-versions:set-version -DnewVersion=${options.mvnVersion} -B`, {
|
|
20347
20347
|
errorMsg: "Mvn set-versions failed",
|
|
20348
20348
|
cwd: options.repoDir,
|
|
20349
20349
|
silent: false
|
|
@@ -20372,7 +20372,7 @@ function setVersionEclipseClient(options) {
|
|
|
20372
20372
|
async function setVersionEclipseServer(options) {
|
|
20373
20373
|
LOGGER.debug("Set server pom.xml versions ...");
|
|
20374
20374
|
cd(path10.join(options.repoDir, "server"));
|
|
20375
|
-
await execAsync(`mvn tycho-versions:set-version -DnewVersion=${options.mvnVersion}`, {
|
|
20375
|
+
await execAsync(`mvn tycho-versions:set-version -DnewVersion=${options.mvnVersion} -B`, {
|
|
20376
20376
|
silent: false,
|
|
20377
20377
|
errorMsg: "Tycho set-versions failed"
|
|
20378
20378
|
});
|
|
@@ -20497,17 +20497,29 @@ async function buildNpm(options) {
|
|
|
20497
20497
|
async function buildJavaServer(options) {
|
|
20498
20498
|
LOGGER.info("Build M2 & P2");
|
|
20499
20499
|
LOGGER.debug("M2");
|
|
20500
|
-
await execAsync("mvn clean install -Pm2", {
|
|
20500
|
+
await execAsync("mvn clean install -Pm2 -B", {
|
|
20501
|
+
silent: false,
|
|
20502
|
+
cwd: options.repoDir,
|
|
20503
|
+
errorMsg: "M2 build failed"
|
|
20504
|
+
});
|
|
20501
20505
|
LOGGER.newLine();
|
|
20502
20506
|
LOGGER.debug("P2");
|
|
20503
|
-
await execAsync("mvn clean install -Pp2", {
|
|
20507
|
+
await execAsync("mvn clean install -Pp2 -B", {
|
|
20508
|
+
silent: false,
|
|
20509
|
+
cwd: options.repoDir,
|
|
20510
|
+
errorMsg: "P2 build failed"
|
|
20511
|
+
});
|
|
20504
20512
|
LOGGER.debug("Build succeeded");
|
|
20505
20513
|
}
|
|
20506
20514
|
async function buildEclipseIntegration(options) {
|
|
20507
20515
|
LOGGER.info("[Client] Install & Build with yarn");
|
|
20508
20516
|
LOGGER.newLine();
|
|
20509
20517
|
LOGGER.info("Build Server(P2)");
|
|
20510
|
-
await execAsync("mvn clean install", {
|
|
20518
|
+
await execAsync("mvn clean install -B", {
|
|
20519
|
+
silent: false,
|
|
20520
|
+
cwd: path11.resolve(options.repoDir, "server"),
|
|
20521
|
+
errorMsg: "Server build failed"
|
|
20522
|
+
});
|
|
20511
20523
|
LOGGER.debug("Build successful");
|
|
20512
20524
|
}
|
|
20513
20525
|
function updateChangelog(options) {
|