Interface MavenSanitizer
-
- All Known Implementing Classes:
MavenSanitizerImpl
public interface MavenSanitizer
Validates and modifies Maven's pom file to remove possible security holes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
sanitize(@NotNull File sourcePom, @NotNull RssExecutionOutputHandler stdout)
Sanitizes Specs POM
-
-
-
Method Detail
-
sanitize
File sanitize(@NotNull @NotNull File sourcePom, @NotNull @NotNull RssExecutionOutputHandler stdout) throws PomProcessingException
Sanitizes Specs POM- 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
-
-