# Maven plugin not using proxy?

**URL:** <https://community.sonarsource.com/t/maven-plugin-not-using-proxy/43101>\
**Category:** SonarQube Cloud\
**Tags:** proxy, maven\
**Created:** [May 11, 2021, 1:30pm UTC](https://community.sonarsource.com/t/maven-plugin-not-using-proxy/43101 "2021-05-11T13:30:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Alexandre\_Holzhey](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alexandre_holzhey/32/74760_2.png) [@Alexandre\_Holzhey](https://community.sonarsource.com/u/Alexandre_Holzhey)\
**Post date:** [May 17, 2021, 11:59am UTC](https://community.sonarsource.com/t/maven-plugin-not-using-proxy/43101/4 "2021-05-17T11:59:13Z")

</div>

Hi @BMCP , could you please share how did you configured `MAVEN_OPTS`? Have you tried something like ([docs](https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-maven/)):

```auto
set MAVEN_OPTS=-Dhttp.proxyUser=user -Dhttp.proxyHost=host -Dhttp.proxyPassword=password

```

Please also take a look at [this topic](https://community.sonarsource.com/t/error-in-run-code-analysis-with-coporate-proxy/9241) and tell us if you still can’t solve the problem (there is an approach with `SONAR_SCANNER_OPTS` there).

---

_[View the full topic](https://community.sonarsource.com/t/maven-plugin-not-using-proxy/43101)._
