'Issue with installing Maven

We are trying to install maven on aws. As part of our instructions after installing the file/updating environment variables, we need to go on cmd, remote to C:\ then put maven "plugin:download" to download the required jars! but I'm faced with this error.

can someone help?

CMD error



Solution 1:[1]

You probably have network connectivity issues. Consider setting your proxy configurations for Maven: https://maven.apache.org/guides/mini/guide-proxies.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Oresztesz