Sonar Plugin Development Workflow

2019-09-02 23:04发布

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条回答
虎瘦雄心在
2楼-- · 2019-09-02 23:09

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
查看更多
登录 后发表回答