I am trying to build a web app with built in web server and found a source doucumentation here.
this tutorial uses maven to build initial project structure with required setup.
the command used is
mvn archetype:generate -DarchetypeCatalog=http://maven.publicstaticvoidmain.net/archetype-catalog.xml -DarchetypeGroupId=net.publicstaticvoidmain -DarchetypeArtifactId=embedded-jetty-archetype
however running this command gives the error
[WARNING] Error reading archetype catalog http://maven.publicstaticvoidmain.net/archetype-catalog.xml
i am new to maven so unable to figure out the actual problem what i got is that the catalog is not found in the global repository.
what could be the proper fix for this?
any help is appreciated.
ya, the catalog is not present where you are pointing the url.
however, what you want to do can be found here