maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] matthiasbalke commented on a change in pull request #2: added support for excludePattern (fixes MPATCH-20)
Date Thu, 08 Nov 2018 08:24:47 GMT
matthiasbalke commented on a change in pull request #2: added support for excludePattern (fixes
MPATCH-20)
URL: https://github.com/apache/maven-patch-plugin/pull/2#discussion_r231796857
 
 

 ##########
 File path: src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
 ##########
 @@ -237,6 +238,16 @@
     @Parameter( defaultValue = "false" )
     private boolean binary;
 
+    /**
+     * List of ANT-style exclude patterns. These patterns are used to exclude patch files
found
+     * in the {@link ApplyMojo#patchDirectory}. These exclude patterns does not apply to
a static defined list of
+     * {@link ApplyMojo#patches}.
+     *
+     * @since 1.3
+     */
+    @Parameter
+    private List excludes;
 
 Review comment:
   Currently no generics are getting used within the code of the plugin. Thats why I kept
this style. Do you want to change it anyways?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message