Skip to content

Recipe org.openrewrite.maven.UpgradeParentVersion doesn't work since 6.0.2 plugin version #991

@heruv1m

Description

@heruv1m

What version of OpenRewrite are you using?

I am using 6.0.2 maven plugin version

How are you running OpenRewrite?

I am using the Maven plugin, and my project is a single module project.

<plugin>
  <groupId>org.openrewrite.maven</groupId>
  <artifactId>rewrite-maven-plugin</artifactId>
  <version>6.0.2</version>
  <configuration>
    ... 
  </configuration>
</plugin>

What is the smallest, simplest way to reproduce the problem?

recipeList:
  - org.openrewrite.maven.UpgradeParentVersion:
      groupId: my.group.id
      artifactId: my-artifact-id
      newVersion: 3.0.0

What did you expect to see?

    <parent>
        <groupId>my.group.id</groupId>
        <artifactId>my-artifact-id</artifactId>
        <version>3.0.0</version>
    </parent>

What did you see instead?

    <parent>
        <groupId>my.group.id</groupId>
        <artifactId>my-artifact-id</artifactId>
        <version>2.0.0</version>
    </parent>

What is the full stack trace of any errors you encountered?

Recipe make no changes

Are you interested in contributing a fix to OpenRewrite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions