Skip to content

mvn clean slow on Windows - alternative implementation #536

Description

@atlib77

Hi,

I've noticed that running 'clean' goal is really slow on Windows, especially compared to a Linux. I do understand file operations are much quicker on linux for sure. But I'm I mean e.g. 10 seconds vs <1 second difference!

So I wondered if the 'target' folder could simply be renamed to e.g. target_timestamp and let the build continue (renaming the folder is superquick). Then the daemon could take care of actually deleting the renamed folder afterwards in some low-prio background process.

Obviously it could be done in maven directly, but since it doesn't have the concept of a daemon, it couldn't go as far/fast.

btw, thanks for a great program! It really makes using maven much more bearable :)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions