From b769abd44804bc69d7c4e06bcbf3a9ede31055ce Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Thu, 25 Jan 2018 12:01:47 +0100 Subject: [PATCH] openshift.io #2022: Missing goals for wildfly build / run commands Signed-off-by: Ilya Buziuk --- ide/che-core-ide-stacks/src/main/resources/stacks.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ide/che-core-ide-stacks/src/main/resources/stacks.json b/ide/che-core-ide-stacks/src/main/resources/stacks.json index 9a32a4738e..d78fcc2f5a 100644 --- a/ide/che-core-ide-stacks/src/main/resources/stacks.json +++ b/ide/che-core-ide-stacks/src/main/resources/stacks.json @@ -2289,14 +2289,18 @@ { "name": "build", "type": "mvn", - "attributes": {}, + "attributes": { + "previewUrl": "", + "goal": "Build" + }, "commandLine": "scl enable rh-maven33 'mvn clean install -f ${current.project.path}'" }, { "name": "run", "type": "custom", "attributes": { - "previewUrl": "${server.wildfly}" + "previewUrl": "${server.wildfly}", + "goal": "Run" }, "commandLine": "cd ${current.project.path} && scl enable rh-maven33 'java -jar target/*-swarm.jar'" }