You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "zhaoyx (Jira)" <ji...@apache.org> on 2020/01/12 06:07:00 UTC

[jira] [Updated] (MNG-6846) conditional overwrite

     [ https://issues.apache.org/jira/browse/MNG-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhaoyx updated MNG-6846:
------------------------
    Description: 
org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator#createValueSources#lin:167

when I use dynamic ci, I find that if the variable ${reversion} 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]

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

我认为此覆盖是有条件的,仅覆盖当前项目.我项目中依赖的`dubbo-spring-boot-parent`,会导致也把它的版本覆盖掉


> conditional overwrite
> ---------------------
>
>                 Key: MNG-6846
>                 URL: https://issues.apache.org/jira/browse/MNG-6846
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 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
>         Environment: os:windows
> maven:3.6.2
>            Reporter: zhaoyx
>            Priority: Blocker
>              Labels: beginner, newbie
>         Attachments: image-2020-01-10-20-51-23-490.png
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator#createValueSources#lin:167
> when I use dynamic ci, I find that if the variable ${reversion} 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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)