Creating blogs based on self learning from real time experience, online content, books and other blogs/forums.
Tuesday, April 4, 2017
What is groupId, artifactId and archeType in Maven?
groupId identifies a particular project uniquely across all projects, so we should follow an naming convention. A very simple and commonly used way of doing this is to use reverse of your domain, i.e. com.javarewind.maven.
artifactId is the name of war file without version, if you are creating it by yourself you are free to took any name of your choice in lower case and without any strange symbol. But if this is a third party jar than we have to take the name of jar as suggested by it’s distribution.
Archetype is a Maven project templating toolkit which tells the maven the type of project we are going to create. Archetype enables the maven to create a template project of user’s choice so that the user can get the project up and running instantly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment