DevOps / Maven Interview questions II
What are different types of Build Profiles in Maven?
There are 4 different types of build profile.
- Per Project. Defined in the project's POM itself (pom.xml).
- Per User. Defined in the Maven-settings xml file (%USER_HOME%/.m2/settings.xml).
- Global. Defined in the global Maven-settings (${maven.home}/conf/settings.xml).
- Profile descriptor. a descriptor located in project basedir (profiles.xml).
More Related questions...