Package org.codehaus.mojo.flatten
package org.codehaus.mojo.flatten
-
ClassDescriptionThis is the abstract base class for
MOJOs
that realize the different goals of this plugin.This MOJO realizes the goalflatten:clean
that deletes any files created by
(more specific the flattened POM file which is by defaultflatten:flatten
.flattened-pom.xml
).This is a simple container forDependency
objects.The DefaultInheritanceAssembler is encapsulating the InheritanceModelMerger.This enum contains each available handling for a POM element when flattening.This enum contains the predefined modes on how to flatten the dependencies.The descriptor that defines the additional POM elements that should be kept and copied to flattened POM.This enum contains the predefined modes how to deal withadditional POM elements
whengenerating the flattened POM
.This MOJO realizes the goalflatten
that generates the flattened POM andpotentially updates the POM file
so that the currentMavenProject
'sfile
points to the flattened POM instead of the originalpom.xml
file.Helper class to keep the comments how they have been in the original pom.xml While reading withMavenXpp3Writer
the comments are not placed into theModel
and soMavenXpp3Writer
is not able to re-write those comments.This is an implementation ofModelProblemCollector
that is logging all problems.Works around thread safety issues when modifying the global singletonDefaultModelBuilder
with customProfileInjector
andProfileSelector
.PomProperty<V>This class reflects a property of aPOM
.