-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SonarQube Analysis Fails with 401 Unauthorized Error in Maven Build #4966
Comments
Please find the full error logs below: . ____ _ __ _ _ :: Spring Boot :: (v3.4.2) 25-03-02 22:53:48:022 [main] INFO n.e.j.JournalAppApplicationTests -- Starting JournalAppApplicationTests using Java 17.0.12 with PID 8848 (started by DELL in D:\spring\02_journalApp) |
Hi @mohdfurkan01, This issue doesn't look to be related to Camunda 7 but Spring Boot, please reach out to them for help. Best, |
I am using Spring Boot 3.4.3 with Java 17 and the following SonarQube Maven plugin:
<plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>5.0.0.4389</version> </plugin>
I have tried running the following commands but still face issues:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:5.0.0.4389:sonar (default-cli)
on project journalApp: Error status returned by url
[https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64]: 401
{
"Message": "User is not authorized to access this resource with an explicit deny"
}
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
After logging in and updating my password, I generated both User & Global tokens, but the issue persists.
Has anyone faced a similar issue? How can I resolve this?
The text was updated successfully, but these errors were encountered: