File tree 1 file changed +7
-0
lines changed
src/main/java/se/bjurr/gitchangelog/plugin
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ public class GitChangelogMojo extends AbstractMojo {
126
126
@ Parameter (property = "skip" , required = false )
127
127
private Boolean skip ;
128
128
129
+ @ Parameter (property = "pathFilter" , required = false )
130
+ private String pathFilter ;
131
+
129
132
@ Override
130
133
public void execute () throws MojoExecutionException {
131
134
if (skip != null && skip == true ) {
@@ -231,6 +234,10 @@ public void execute() throws MojoExecutionException {
231
234
builder .withJiraServer (jiraServer );
232
235
}
233
236
237
+ if (isSupplied (pathFilter )) {
238
+ builder .withPathFilter (pathFilter );
239
+ }
240
+
234
241
if (file == null && !isSupplied (mediaWikiUrl )) {
235
242
getLog ().info ("No output set, using file " + DEFAULT_FILE );
236
243
file = new File (DEFAULT_FILE );
You can’t perform that action at this time.
0 commit comments