Skip to content

"Failed to delete" html file with no apparent reason #285

Description

@in-fke

Affected versions

3.2.0, 3.3.2, 3.5.0

Bug description

Getting random deletion error after upgrading vom 3.2.0 to 3.5.0, using Maven 3.9.7
This is on an Azure DevOps Pipeline, so I would expect no interference!?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.5.0:clean (default-clean) on project NNN: Failed to clean project: Failed to delete /agent/_work/1/s/NNN/target/html/NNN/index.html -> [Help 1]

One would expect a clearer message from the Files.delete() and IOException?

Maybe backport #180 to 3.x?
Somewhat related? #281 - where 3.3.2 seems to be fine, and 3.4.1 not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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