Skip to content

Instantly share code, notes, and snippets.

@akottr
Last active August 1, 2022 06:47
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save akottr/6164036 to your computer and use it in GitHub Desktop.
Save akottr/6164036 to your computer and use it in GitHub Desktop.
For maven build put this file into ~/.config/sublime-text-3/Packages/User. Choose Tools -> Build System -> Maven. Ctrl+Shift+ P shows the entries (e.g mvn clean)
{
"working_dir": "$file_path",
"shell_cmd":"mvn clean install",
"variants": [
{
"name": "mvn clean install",
"shell_cmd": "mvn clean install"
},
{
"name": "mvn full build",
"shell_cmd": "mvn -P full-build clean install"
},
{
"name": "mvn clean",
"shell_cmd": "mvn clean"
},
{
"name": "mvn skipTests",
"shell_cmd": "mvn clean install -DskipTests"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment