[ 
https://issues.apache.org/jira/browse/ARCHETYPE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

feilong updated ARCHETYPE-506:
------------------------------
    Description: 
archetype:generate if pom.xml packaging value is pom,Chinese XML comments will 
change to  ??? 


here is 

{code:xml}
<!-- maven-surefire-plugin -->
                        <plugin>
                                <inherited>true</inherited>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>${v.maven-surefire-plugin}</version>
                                <configuration>
                                        <!-- 跳过测试 -->
                                        <skip>true</skip>
                                </configuration>
                        </plugin>
{code}


if <packaging>pom</packaging>


when i call mvn archetype:generate

result is 

{code:xml}
<!-- maven-surefire-plugin -->
                        <plugin>
                                <inherited>true</inherited>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>${v.maven-surefire-plugin}</version>
                                <configuration>
                                        <!-- ???????? -->
                                        <skip>true</skip>
                                </configuration>
                        </plugin>

{code}

  was:archetype:generate if pom.xml packaging value is pom,Chinese XML comments 
will change to  ??? 


> archetype:generate if pom.xml packaging value is pom,Chinese XML comments 
> will change to  ??? 
> ----------------------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-506
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-506
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: feilong
>
> archetype:generate if pom.xml packaging value is pom,Chinese XML comments 
> will change to  ??? 
> here is 
> {code:xml}
> <!-- maven-surefire-plugin -->
>                       <plugin>
>                               <inherited>true</inherited>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-surefire-plugin</artifactId>
>                               <version>${v.maven-surefire-plugin}</version>
>                               <configuration>
>                                       <!-- 跳过测试 -->
>                                       <skip>true</skip>
>                               </configuration>
>                       </plugin>
> {code}
> if <packaging>pom</packaging>
> when i call mvn archetype:generate
> result is 
> {code:xml}
> <!-- maven-surefire-plugin -->
>                       <plugin>
>                               <inherited>true</inherited>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-surefire-plugin</artifactId>
>                               <version>${v.maven-surefire-plugin}</version>
>                               <configuration>
>                                       <!-- ???????? -->
>                                       <skip>true</skip>
>                               </configuration>
>                       </plugin>
> {code}



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

Reply via email to