Last Updated: February 25, 2016
· kamilwysocki

How to set up Maven in Sublime Text

If you build your project in Maven and use Sublime Text for coding, this trick may be useful. I assume you have Package Control already installed.

First, add repository with SublimeMaven plugin. To do this, press Shift+Ctrl+P, select Package Control: Add Repository. Type in and press Enter.


Press Shift+Ctrl+P again and select Package Control: Install Package. Search for SublimeMaven and press Enter.


It should be installed now. Now go to Tools>Build System and select Maven.


Now open folder with you project (having pom.xml in it), press Ctrl+B. Type in your desired Maven parameter, press Enter and you're good to go!


3 Responses
Add your response


It seems there is no sublimeMaven plugin for sublime 3. How would one make this work in sublime text 3

over 1 year ago ·

To solve that issue in SublimeText3 just add that file:

over 1 year ago ·

I coudn't find "maven" in "tools" -> "build system", but I can get around this issue by typing ctrl+alt+p and using "maven: Run...", as stated in:

over 1 year ago ·