本文介绍了Maven Sonarqube插件:多线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于maven支持多线程构建,是否还可以运行多线程声纳? (例如mvn sonar:sonar -T 4)

Since maven supports multithread builds, would it be possible to also run sonar multithreaded? (e.g. mvn sonar:sonar -T 4 )

我运行了该模块,虽然该模块报告成功,但它会报告整个构建失败,并显示java.util.concurrent.ExcutionException: java.lang.NullPointerException

I ran it and while the module reported success, it reports back as the overall build failing with java.util.concurrent.ExcutionException: java.lang.NullPointerException

有想法吗?

推荐答案

自2015年6月12日起,已解决Maven Sonar插件不支持Maven 3的并行构建功能的问题: http://jira.sonarsource.com/browse/MSONAR-7

As of 6/12/15 it's been resolved that the Maven Sonar plugin does not support Maven 3's parallel build feature: http://jira.sonarsource.com/browse/MSONAR-7

这篇关于Maven Sonarqube插件:多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 08:32