[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177493#comment-15177493
 ] 

Michael Osipov commented on DOXIASITETOOLS-87:
----------------------------------------------

We are using {{StringWriter}} throughout. Why not transform the resulting 
string? This is the easiest way and does not touch Velocity at all. With this, 
we can trough away our custom {{components.xml}}.

> inconsistent newlines between template content from skin and generated content
> ------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-87
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-87
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Hervé Boutemy
>            Assignee: Hervé Boutemy
>             Fix For: 1.6
>
>
> template from skin artifact is read with newline set from skin artifact 
> builder
> then content is added into it with current newline, which can be different 
> from artifact builder
> Template newline should be harmonized with current newline
> this causes MSITE-121 and requires hack in 
> [maven-scm-publish-plugin|http://maven.apache.org/plugins/maven-scm-publish-plugin/]
>  ([copyAndNormalizeNewlines( File srcFile, File destFile 
> )|http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-1.0-beta-2/xref/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.html#180])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to