Skip to content

Path encoding problem with Groovy #2726

Description

@alycklama

There seems to be a path encoding issue with Groovy. In the root folder where the pom.xml is located, the following temporary directories are created:

file%3A%2Fvar%2Ffolders%2F9m%2F7lp33cd577ngz_41_806qk3m0000gn%2FT%2Fspotless-groovy9943439919469970507%2F/

Instead of /var/folders it seems to encode the slashes as %2F and colon as %2A.

Any idea what could be going on?

System details:

  • MacOS Sonoma 14.8.1
            <plugin>
                <groupId>com.diffplug.spotless</groupId>
                <artifactId>spotless-maven-plugin</artifactId>
                <version>3.0.0</version>
                <configuration>
                    <java>
                        <googleJavaFormat />
                    </java>
                    <groovy>
                        <greclipse>
                            <version>4.21</version>
                            <file>greclipse.properties</file>
                        </greclipse>
                    </groovy>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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