Introduction
Maven is primarily a build tool for Java projects. Java projects can generate different types of binaries. Typically, the output of a Java project is a JAR file. For web applications, Java classes combined with other type of files result in a WAR or EAR file as well. Maven provides plugins and lifecycle phases to generate various types of binary artifacts for Java projects.