michael-o commented on code in PR #984:
URL: https://github.com/apache/maven/pull/984#discussion_r1099145307


##########
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java:
##########
@@ -49,6 +50,8 @@ public class PluginDescriptor extends ComponentSetDescriptor 
implements Cloneabl
 
     private static final String LIFECYCLE_DESCRIPTOR = 
"META-INF/maven/lifecycle.xml";
 
+    private static final Pattern PATTERN_FILTER_1 = 
Pattern.compile("(-?maven-?)|(-?plugin-?)");

Review Comment:
   Technically, yes, but reads very very badly



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to