apache / apache/maven

[MNG-6846] conditional overwrite

Open
#8,448 5 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[YunXing Zhao](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zhaoyunxing)** opened **[MNG-6846](https://issues.apache.org/jira/browse/MNG-6846?redirect=false)** and commented

org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator#createValueSources#lin:167

when I use dynamic ci, I find that if the variable `${revision`} exists in other projects, it will be forced to change the version. This part should be filtered out. We cannot control the version of other projects. I tested the sample used [mng-6846](https://github.com/zhaoyunxing92/mng-6846)

---

**Affects:** 3.5.0-alpha-1, 3.5.0-beta-1, 3.5.0, 3.5.2, 3.5.3, 3.5.4, 3.6.0, 3.6.1, 3.6.2, 3.6.3

**Attachments:**
- [image-2020-01-10-20-51-23-490.png](https://issues.apache.org/jira/secure/attachment/12990518/image-2020-01-10-20-51-23-490.png) (_119.37 kB_)

**Issue Links:**
- [MNG-6656](https://issues.apache.org/jira/browse/MNG-6656) Introduce base for build/consumer process

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.