java - Error on starting maven -


i trying create simple maven project , stumbled on error upon executing conmmand in command line:

mvn archetype:generate -dgroupid={project-packaging} -dartifactid={project-name} -darchetypeartifactid=maven-archetype-quickstart -dinteractivemode=false 

i using fresh out of box maven still don't have settings.xml. maven says don't have archetype plugin , upon looking solutions found out maven central repo not accessible in network(maybe configured in firewall). how can proceed now?

thanks

if don't have net access, try downloading required artifacts , placing them in local repository. local repository path in settings.xml file placed in maven installation directory/conf. can try connecting maven central repository using proxy setting if feasible.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -