You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cdorot (JIRA)" <ji...@codehaus.org> on 2011/11/24 16:36:39 UTC
[jira] Created: (ARCHETYPE-394) Maven archetype overwrites
artifactId
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
[jira] Commented: (ARCHETYPE-394) Maven archetype overwrites
artifactId
Posted by "cdorot (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/ARCHETYPE-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284187#comment-284187 ]
cdorot commented on ARCHETYPE-394:
----------------------------------
sorry, I made ​​the improper handling - the result is as expected.
I'll close the issue.
> 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
[jira] Closed: (ARCHETYPE-394) Maven archetype overwrites
artifactId
Posted by "cdorot (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/ARCHETYPE-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
cdorot closed ARCHETYPE-394.
----------------------------
Resolution: Cannot Reproduce
> 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