Sonar Plugin Development Workflow

早过忘川 提交于 2019-12-13 03:36:39

问题


How do I setup a decent debug workflow for Sonar Plugin Development. Currently it looks like this ->

mvn clean install the plugin
copy jar over to the Sonar folder
restart Sonar Server (takes way too long for decent workflow)
run mvndebug sonar:sonar in my example project
run remote debug in IntelliJ

I've read some stuff about the Development Mode and how nice it all works with JRebel but I can't find anything that's compatible with 4.5 or the any of the newer Versions (when they renamed Sonar to SonarQube).

Thanks!


回答1:


There is no universal solution...

I still do it like this:

  1. Build plugin
  2. Deploy on local SQ and start server (batch script)
  3. Test with actual projects


来源:https://stackoverflow.com/questions/33278275/sonar-plugin-development-workflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!