Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How To Configure Maven Archetype Catalog In Eclipse

Maven archetypes provide a great way for the developer to get started with the project rather than waste their time in creating the plumbing code. So the developer has more time to code instead of just having to reinvent the wheel every time. In order to use the Maven Archetypes, we need to configure the archetype catalog in eclipse.

In this post, I will list the steps to be followed to configure the catalog:

1. Open Eclipse(duh...!!!)

2. Go to Window -> Preferences


3. In the Preferences popup, navigate to Maven -> Archetypes


4. Click Add Remote Catalog. In the popup, add url for the catalog file (http://repo1.maven.org/maven2/archetype-catalog.xml) and its description as given below:


5. Click Verify to verify first or OK to finish.

Now your eclipse is configured to use the predefined maven archetypes. This will save a lot of development time spent in re-inventing the wheel.

In my next post, I will discuss how to create a custom archetype for your technology stack. Till then, bye bye and happy learning!



This post first appeared on Code Ripper, please read the originial post: here

Share the post

How To Configure Maven Archetype Catalog In Eclipse

×

Subscribe to Code Ripper

Get updates delivered right to your inbox!

Thank you for your subscription

×