Maven archetype overwrites artifactId
-------------------------------------

                 Key: ARCHETYPE-394
                 URL: https://jira.codehaus.org/browse/ARCHETYPE-394
             Project: Maven Archetype
          Issue Type: Bug
            Reporter: cdorot


In relation to ARCHETYPE-393, the artifactId of the pom.xml of the main reactor 
is overwritten.

If the definition of the main pom.xml is as follow :

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>

        <groupId>${groupId}</groupId>
        <artifactId>${artifactId}-reactor</artifactId>
        <version>${version}</version>
        <packaging>pom</packaging>

        <description>
                <![CDATA[
                
                ]]>
        </description>

        <modules>
                <module>${artifactId}-bom</module>
                <module>${artifactId}-conf</module>
                <module>${artifactId}-hooks</module>
                <module>${artifactId}-parent</module>
                <module>${artifactId}-portlets</module>
                <module>${artifactId}-services</module>
                <module>${artifactId}-themes</module>
        </modules>
</project>
{code}

we get at generation "${artifactId}" and not "${artifactId}*-reactor*" as 
expected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to