SonarQube: How to analyze project that used to be submodule of another project?

前端 未结 1 502
被撕碎了的回忆
被撕碎了的回忆 2020-12-21 06:40

I have a project with an aggregator POM and several submodules:

com.example:root
  |- com.example:module-a
  |- com.example:module-b
  |- com.example:module-         


        
相关标签:
1条回答
  • 2020-12-21 07:23

    We have SonarQube 5.1.2. This is how I would try to fix this issue with our version. If this exact procedure doesn't work, maybe it will give you ideas for solving the problem and then we'll refine the answer.

    • Log into SonarQube
    • View the multi-module project
    • In the project menu, click Settings --> Update Key
    • Find module-b in the list of keys, and provide an alternative name - maybe module-b-old
    • Run multi-module analysis to see if that still works
    • Run module-b analysis to see if that works now.

    There is also a Reset link; not sure what that does.

    0 讨论(0)
提交回复
热议问题