# Sonar dependencies failing when running maven project

**URL:** <https://community.sonarsource.com/t/sonar-dependencies-failing-when-running-maven-project/23686>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube, scanner, java\
**Created:** [April 26, 2020, 11:45am UTC](https://community.sonarsource.com/t/sonar-dependencies-failing-when-running-maven-project/23686 "2020-04-26T11:45:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keerthi\_s](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/keerthi_s/32/6628_2.png) [@keerthi\_s](https://community.sonarsource.com/u/keerthi_s)\
**Post date:** [April 26, 2020, 11:45am UTC](https://community.sonarsource.com/t/sonar-dependencies-failing-when-running-maven-project/23686/1 "2020-04-26T11:45:06Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
Sonarqube :- 8.2  
Scanner :- 4.6.8
- what are you trying to achieve  
trying to scan the mvn with sonar so that it could reflect it on the sonarqube server
- what have you tried so far to achieve this  
have tried all possile aspect like adding in the property file

---

<div class="post-metadata">

**Author:** ![OlivierK](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/olivierk/32/11116_2.png) [@OlivierK](https://community.sonarsource.com/u/OlivierK)\
**Post date:** [April 27, 2020, 8:31am UTC](https://community.sonarsource.com/t/sonar-dependencies-failing-when-running-maven-project/23686/2 "2020-04-27T08:31:05Z")

</div>

Hello @keerthi_s,

There’s no much we can do with the limited information you provided.  
Could you tell what command you run and post the `mvn` command output log (please use `mvn -X` to get debug information).

Regards

---

<div class="post-metadata">

**Author:** ![keerthi\_s](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/keerthi_s/32/6628_2.png) [@keerthi\_s](https://community.sonarsource.com/u/keerthi_s)\
**Post date:** [May 10, 2024, 4:14am UTC](https://community.sonarsource.com/t/sonar-dependencies-failing-when-running-maven-project/23686/5 "2024-05-10T04:14:02Z")

</div>

We are not using MVN here.

I hve fixed that issue as the newer version of yaml script has to be updated to 5 version. But we are getting the below error.  
##[warning]Task ‘AY9gf8n-E6YwNA2JEFni’ takes too long to complete. Stopping after 500s of polling. No quality gate will be displayed on build result
