michael-o commented on a change in pull request #242: Speed up project discovery
URL: https://github.com/apache/maven/pull/242#discussion_r274131884
 
 

 ##########
 File path: 
maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
 ##########
 @@ -849,13 +851,13 @@ private boolean validateIdWithWildcards( String 
fieldName, ModelProblemCollector
         }
         else
         {
-            boolean match = ID_WITH_WILDCARDS_REGEX.matcher( id ).matches();
-            if ( !match )
+            if ( !org.apache.commons.lang3.StringUtils.containsOnly( id, 
ID_WITH_WILDCARD_CHARS ) )
             {
                 addViolation( problems, severity, version, fieldName, 
sourceHint,
 
 Review comment:
   This message does not reflect the issue anymore because we don't have any 
anymore.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to