Created
March 8, 2017 00:40
-
-
Save mattmccarty/104e15839f538a47ffebf05840782b80 to your computer and use it in GitHub Desktop.
Maven Build System for Sublime Text 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Tools -> Build System -> New Build System | |
# Paste the snippet below in the file that opens | |
# Save as "Maven.sublime-build" in ~/.config/sublime-text-3/Packages/User | |
# Ctrl+Shift+P will show all maven commands in snippet below if you start to type "Maven" | |
# Open a pom.xml file and execute a command | |
# | |
{ | |
"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