Class MavenSanitizerImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.MavenSanitizerImpl
- All Implemented Interfaces:
MavenSanitizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsanitize
(@NotNull File sourcePom, @NotNull RssExecutionOutputHandler stdout) Sanitizes Specs POM
-
Constructor Details
-
MavenSanitizerImpl
public MavenSanitizerImpl()
-
-
Method Details
-
sanitize
public File sanitize(@NotNull @NotNull File sourcePom, @NotNull @NotNull RssExecutionOutputHandler stdout) throws PomProcessingException Description copied from interface:MavenSanitizer
Sanitizes Specs POM- Specified by:
sanitize
in interfaceMavenSanitizer
- Parameters:
sourcePom
- source POM filestdout
- logger- Returns:
- sanitized POM file created in the same directory where original POM was located
- Throws:
PomProcessingException
- if can't parse pom file or parent pom is wrong
-