Package org.apache.maven.project
Class DefaultModelBuildingListener
java.lang.Object
org.apache.maven.model.building.AbstractModelBuildingListener
org.apache.maven.project.DefaultModelBuildingListener
- All Implemented Interfaces:
ModelBuildingListener
Processes events from the model builder while building the effective model for a
MavenProject
instance.- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionDefaultModelBuildingListener
(MavenProject project, ProjectBuildingHelper projectBuildingHelper, ProjectBuildingRequest projectBuildingRequest) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets the project whose model is being built.
-
Constructor Details
-
DefaultModelBuildingListener
public DefaultModelBuildingListener(MavenProject project, ProjectBuildingHelper projectBuildingHelper, ProjectBuildingRequest projectBuildingRequest)
-
-
Method Details
-
getProject
Gets the project whose model is being built.- Returns:
- The project, never
null
.
-
buildExtensionsAssembled
- Specified by:
buildExtensionsAssembled
in interfaceModelBuildingListener
- Overrides:
buildExtensionsAssembled
in classAbstractModelBuildingListener
-