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

jackylau updated FLINK-31161:
-----------------------------
    Description: 
when we use multiple project, the parrent struct like this 
[https://stackoverflow.com/questions/39449275/update-parent-version-in-a-maven-projects-module.]

when i use 

mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:update-parent  
-DparentVersion=[1.15.2.1] -DallowSnapshots

could not change parrent version.

!image-2023-02-21-12-17-20-195.png!

 

it is fixed added by skipResolution by upgrading to 2.14.2  
[https://www.mojohaus.org/versions/versions-maven-plugin/update-parent-mojo.html]
{code:java}
 mvn org.codehaus.mojo:versions-maven-plugin:2.14.2:update-parent  
-DparentVersion=[1.15.2.1] -DallowSnapshots -DskipResolution{code}
[https://github.com/mojohaus/versions/tree/2.14.2]

  was:
when we use multiple project, the parrent struct like this 
[https://stackoverflow.com/questions/39449275/update-parent-version-in-a-maven-projects-module.]

when i use 

mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:update-parent  
-DparentVersion=[1.15.2.1] -DallowSnapshots

could not change parrent version.

!image-2023-02-21-12-17-20-195.png!

 

it is fixed added by skipResolution by upgrading to 2.14.2  
[https://www.mojohaus.org/versions/versions-maven-plugin/update-parent-mojo.html]

https://github.com/mojohaus/versions/tree/2.14.2


> upgrade MojoHaus Versions Maven Plugin to 2.14.2
> ------------------------------------------------
>
>                 Key: FLINK-31161
>                 URL: https://issues.apache.org/jira/browse/FLINK-31161
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.18.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.18.0
>
>         Attachments: image-2023-02-21-12-17-20-195.png
>
>
> when we use multiple project, the parrent struct like this 
> [https://stackoverflow.com/questions/39449275/update-parent-version-in-a-maven-projects-module.]
> when i use 
> mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:update-parent  
> -DparentVersion=[1.15.2.1] -DallowSnapshots
> could not change parrent version.
> !image-2023-02-21-12-17-20-195.png!
>  
> it is fixed added by skipResolution by upgrading to 2.14.2  
> [https://www.mojohaus.org/versions/versions-maven-plugin/update-parent-mojo.html]
> {code:java}
>  mvn org.codehaus.mojo:versions-maven-plugin:2.14.2:update-parent  
> -DparentVersion=[1.15.2.1] -DallowSnapshots -DskipResolution{code}
> [https://github.com/mojohaus/versions/tree/2.14.2]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to