mkolesnikov commented on code in PR #198:
URL: https://github.com/apache/maven-release/pull/198#discussion_r1409835601


##########
maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java:
##########
@@ -89,6 +92,18 @@ public abstract class AbstractRewritePomsPhase extends 
AbstractReleasePhase impl
      */
     private String modelETL = JDomModelETLFactory.NAME;
 
+    /**
+     * Regular expression pattern matching Maven expressions (i.e. references 
to Maven properties).
+     * The first group selects the property name the expression refers to.
+     */
+    private static final Pattern EXPRESSION_PATTERN = 
Pattern.compile("\\$\\{(.+)\\}");

Review Comment:
   Would fail in case of `<version>${revision}${sha1}${changelist}</version>`, 
looks like the `revision` the only property from CI Friendly is supported right 
now.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to