What is a maven classifier?
Category:
technology and computing
programming languages
classifier: The classifier allows to distinguish artifacts that were built from the same POM but differ in their content. It is some optional and arbitrary string that - if present - is appended to the artifact name just after the version number.
Then, what is properties in POM XML?
Properties can be defined in a POM or in a Profile. The properties set in a POM or in a Maven Profile can be referenced just like any other property available throughout Maven. User-defined properties can be referenced in a POM, or they can be used to filter resources via the Maven Resource plugin.
Beside above, what does POM XML contains?
POM is an acronym for Project Object Model. The pom. xml file contains information of project and configuration information for the maven to build the project such as dependencies, build directory, source directory, test source directory, plugin, goals etc. Maven reads the pom.
There are three built-in build life cycle 'clean', 'default' and 'site'.
- compile – compiles the source code.
- test – executes unit test cases.
- package – bundles the compiled code (Ex: war / jar)
- install – stores the built package in local Maven repository.
- deploy – store in remote repository for sharing.