I’m using a local SonarQube install with Azure Devops Server. The following command is generated and run:
mvn -B clean package org.sonarsource.scanner.maven:sonar-maven-plugin:RELEASE:sonar
The unit tests connect to a MongoDB instance which requires a client certificate set by the truststore. This all runs fine and unit tests pass when I just do a mvn package. But when I have sonar in there then it fails to authenticate with the DB.
Is Sonar overwriting my truststore setting and preventing java finding my mongodb certificate? How can I work around this?