Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3843

Unable to determine structure of Maven project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.5
    • Component/s: None
    • Labels:
      None

      Description

      Upgraded from 2.8 to 3.0.1.
      Using maven 2.2.1, mvn sonar:sonar

      Parent pom structure (snippet)
      <modules>
      <module>../xxxx-bl-api</module>
      </modules>

      Child reference to parent:
      <parent>
      <artifactId>xxxx-parent</artifactId>
      <groupId>gov.va.vba.xxxx</groupId>
      <version>3.0-SNAPSHOT</version>
      <relativePath>../xxxx-parent</relativePath>
      </parent>

      --------
      When the upgrade occurred, receiving this very nonhelpful error:

      "Embedded error: Unable to determine structure of project. Probably you use Maven Advanced Reactor Options, which is not supported by Sonar and should not be used."

      We are not using Advanced Reactor options and do not know what project structure Sonar is now expecting.

      It would also be very helpful if the error message gave a better indication of the error, and in which project/pom file the error was being found.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              bdemers Brian Demers
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: