This tutorial gives easy instructions for importing maven remote archetype catalogs in eclipse to give you head start in configuring the project. Using archetype automatically import all basic runtime dependencies and configure the project with most basic configuration which you can directly use to build hello world applications within minutes.
Step 1 : Open maven preferences in eclipse
Go to
Windows
-> Preferences
-> Maven
-> Archetypes
.Step 2 : Add remote catalog file
Click on Add Remote Catalog button. Fill the catalog file as “http://repo1.maven.org/maven2/archetype-catalog.xml” and some custom description.
Click OK button. You are done.
Step 3 : Verify remote archetypes
To verify that you can now access to all archetypes, create a new maven project.
Select new custom catalog you created.
In first time, it will take a few moments to gather all the archetypes. You can see the progress at the very bottom right of the IDE. When it’s done, you should be able to see the archetypes
Fill group id and artifact id for your project.
Click on OK to create the project. You will see the new project create on your workspace with all dependencies and basic configurations already done.
Drop me your questions if you face any issue in any step.