Package org.apache.rat.mp.util
Class ScmIgnoreParser
java.lang.Object
org.apache.rat.mp.util.ScmIgnoreParser
Helper to parse SCM ignore files to add entries as excludes during RAT runs.
Since we log errors it needs to reside inside of the maven plugin.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<IgnoreMatcher>
getExclusionsFromSCM(org.apache.maven.plugin.logging.Log log, File baseDir)
Parse ignore files from all known SCMs that have ignore files.
-
Method Details
-
getExclusionsFromSCM
public static List<IgnoreMatcher> getExclusionsFromSCM(org.apache.maven.plugin.logging.Log log, File baseDir)Parse ignore files from all known SCMs that have ignore files.- Parameters:
log
- Show information via maven logger.baseDir
- base directory from which to look for SCM ignores.- Returns:
- Exclusions from the SCM ignore files.
-