Multi-Module Maven Project using Console

Last Updated:

Learn how to create multi-module maven project from console IDE. In this maven tutorial, we will learn to create nested maven projects maven cli commands.

Maven Multi-Module Project using Eclipse

Last Updated:

Learn how to create a multi-module maven project in eclipse IDE. In this maven tutorial, we will learn to create nested maven projects in Eclipse. …

Maven – Spring Boot Fat/Uber Jar

Last Updated:

In this maven tutorial, we will learn to create fat jar or uber jar for spring boot applications using maven plugin. Its very easy and require very few config changes in pom.xml file.

Tomcat Maven Plugin Example

Last Updated:

In this maven tutorial, learn to add and configure tomcat plugin to pom.xml and use it deploy the web application without any tomcat installation in machine.

Maven Custom Archetype from Eclipse Project

Last Updated:

Learn to create maven custom archetypes which helps in creating a specific type of project structure which is not available in any standard maven archetype.

Maven – Parent and Child POM Example

Last Updated:

Maven parent POM (or super POM) is used to structure the project to avoid redundancies or duplicate configurations using inheritance between pom files.

Maven Dependency Scopes

Last Updated:

Maven dependency scope is used to specify the visibility of a dependency. It provides six scopes i.e. compile, provided, runtime, test, system, and import.

Maven Dependency Management

Last Updated:

In this Maven tutorial,  learn about Maven dependency management, including external dependency, transitive dependency tree, excluding dependencies and version ranges. 1. What is Maven Dependency? In Maven, a dependency is just …

Maven – POM File

Last Updated:

POM (Project Object Model) is an XML file that contains information about the project and configuration details used by Maven to build the project i.e. sourcecode location, project dependencies etc. This file must be named as pom.xml and placed under root folder of project.

Maven – Settings File

Last Updated:

Maven settings.xml file contains configurations that are not specific to a project, but are global in nature. It also contains information that is not meant to be distributed (e.g. passwords).

Maven – Create java source folders

Last Updated:

This is very strange problem but this is fact that when you create a maven web application using “-DarchetypeArtifactId=maven-archetype-webapp” then no java source folder is …

Maven IntelliJ Idea Project

Last Updated:

We have learned that how to create a simple java project in maven and also how to convert it to support eclipse IDE. Sometimes developers …

Maven Enforce Minimum Java Version

Last Updated:

Many times, we need to enforce that java build process should halt immediately if deployment environment does not have not a specific operating system, or …

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.