Class BuildModelTransformer
java.lang.Object
org.apache.maven.internal.impl.model.BuildModelTransformer
- All Implemented Interfaces:
ModelTransformer
ModelSourceTransformer for the build pom
- Since:
- 4.0.0
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
replaceCiFriendlyVersion
(ModelTransformerContext context, String version) protected Optional
<BuildModelTransformer.RelativeProject> resolveRelativePath
(Path pomFile, ModelTransformerContext context, Path relativePath, String groupId, String artifactId) transform
(ModelTransformerContext context, Model model, Path path)
-
Field Details
-
NAMESPACE_PREFIX
- See Also:
-
-
Constructor Details
-
BuildModelTransformer
public BuildModelTransformer()
-
-
Method Details
-
transform
- Specified by:
transform
in interfaceModelTransformer
-
replaceCiFriendlyVersion
-
resolveRelativePath
protected Optional<BuildModelTransformer.RelativeProject> resolveRelativePath(Path pomFile, ModelTransformerContext context, Path relativePath, String groupId, String artifactId)
-