Skip to content

Update the version even if it is located in a Maven Property #13

@javahippie

Description

@javahippie

Is your feature request related to a problem? Please describe.
Many projects define dependency versions in project properties like this:

<project>
               <groupId>org.operaton.test</groupId>
               <artifactId>test-app</artifactId>
               <version>1</version>
               <properties>
                 <camunda.version>7.22.0</camunda.version>
               </properties>
               <dependencies>
                 <dependency>
                   <groupId>org.camunda.bpm</groupId>
                   <artifactId>camunda-engine</artifactId>
                   <version>${camunda.version}</version>
                 </dependency>
               </dependencies>
           </project>

Currently the OpenRewrite script can not handle this case and is not able to upgrade this version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions