openshift.io #2022: Missing goals for wildfly build / run commands

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
6.19.x
Ilya Buziuk 2018-01-25 12:01:47 +01:00 committed by Ilya Buziuk
parent 25c264b987
commit b769abd448
1 changed files with 6 additions and 2 deletions

View File

@ -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'"
}