Import Maven Remote Archetype Catalogs in Eclipse

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.

Maven archetype option in eclipse
Maven archetype option in eclipse

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.

Fill Archetype URL and name
Fill Archetype URL and name

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.

Jersey remote archetypesJersey remote archetypes
Jersey remote archetypes
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.

Fill group id and artifact id
Fill group id and artifact id

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.

New maven project with auto configuration
New maven project with auto configuration

Drop me your questions if you face any issue in any step.

Happy Learning !!

Leave a Reply

26 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions, and frequently asked interview questions.

Our Blogs

REST API Tutorial