[英]running maven sonar from unix
I have a mvn project. 我有一个mvn项目。 I want to run it against sonar. 我想对声纳运行它。
eg the following command - mvn org.codehaus.mojo:sonar-maven-plugin:2.0:sonar
例如以下命令mvn org.codehaus.mojo:sonar-maven-plugin:2.0:sonar
Without going in and modifying the application pom file to add sonar plugin, is there another way that I can call the mvn command and reference sonar plugin ? 无需进入并修改应用程序pom文件以添加声纳插件,是否可以通过另一种方法调用mvn命令并引用声纳插件?
我不知道它是如何工作的,但是如果您使用Sonar插件从Jenkins执行它,则无需修改pom.xml就可以工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.