Goals
In Maven, there are three main phases of the build process that are commonly used: clean
, compile
, and package
.
clean
: This phase removes all previously compiled classes and other generated files from the target directory.
compile
: This phase compiles the source code of the project and generates the class files.
package
: This phase packages the compiled classes and resources into a distributable format, such as a JAR or WAR file.
Last updated