Getting error with maven | Selenium Forum
V
Vishwanathvba Posted on 18/03/2019

i am encountering following maven error while generating project using command mvn archetype:generate.

 

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.927 s
[INFO] Finished at: 2019-03-18T18:22:06+05:30
[INFO] Final Memory: 10M/46M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.4:generate (default-cli) on project standalone-pom: The desired archetype does
not exist (org.apache.maven.archetypes:maven-archetype-quickstart:1.4) -> [Help
1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption


A
Ashish Thakur Replied on 19/03/2019

Please try using the GUI Method. That works well.


V
Vishwanathvba Replied on 19/03/2019

what is GUI method? how do i use it?


A
Ashish Thakur Replied on 20/03/2019

Did you try running the command again.

Make sure that your firewall/antivirus is not blocking maven.

 

On the other hand, GUI method refers to project creation using eclipse.