Maven archetype issue | Selenium Forum
S
Saint Posted on 06/12/2018
I was creating a new Maven project , i started with  this command
mvn -archetype:generate

On hitting this command i am getting a weird error message which says "the desired archetype does not exists" 
I have attached screenshot

I have created a similar maven project a month back and i had no issues then , but suddenly i am getting this message

Can somebody help resolve it 

D
Divya Replied on 06/12/2018

Hi there

I am new to Maven as well.I see '-' after mvn on your code.
Below command works.

mvn archetype:generate

Hope it helps.


A
Ashish Thakur Replied on 06/12/2018

Its mvn archetype:generate


S
Saint Replied on 06/12/2018

sorry my bad it was typo mistake in my question

mvn archetype:generate   still gives the same error message


A
Ashish Thakur Replied on 09/12/2018

Please use the eclipse maven plugin
Watch video 26 part 1 - its explained in that