public final class ScmIgnoreParser extends Object
Modifier and Type | Method and Description |
---|---|
static List<String> |
getExcludesFromFile(org.apache.maven.plugin.logging.Log log,
File scmIgnore)
Parses excludes from the given SCM ignore file.
|
static List<String> |
getExclusionsFromSCM(org.apache.maven.plugin.logging.Log log,
File baseDir)
Parse ignore files from all known SCMs that have ignore files.
|
public static List<String> getExcludesFromFile(org.apache.maven.plugin.logging.Log log, File scmIgnore)
log
- Maven log to show output during RAT runs.scmIgnore
- if null
or invalid an empty list of exclusions is returned.public static List<String> getExclusionsFromSCM(org.apache.maven.plugin.logging.Log log, File baseDir)
log
- Show information via maven logger.baseDir
- base directory from which to look for SCM ignores.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.