I couldn't seem to find this online or in the Maven documentation; I was wondering what packaging types are supported out of the box with Maven 3. Is there a test package?
Please and thank you.
Some of the artifact packaging types that are available are jar, war, ear and pom. You configure the type of packaging you want for your project in pom. xml element <packaging>. If packaging element is not defined, default packaging in maven is jar.
Every Maven project has a packaging type. If it is not specified in the POM, then the default value "jar" would be used.
1 Answer. Show activity on this post. The current core packaging values are: pom, jar, maven-plugin, ejb, war, ear, rar, par.
https://maven.apache.org/pom.html. The packaging type required to be pom for parent and aggregation (multi-module) projects. These types define the goals bound to a set of lifecycle stages. For example, if packaging is jar, then the package phase will execute the jar:jar goal.
The current core packaging values are: pom, jar, maven-plugin, ejb, war, ear, rar, par.
https://maven.apache.org/pom.html#packaging
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With