Class PomFileGenerator

All Implemented Interfaces:
Generator, ResourceProvider

public class PomFileGenerator extends AbstractGenerator

A Generator for POM files. The generator generates a maven Model with basic information. The group is set to the value of the property MvnProperties.GroupId if it is defined. The artifact id is set to the property MvnProperties.ArtifactId or the name of the project, if MvnProperties.ArtifactId is not defined. The version is set to the value of the property Project.Properties.Version.

This basic model is passed to adaptPom(Consumer) where it can be adapted. as the project requires. Finally, the model is written to the POM file