" Author: Eric Van Dewoestine " " Description: {{{ " Compiler for maven 2.x. " " License: " " Copyright (C) 2005 - 2018 Eric Van Dewoestine " " This program is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by " the Free Software Foundation, either version 3 of the License, or " (at your option) any later version. " " This program is distributed in the hope that it will be useful, " but WITHOUT ANY WARRANTY; without even the implied warranty of " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " GNU General Public License for more details. " " You should have received a copy of the GNU General Public License " along with this program. If not, see . " " }}} if exists("current_compiler") finish endif let current_compiler = "eclim_mvn" if !exists('g:EclimMvnCompilerAdditionalErrorFormat') let g:EclimMvnCompilerAdditionalErrorFormat = '' endif CompilerSet makeprg=mvn\ $* " Lines 1: javac " Lines 2 - 7: javadoc " Lines 8 - 9: test failures " Lines 10 - 12: test failures where test emits output exec 'CompilerSet errorformat=' . \ '\[ERROR]\ %f:[%l\\,%c]\ %m,' . \ '\%W[WARNING]\ %f:%l:\ %m,' . \ '\%C[WARNING]%.%#,' . \ '\%Z[WARNING]\ %p^,' . \ '\%E[ERROR]\ %.%#\ -\ %f:%l:\ %m,' . \ '\%C[ERROR]%.%#,' . \ '\%Z[ERROR]\ %p^,' . \ '\%ARunning\ %f,' . \ '\%+ZTests\ run%.%#FAILURE!%.%#,' . \ '\%ARunning\ %f,' . \ '\%-C%.%#,' . \ '\%+ZTests\ run%.%#FAILURE!%.%#,' . \ g:EclimMvnCompilerAdditionalErrorFormat . \ '\%-G%.%#' " vim:ft=vim:fdm=marker