Skip to content

Commit

Permalink
Synchronize commands with rh-che stacks
Browse files Browse the repository at this point in the history
- add clean build
- remove clean option of build
- specify the goal of the commands

Change-Id: Ib5a95666484893736a492287b458865c4daa17d4
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Aug 21, 2017
1 parent e095436 commit b8f3cf6
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions ide/che-core-ide-stacks/src/main/resources/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2444,9 +2444,22 @@
},
"commands": [
{
"commandLine": "scl enable rh-maven33 'mvn clean install -f ${current.project.path}'",
"commandLine": "scl enable rh-maven33 'mvn install -f ${current.project.path}'",
"name": "build",
"type": "mvn"
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn clean install -f ${current.project.path}'",
"name": "clean build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn compile spring-boot:run -f ${current.project.path}'",
Expand Down

0 comments on commit b8f3cf6

Please sign in to comment.