Skip to content

Copy missing files to .m2 even when the directory exists #9

@ioggstream

Description

@ioggstream

I expect

  • that file provided by /app/java-validators/.m2 are added to $HOME/.m2 even when $HOME/.m2 already exists

Instead

  1. if .m2 exists files are not copied, this causes super-sast to download them again
  2. if .m2 exists and is empty, files are still not copied

Note

  • a basic implementation can just copy .m2/repository/ without overwriting
  • a more complex behavior can be implemented (e.g. via rsync) and be disabled by default with feature flag like SUPER_SAST_ALWAYS_COPY_M2=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions