I'm using the following command to create a new project from a custom archetype from a 3rd party Maven repo (only
the relevant portion of the command is below):
mvn archetype:generate -DarchetypeRepository=http://somehost.com/mvnrepo .....(other -D params for thecustom archetype)...
But, because I have the following in my settings.xml file, I cannot
access the repository specified by the "-DarchetypeRepository":
<name> Nexus Mirror</name>
1. Don't use <mirrors> section all together in the settings.xml file.
2. List every single possible maven repo site mirror, in Nexus, that I can possibly think of to hopefully cover every possible custom archetype that will ever be used? (yikes!)