Wikia

Vim Tips Wiki

Use maven with quickfix

Talk0
1,612pages on
this wiki
Revision as of 08:39, October 19, 2012 by 80.76.64.251 (Talk)

Tip 1042 Printable Monobook Previous Next

created November 8, 2005 · complexity basic · author jkw · version 6.0


Using maven with quickfix is pretty simple, just add:

compiler ant
set makeprg=maven\ -q\ -f\ project.xml\ jar:install

to your vimrc. I use the jar:install goal but java:compile will suffice.

Comments

Consider :help write-compiler-plugin.


This tip is for maven, but in this days all people use maven3 (or maven2) and this tip does nothing for that. Or am I wrong?

Around Wikia's network

Random Wiki