diffplug / diffplug/spotless

Groovy formatting with Spotless leaves a temporary directory

Open
#2,019 6 comments 7 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

Running `./mvnw spotless:apply` with spotless setup to format Groovy a temporary directory is left in the root. See the following reproducer project: https://github.com/attiand/spotless-tmp-file-issue

I would have no problem if the plugin left temporary directories in the Maven `target` directory, but it is annoying in the project root.

The file was named like this: `file%3A%2Ftmp%2Fspotless-groovy10387858394287009044%2F`

* Maven version: 3.8.4
* Spotless version: 2.43.0
* Red Hat Enterprise Linux release 9.3
* See: https://github.com/attiand/spotless-tmp-file-issue

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.