Class MavenSanitizerImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.MavenSanitizerImpl
-
- All Implemented Interfaces:
MavenSanitizer
public class MavenSanitizerImpl extends Object implements MavenSanitizer
-
-
Constructor Summary
Constructors Constructor Description MavenSanitizerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
sanitize(@NotNull File sourcePom, @NotNull RssExecutionOutputHandler stdout)
Sanitizes Specs POM
-
-
-
Method Detail
-
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
-
-