声纳插件开发工作流程 [英] Sonar Plugin Development Workflow

查看:73
本文介绍了声纳插件开发工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Sonar插件开发设置良好的调试工作流程。当前看起来像这样->

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

mvn clean将插件

复制jar放到Sonar文件夹中

重新启动Sonar服务器(对于体面的工作流程来说花费的时间太长)

在我的示例项目中运行mvndebug sonar:sonar

在IntelliJ中运行远程调试

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

我已经阅读了一些有关开发模式的知识,以及它的发展方式都可以与JRebel一起使用,但是我找不到与4.5或任何较新版本兼容的东西(当他们将Sonar重命名为SonarQube时)。

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).

谢谢!

推荐答案

没有通用解决方案...

There is no universal solution...

我还是这样:


  1. 构建插件

  2. 在本地SQ上部署并启动服务器(批处理脚本)

  3. 使用实际项目进行测试

这篇关于声纳插件开发工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆