Skip to content

Commit

Permalink
Allow include and exclude paths to be overridden with user properties…
Browse files Browse the repository at this point in the history
…, useful when runing `mvn license:format`
  • Loading branch information
adamretter authored and mathieucarbou committed Jun 5, 2020
1 parent cb5d168 commit 9f77ded
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ public abstract class AbstractLicenseMojo extends AbstractMojo {
* Specifies files, which are included in the check. By default, all files
* are included.
*/
@Parameter
@Parameter(property = "license.includes")
public String[] includes = new String[0];

/**
* Specifies files, which are excluded in the check. By default, only the
* files matching the default exclude patterns are excluded.
*/
@Parameter
@Parameter(property = "license.excludes")
public String[] excludes = new String[0];

/**
Expand Down

0 comments on commit 9f77ded

Please sign in to comment.