Skip to content

[ARCHETYPE-656] Generated archetype changes end of lines to line.separator value #874

@jira-importer

Description

@jira-importer

David Matějček opened ARCHETYPE-656 and commented

writer.write(StringUtils.unifyLineSeparators(stringWriter.toString()));

 writer.write(StringUtils.unifyLineSeparators(stringWriter.toString()));

This line manipulates end of line of the source.

That breaks checkstyle rules defined in the common parent of our project where we enforce just '\n'.

It would be good to have it configurable like with encoding. Now is easier to copy-paste another project than to use archetypes.


Affects: 3.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions