Skip to content

overrideFile is deprecated #416

Closed

Description

@bogdanb

I’m not sure I understand everything correctly, but it seems to me that overrideFile should not have been deprecated, because the newer overrideUrl property cannot be used to reproduce the previous behavior.

overrideUrl only allows URLs, which are absolute, thus AFAIK cannot be used to point to a file inside the repository. (I guess on Linux it might be possible, using stuff like ${project.source.directory} to assemble a file: URL, but on Windows that will return some C:\path\with\drive\letter, which can’t do the same thing.

Using overrideFile, you can just put the override file anywhere inside the repository. With overrideUrl, you need to pick one of:

  • put the file on a web server, which requires a server and means no build is possible without a network connection
  • use some hard-coded file: URL, which means you can’t just get the repo and build, you need to place the in a particular path
  • use the default path, which is inconvenient

Activity

  1. slawekjaranowski commented on Jun 29, 2023

    @slawekjaranowski
    Member

    similar to ##411

  2. maxl2287 commented on Apr 30, 2024

    @maxl2287

    Any solution on that?

  3. added
    maintenance
    on Aug 12, 2026
  4. added a commit that references this issue on Nov 19, 2026
    f3d632e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions