Skip to content

License headers and .editorconfig disagree on trailing whitespace #155

Closed

Description

@stefanhahmann

mvn license:update-file-header writes empty * lines of the license header with a trailing space, but .editorconfig sets trim_trailing_whitespace = true, so saving a file in the IDE strips it. Every touched file then shows header changes in its diff.

Proposal: set <license.trimHeaderLine>true</license.trimHeaderLine> in the root pom.xml and run mvn license:update-file-header once.

  • canUpdateDescription is on (from pom-scijava), so the run may also rewrite the description line (e.g. "OME-Zarr extras for Fiji" → "OME-Zarr integration into FIJI"). Check that and commit that separately from the whitespace.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions