Most used elements in maven pom.xml file

Project: Root element of pom.xml.
version: the version of the project.
artifactId: Project name
groupId: It refers to the package.
FinamName: Final name of the project component.
packaging: packaging type such as jar, war, ear.
dependencies: dependencies of the project.
Dependency: refers to a particular jar file (inside the dependencies tag).
URL: URL of the project.
scope: defines the scope for this maven project. It can be compile, provided, runtime, test and system.
Repositories: some of the libraries missing in a central repository, those related repositories are defined in repositories tag.
Repository: inside tag of repositories(like dependency).
properties: Defines the project properties like encoding formats.
scm: source code management like repository url's of (git-hub,git-lab,bit-bucket).
build: To build the project (all information compiling, build, deploy should be done this section only).
plugins: adding the plugins like (compiling, jar creation)
manifest: add the main class of your project.
goals: which one need to be first execute (clean,compile,build,package,test,deploy).
site: To generate the site creation.


I’m the Founder of I am a Professional Blogger, Application developer, YouTuber. I’ve been blogging since 2015.I spend a lot of time learning new techniques and actively help other people learn web development through a variety of help groups and writing web development tutorials for my website and blog about advancements in web design and development.Besides programming I love spending time with friends and family and can often be found together going out catching the latest movie or planning a trip to someplace I've never been before.

0 Response to "Most used elements in maven pom.xml file"

Post a Comment