You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2011/02/11 00:29:22 UTC

[jira] Created: (MSITE-551) custom content not returned correctly

custom content not returned correctly
-------------------------------------

                 Key: MSITE-551
                 URL: http://jira.codehaus.org/browse/MSITE-551
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
            Reporter: SebbASF


Given the following:

{code:title=site.xml}
<project ...>
<custom>
Content
</custom>
</project>
{code}

and the template snippet:

{code:title=template.vm}
$decoration.custom
{code}

the output is:

{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<custom>Content</custom>
{noformat}

The first line should not be present.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-551) custom content not returned correctly

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255781#action_255781 ] 

Dennis Lundberg commented on MSITE-551:
---------------------------------------

Which version of the Site Plugin are you using?

> custom content not returned correctly
> -------------------------------------
>
>                 Key: MSITE-551
>                 URL: http://jira.codehaus.org/browse/MSITE-551
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>            Reporter: SebbASF
>
> Given the following:
> {code:title=site.xml}
> <project ...>
> <custom>
> Content
> </custom>
> </project>
> {code}
> and the template snippet:
> {code:title=template.vm}
> $decoration.custom
> {code}
> the output is:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <custom>Content</custom>
> {noformat}
> The first line should not be present.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-551) custom content not returned correctly

Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255790#action_255790 ] 

SebbASF commented on MSITE-551:
-------------------------------

2.2

> custom content not returned correctly
> -------------------------------------
>
>                 Key: MSITE-551
>                 URL: http://jira.codehaus.org/browse/MSITE-551
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>            Reporter: SebbASF
>
> Given the following:
> {code:title=site.xml}
> <project ...>
> <custom>
> Content
> </custom>
> </project>
> {code}
> and the template snippet:
> {code:title=template.vm}
> $decoration.custom
> {code}
> the output is:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <custom>Content</custom>
> {noformat}
> The first line should not be present.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira