Skip to content

Remove the deprecation of the overrideFile parameter - #794

Merged
slachiewicz merged 1 commit into
masterfrom
agent/undeprecate-file-parameters
Nov 8, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/undeprecate-file-parameters

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Removes @Deprecated and the per-run warning from overrideFile in add-third-party and the third-party reports, and documents it as the choice for a file inside the project, resolved against ${basedir}; overrideUrl stays for remote and classpath: locations. Parsing and the "not both" check are unchanged.

Closes #416

Verified: mvn -B -ntp verify -Prun-its -Dinvoker.test=add-third-party-missing-file → 138 unit tests, 1 IT passed

overrideUrl cannot name a file in the repository portably, so overrideFile is the repo-relative option and not a leftover. Closes #416.
@slachiewicz slachiewicz added the enhancement New feature or request label Nov 8, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 8, 2026 16:54
@slachiewicz
slachiewicz merged commit f3d632e into master Nov 8, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/undeprecate-file-parameters branch November 8, 2026 16:54
@github-actions github-actions Bot added this to the 2.8.1 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

overrideFile is deprecated

1 participant