fix bug in maven plugin and add some unit tests for ctags