Hi Erik, > I'm trying to use a simple archetype command and getting an unexpected > error. > > When I run: mvn archetype:create -DgroupId=com.mycompany.app > -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp > > I get the error listed below. I don't understand why I would get an error > message asking me to install an artifact for a fairly standard Maven > archetype. I assumed these were all hosted in a public repo.
Are you behind a firewall and have to use a proxy to access the central repo? If yes: The Archetype plugin has a bug and ignores any proxy settings you have configured in your settings.xml unless there's a pom.xml in the directory in which you execute mvn... Regards Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
