Maven error "Archetype directory empty" when creating Maven project for WebDriver with TestNG

I could not add the maven artifact "ru.stqa.selenium" artifact to eclipse. I downloaded the catalog file from: " https://github.com/barancev/webdriver-testng-archetype " The next steps are Eclipse-> Window-> Preference โ†’ Maven-> ArchTypes-> Add a local directory. In the local directory of the Archtype directory, I put the Directory file location: Address of the pom file from the local "D: \ Software \ Selenium \ webdriver-testng-archetype-master \ src \ main \ resources \ archetype-resources". Description: Some name

Now I get this warning: "Archetype directory is empty."

If I go with the addition of a remote directory with a remote location like " http://repo1.maven.org/maven2/archetype-catalog.xml , it works fine.

Curious to know the reason for this strange behavior.

+5
source share

Source: https://habr.com/ru/post/1201486/


All Articles