You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Matějček (Jira)" <ji...@apache.org> on 2024/02/02 12:45:00 UTC

[jira] [Created] (ARCHETYPE-656) Generated artefact changes end of lines to line.separator value

David Matějček created ARCHETYPE-656:
----------------------------------------

             Summary: Generated artefact changes end of lines to line.separator value
                 Key: ARCHETYPE-656
                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-656
             Project: Maven Archetype
          Issue Type: Bug
          Components: Generator
    Affects Versions: 3.2.1
            Reporter: David Matějček


[https://github.com/apache/maven-archetype/blob/3a2b725198c3823fd5d7e9f88b665b2e4515a202/archetype-common/src/main/java/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.java#L741]

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)