You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ludovic Claude (JIRA)" <ji...@codehaus.org> on 2007/08/20 16:53:47 UTC

[jira] Created: (ARCHETYPE-85) Generated POM.xml should keep comments

Generated POM.xml should keep comments
--------------------------------------

                 Key: ARCHETYPE-85
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-85
             Project: Maven Archetype
          Issue Type: Improvement
    Affects Versions: 1.0-alpha-4
         Environment: Win XP, Maven 2.0.7
            Reporter: Ludovic Claude
            Priority: Minor



I'm writting some custom archetype for my projects. In the POM.xml template file, I want to put some comments that would be useful for those developers who don't know Maven and to guide them.
Something like:

<project>
         [...]

	<dependencies>
		<!-- You can add/remove dependencies as you need here. -->
	</dependencies>
</project>

Unfortunately, the whole <dependencies> tag is removed from the generated pom.xml file. It would be nice to have a templating mechanism that's able to keep those comments.

Thanks, 
Ludovic

-- 
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: (ARCHETYPE-85) Generated POM.xml should keep comments

Posted by "Christian Sokop (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106733 ] 

Christian Sokop commented on ARCHETYPE-85:
------------------------------------------

Is there a workaround for this issue. Maybe it is possible to use an escape sign, to tell 
velocity that text is following and not a tag.

Does anybody know?

Thanks, 
g



> Generated POM.xml should keep comments
> --------------------------------------
>
>                 Key: ARCHETYPE-85
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-85
>             Project: Maven Archetype
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-4
>         Environment: Win XP, Maven 2.0.7
>            Reporter: Ludovic Claude
>            Priority: Minor
>
> I'm writting some custom archetype for my projects. In the POM.xml template file, I want to put some comments that would be useful for those developers who don't know Maven and to guide them.
> Something like:
> <project>
>          [...]
> 	<dependencies>
> 		<!-- You can add/remove dependencies as you need here. -->
> 	</dependencies>
> </project>
> Unfortunately, the whole <dependencies> tag is removed from the generated pom.xml file. It would be nice to have a templating mechanism that's able to keep those comments.
> Thanks, 
> Ludovic

-- 
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] Closed: (ARCHETYPE-85) Generated POM.xml should keep comments

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed ARCHETYPE-85.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-1
         Assignee: Raphaël Piéroni

> Generated POM.xml should keep comments
> --------------------------------------
>
>                 Key: ARCHETYPE-85
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-85
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 1.0-alpha-4
>         Environment: Win XP, Maven 2.0.7
>            Reporter: Ludovic Claude
>            Assignee: Raphaël Piéroni
>            Priority: Minor
>             Fix For: 2.0-alpha-1
>
>
> I'm writting some custom archetype for my projects. In the POM.xml template file, I want to put some comments that would be useful for those developers who don't know Maven and to guide them.
> Something like:
> <project>
>          [...]
> 	<dependencies>
> 		<!-- You can add/remove dependencies as you need here. -->
> 	</dependencies>
> </project>
> Unfortunately, the whole <dependencies> tag is removed from the generated pom.xml file. It would be nice to have a templating mechanism that's able to keep those comments.
> Thanks, 
> Ludovic

-- 
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] Updated: (ARCHETYPE-85) Generated POM.xml should keep comments

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-85:
-----------------------------------

    Component/s: Generator

> Generated POM.xml should keep comments
> --------------------------------------
>
>                 Key: ARCHETYPE-85
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-85
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 1.0-alpha-4
>         Environment: Win XP, Maven 2.0.7
>            Reporter: Ludovic Claude
>            Priority: Minor
>
> I'm writting some custom archetype for my projects. In the POM.xml template file, I want to put some comments that would be useful for those developers who don't know Maven and to guide them.
> Something like:
> <project>
>          [...]
> 	<dependencies>
> 		<!-- You can add/remove dependencies as you need here. -->
> 	</dependencies>
> </project>
> Unfortunately, the whole <dependencies> tag is removed from the generated pom.xml file. It would be nice to have a templating mechanism that's able to keep those comments.
> Thanks, 
> Ludovic

-- 
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