Apache Maven Tutorial | Maven Goals | Package Goal

Опубликовано: 07 Август 2026
на канале: Harivardhan Technology Solutions
43
4

package
==========
1.it is used for packaging the compiled code in distributable format
such as JAR, WAR and EAR.

2.we are having three types of packages in JAVA applications
1.JAR = JAVA Archive(standalone app)
2.WAR=Web Archive(web app)
3.EAR = Enterprise Archive(enterprise app)

3.These package contains only source code .class files. and
should not contains any test class .class files

Note:
Test class .class files will not run in any production or live servers so
these .class files are not including in packages by maven.

4.package will have MET-INF folder and it has pom.xml file and pom.properties file


For Git Videos, please go through below Tutorial
   • Git Tutorial  

For Java Videos, Please go through below Tutorial
   • JAVA