Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何通过 maven 命令运行sonarsource 报告插件以生成声纳分析报告?
我知道通过 sonar-runner 做到这一点的方法,但我们可以直接通过 mvn command 做到这一点吗?
如果您已经在 pom.xml 中配置了声纳分析的所有属性,那么您只需要运行
mvn sonar:sonar
Maven 配置可能对此有所帮助。