Skip to content

Cross-build: make line endings configurable? #902

Description

@myron0815

I'm using the maven plugin on Windows and Linux.
I am creating a sbom.json, which gets added into JAR.
Unfortunately, the created json/jar does not have the same checksum (but the same contents)

Problem seems to the the BomJsonGenerator, which creates a DefaultPrettyPrinter with system line feeds.
(maybe similar for XML - haven't checked/used)

Any plans to make this configurable?
So that subsequently we can configure that on plugin level?

(As workaround i have a shady ant task running right after, fixing that)

Metadata

Metadata

Assignees

No one assigned

    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