Apache Maven is an open-source project management and comprehension tool for Java-based projects. Maven is build on the concept of project object model (POM). Maven is used for project build, dependency management, installing and deploying the build to local and remote repositories.

Exec Maven Plugin

Exec Maven Plugin – Running Java Programs from Maven Build

Maven exec plugin allows us to execute system and Java programs from the maven command. There are two goals of the maven exec plugin: exec:exec – can be used to execute any program in a….

Maven Build Lifecycle Phase Goal

Maven Build Lifecycle, Phases, and Goals

What is Maven Build Lifecycle? When we build a Maven project, it executes a set of clearly defined tasks based on the project pom.xml configuration and the command-line options. This standard set of tasks creates….

Maven Commands And Options

20+ Maven Commands and Options (Cheat Sheet)

If you are working on Java, you must know Maven. Maven is the most popular project and dependency management tool for Java applications. Maven provides a lot of commands and options to help us in….

Apache Maven Dependency Tree

Maven Dependency Tree – Resolving Conflicts

Maven Dependency Tree is very helpful in understanding the project dependencies and resolving any conflicts because of different versions of a dependency. How to get the Maven Dependency Tree of a Project We can run….

Maven Repositories

Maven Repository – A Brief Guide

What is a Maven Repository? A maven repository is a central location that holds build artifacts and their metadata. What are the different types of Maven Repositories? There are two types of maven repositories. Local….

Maven In Eclipse

Using Maven in Eclipse IDE

Eclipse IDE has fantastic support for Maven. We can easily create maven projects, build, deploy, and run it using the Eclipse GUI based interface. In this tutorial, we will learn how to use maven in….

Creating Java Project Maven Archetypes

Creating a Java Project using Maven Archetypes

There are many ways to create a maven project. We can use built-in plugins from the popular IDEs such as Eclipse and IntelliJ IDEA. We can also create a maven project from the command line…..

Install Maven Linux

How to Install Maven on Linux (Ubuntu)

We can install Maven on Linux in a few simple steps. The first step is to install JDK because Maven needs it to execute. In this tutorial, we will learn how to install Maven in….

Install Maven Windows

How to Install Maven on Windows

Apache Maven is the most popular project management tool for Java applications. We can install maven on any operating system. Installing Maven on Windows Maven requires JDK to execute. Maven 3.3+ requires JDK 1.7 or….

tomcat7-maven-plugin – Tomcat Maven Plugin to Deploy WAR

Today we will look into the Tomcat Maven Plugin (tomcat7-maven-plugin) that helps us in deploying our WAR files to Tomcat easily. Tomcat Maven Deploy Recently I was developing a web application and after doing the….

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors