GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MRELEASE-1109] Support CI friendly versions by kwin · Pull Request #198 · apache/maven-release

Conversation

@kwin

@kwin kwin commented Aug 17, 2023

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kwin
[MRELEASE-1109] Support CI friendly versions
a0027b2
@kwin
kwin requested review from khmarbaise, michael-o and slachiewicz August 17, 2023 17:35
michael-o
michael-o reviewed Aug 17, 2023
View reviewed changes
Comment thread ...se-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@kwin
cleanup
14821b0
@michael-o
michael-o self-requested a review August 18, 2023 06:39
michael-o
michael-o approved these changes Aug 18, 2023
View reviewed changes

@michael-o michael-o left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
olamy
olamy approved these changes Aug 20, 2023
View reviewed changes
@kwin
kwin merged commit 9e0713b into master Aug 20, 2023
@kwin
kwin deleted the feature/support-ci-friendly-versions branch August 20, 2023 14:28
mkolesnikov
mkolesnikov reviewed Nov 29, 2023
View reviewed changes
Comment thread ...release-manager/src/main/java/org/apache/maven/shared/release/transform/jdom2/JDomModel.java
AbstractRewritePomsPhase.extractPropertyFromExpression(versionElement.getTextNormalize());
Properties properties = getProperties();
if (properties != null) {
properties.computeIfPresent(ciFriendlyPropertyName, (k, v) -> version);

@mkolesnikov mkolesnikov Nov 29, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unimplemented (stub) method call, it does nothing.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mkolesnikov mkolesnikov Nov 29, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#201

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mkolesnikov
mkolesnikov reviewed Nov 29, 2023
View reviewed changes
Comment thread ...se-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java
* 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("\\$\\{(.+)\\}");

@mkolesnikov mkolesnikov Nov 29, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mkolesnikov mkolesnikov Nov 29, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#202

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slawekjaranowski slawekjaranowski added the bug Something isn't working label Jun 16, 2024
@michael-o

michael-o commented Aug 23, 2024

Copy link
Copy Markdown
Member

After all, this isn't fine anymore. This has introduced anothe regression: https://issues.apache.org/jira/browse/MRELEASE-1154

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jira-importer

jira-importer commented Jun 20, 2025

Copy link
Copy Markdown

Resolve #1275

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@olamy olamy olamy approved these changes
@michael-o michael-o michael-o approved these changes
@khmarbaise khmarbaise Awaiting requested review from khmarbaise
@slachiewicz slachiewicz Awaiting requested review from slachiewicz
+1 more reviewer
@mkolesnikov mkolesnikov mkolesnikov left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@kwin @michael-o @jira-importer @olamy @mkolesnikov @slawekjaranowski
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.