Skip to content

Support vendoring for Maven #485

Open

Description

@greysteil

See dependabot/feedback#23 for more details. Will require the same work as other vendoring projects - the best details of what will be required are in #370.

Thanks for the feedback @davidgoate.

Activity

  1. added
    T: feature-request
    and removed on Oct 23, 2019
  2. added
    L: java:maven
    on Jul 2, 2020
  3. lfgcampos commented on Oct 10, 2021

    @lfgcampos

    Just to bump this one, maybe this github action can be an inspiration for it!
    https://github.com/gradle-update/update-gradle-wrapper-action

  4. guilhemferr commented on Jan 20, 2023

    @guilhemferr

    Hello, can we have an update on this one? Is this something you still consider implementing?

    It seems we have some alternatives for Gradle wrapper, for example and #2223 seems to be an active thread. However, I didn't find anything similar for maven as of now.

  5. deivid-rodriguez commented on Jan 20, 2023

    @deivid-rodriguez
    Contributor

    No updates here @guilhemferr, sorry. We'll post something if there's some movement.

  6. deleted a comment from stale on Feb 6, 2023
  7. xtermi2 commented on Mar 4, 2023

    @xtermi2

    Really disappointing, no progress here. I'm waiting for years for this feature.
    Renovate can do this since years: https://docs.renovatebot.com/modules/manager/maven-wrapper/

  8. github-actions commented on Mar 4, 2025

    @github-actions
    Contributor

    👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details.

  9. welsh commented on Mar 7, 2025

    @welsh

    Still Interested!

  10. yeikel commented on Apr 24, 2026

    @yeikel
    Contributor

    My attempt at this: #14812

  11. v-kbukum1 commented on Aug 12, 2026

    @v-kbukum1
    Contributor

    Reopening because changes are not rolled out yet.

  12. pzygielo commented on Aug 13, 2026

    @pzygielo
  13. ppalaga commented on Oct 2, 2026

    @ppalaga

    Dependabot started upgrading the maven version in .mvn/wrapper/maven-wrapper.properties recently. It also tries to update other Maven Wrapper related files. Most of it works well, the only thing that seems to be broken ATM is that dependabot's PR uses LF as line delimiter in mvnw.cmd. That's wrong and calling such file won't work on Windows. mvnw.cmd shoul use CRLF. Here is an example: https://github.com/cli-assured/cli-assured/pull/145/changes#diff-64a82735d638ae1f0f66748c12366c49ab809d2a3efb6e99c451cace0f1c968c

  14. pzygielo commented on Oct 2, 2026

    @pzygielo
  15. ppalaga commented on Oct 2, 2026

    @ppalaga

    But I have no .gitattributes. Not that I suspect it to matter.

    I am not sure how it could matter, either. My .gitattributes force CRLF for *.cmd files which is generally the right thing.

    *        text eol=lf
    *.cmd    text eol=crlf
    

    Dependabot somehow manages it to ignore it.

  16. ppalaga commented on Oct 2, 2026

    @ppalaga

    BTW, removate can do it right with the same .gitattributes: https://github.com/ec4j/editorconfig-linters/pull/160/changes

  17. chadlwilson commented on Oct 6, 2026

    @chadlwilson

    I guess this one can be closed now; and the CRLF issues with not respecting .gitattributes (or existing line ending style) tracked at #8693 or #10193

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

    F: vendoringL: java:mavenT: feature-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions