Maven Configuration | Selenium Forum
M
Posted on 22/07/2016
Was trying to configure maven in my system. After the command mvn archetype:generate, I am getting the following error:

[ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\cr174k\.m2\repository), central (https:// repo.maven/apache.org/maven2)]

I have tried with the proxy settings by uncommenting the proxy code on the settings.xml file in /conf folder, but this too doesnt work.

<proxies>

<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
-->
</proxies>


Can anyone please suggest a way to solve this?

Budhajit Roy

M
Replied on 23/07/2016

are you using any proxy?


M
Replied on 25/07/2016

No Admin, I am not using any proxy. I googled it for this issue and someone mentioned it worked by the proxy settings I mentioned. So I tried that way also, but it didn't worked.


M
Replied on 25/07/2016

please delete the maven you have and redownload and then add that to your environment variables and then tell me the problem you're having if any.