I´m calling an archetype from our local Nexus like this:
The archetype is successfully retrieved and started. However, I´m also getting this Exception:
[INFO] --- maven-archetype-plugin:2.0-alpha-5:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[WARNING] Error reading archetype catalog http://repo1.maven.org/maven2
org.apache.maven.wagon.TransferFailedException: Error transferring file: repo1.maven.org
... 25 more
[WARNING] No archetype found in Remote catalog. Defaulting to internal Catalog
[INFO] Archetype defined by properties
It seems that the archetype-plugin tries to contact the central catalog although it has already found the archetype on our Nexus. (Connecting the central repo doesn´t work because we don´t have proxy settings for that)
Can you please deactivate the unneeded connection attempt to the central repo?
Thanks a lot!