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

Maven tutorial not aligned with Maven documentation

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      Currently, the tutorial for running a Maven analysis locally says that the command to be run is

      mvn sonar:sonar \
        -Dsonar.projectKey={project-key} \
        -Dsonar.host.url={sq-url} \
        -Dsonar.login={sq-token}
      

      However, not compiling the source code and then running this analysis may result on an error that states "Your project contains .java fils, please provide compiled classes...".

      Moreover, in our documentation we say that the command to run should be

      mvn clean verify sonar:sonar -Dsonar.login=myAuthenticationToken
      

      Therefore the Maven tutorial should be aligned to follow this.

        Attachments

          Activity

            People

            Assignee:
            mathieu.suen Mathieu Suen
            Reporter:
            belen.pruvost Belén Pruvost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: