diffplug / diffplug/spotless

Groovy formatting with Spotless leaves a temporary directory

Abierto
#2,019 6 comentarios 7 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Java
Estrellas
5.7k
Forks
561
Merge medio
1 d 14 h
PR fusionados (30 d)
43

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by running ./mvnw spotless:apply in the linked reproducer project and inspect where the root-level temporary directory is created during Groovy formatting. Trace that behavior through the Maven and Groovy formatting integration; done means formatting leaves no temporary directory in the project root, with regression coverage for the reproducer case.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
groovy, java
Área
build-system, tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.