Skip to content

Always parse non-project resources - #1168

Merged
timtebeek merged 1 commit into
mainfrom
tim/remove-cli-maven-plugin-accommodations
Jun 19, 2026
Merged

Always parse non-project resources#1168
timtebeek merged 1 commit into
mainfrom
tim/remove-cli-maven-plugin-accommodations

Conversation

@timtebeek

Copy link
Copy Markdown
Member

Earlier the CLI depended on the maven plugin and required non-project resource parsing to be optional, which is why MavenMojoProjectParser carried a parseAdditionalResources flag. That accommodation is no longer necessary, so this removes the flag (the field, constructor parameter, and early-return guard) and always parses non-project resources. The maven plugin already passed true, so behavior is unchanged.

The CLI used to depend on the maven plugin and needed resource parsing
to be optional. That is no longer the case, so drop the
parseAdditionalResources flag and always parse non-project resources.
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jun 19, 2026
@timtebeek
timtebeek merged commit 0c74e8a into main Jun 19, 2026
1 check passed
@timtebeek
timtebeek deleted the tim/remove-cli-maven-plugin-accommodations branch June 19, 2026 07:09
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 19, 2026
mergify Bot added a commit to robfrank/linklift that referenced this pull request Jul 17, 2026
â€Ķ 6.42.0 to 6.44.0 [skip ci]

Bumps [org.openrewrite.maven:rewrite-maven-plugin](https://github.com/openrewrite/rewrite-maven-plugin) from 6.42.0 to 6.44.0.
Release notes

*Sourced from [org.openrewrite.maven:rewrite-maven-plugin's releases](https://github.com/openrewrite/rewrite-maven-plugin/releases).*

> 6.44.0
> ------
>
> What's Changed
> --------------
>
> * Suppress CVE-2026-53914 and jackson-databind false positives by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-maven-plugin#1172](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1172)
> * Update jackson-bom.version to 2.21.5 by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-maven-plugin#1173](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1173)
> * chore(ci): bump org.junit:junit-bom from 6.1.1 to 6.1.2 by [`@​dependabot`](https://github.com/dependabot)[bot] in [openrewrite/rewrite-maven-plugin#1175](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1175)
>
> **Full Changelog**: <openrewrite/rewrite-maven-plugin@v6.43.0...v6.44.0>
>
> 6.43.0
> ------
>
> What's Changed
> --------------
>
> * Always parse non-project resources by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-maven-plugin#1168](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1168)
> * chore(ci): bump com.fasterxml.jackson:jackson-bom from 2.21.3 to 2.21.4 by [`@​dependabot`](https://github.com/dependabot)[bot] in [openrewrite/rewrite-maven-plugin#1159](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1159)
> * Tolerate Develocity remote build cache warnings in BasicIT by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-maven-plugin#1171](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1171)
> * chore(ci): bump org.junit:junit-bom from 6.1.0 to 6.1.1 by [`@​dependabot`](https://github.com/dependabot)[bot] in [openrewrite/rewrite-maven-plugin#1170](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1170)
>
> **Full Changelog**: <openrewrite/rewrite-maven-plugin@v6.42.0...v6.43.0>


Commits

* [`4057afc`](openrewrite/rewrite-maven-plugin@4057afc) [maven-release-plugin] prepare release v6.44.0
* [`4863ff6`](openrewrite/rewrite-maven-plugin@4863ff6) Bump rewrite.version property
* [`c397755`](openrewrite/rewrite-maven-plugin@c397755) chore(ci): bump org.junit:junit-bom from 6.1.1 to 6.1.2 ([#1175](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1175))
* [`b16d163`](openrewrite/rewrite-maven-plugin@b16d163) Update jackson-bom.version to 2.21.5 ([#1173](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1173))
* [`67a0031`](openrewrite/rewrite-maven-plugin@67a0031) Suppress CVE-2026-53914 and jackson-databind false positives ([#1172](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1172))
* [`c3bdcc5`](openrewrite/rewrite-maven-plugin@c3bdcc5) Bump rewrite.version property
* [`3cd0cce`](openrewrite/rewrite-maven-plugin@3cd0cce) Remove configuration to fail on CVSS >= 9.0
* [`06e64cb`](openrewrite/rewrite-maven-plugin@06e64cb) Bump rewrite.version property
* [`1877e3c`](openrewrite/rewrite-maven-plugin@1877e3c) [maven-release-plugin] prepare for next development iteration
* [`269bf8c`](openrewrite/rewrite-maven-plugin@269bf8c) [maven-release-plugin] prepare release v6.43.0
* Additional commits viewable in [compare view](openrewrite/rewrite-maven-plugin@v6.42.0...v6.44.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.openrewrite.maven:rewrite-maven-plugin&package-manager=maven&previous-version=6.42.0&new-version=6.44.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant