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
-
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)
-
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)
-