IDEA-97932 Maven project ignoring dependencies in profiles.
(cherry-picked from 5a39477)
reviewer: Anton Makeev
IDEA-97476 Connection through a proxy is not working
(cherry picked from commit 46878015d29c46dc936edfa71477e79f00b48854)
reviewer: Dmitry Avdeev