You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:49:02 UTC

[jira] (ARCHETYPE-288) Creation of multi-module projects: problems in submodules

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

Michael Osipov closed ARCHETYPE-288.
------------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> Creation of multi-module projects: problems in submodules
> ---------------------------------------------------------
>
>                 Key: ARCHETYPE-288
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-288
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 2.0-alpha-5
>            Reporter: Jochen Ehret
>         Attachments: archetype_project.zip, archetype_test.zip
>
>
> There are some issues when we try to generate a multi-module project from our archetype. Please see the attachments for full examples.
> 1. In parent-project/pom.xml there is a <parent> definition although the template has no <parent>. flatHierarchy=true as described in ARCHETYPE-156 would help for this pom, but not for the other poms. How can we suppress the <parent> creation for a submodule?
> 2. In parent-project/pom.xml the <artifactId> is "parent-project", but it should be "testArtifactId". The template constains <artifactId>${artifactId}</artifactId>. Why is ${artifactId} not replaced with the user´s entry?
> 3. In project/pom.xml the <artifactId> in <parent> should be "testArtifactId", but it is "project".
> I´m not sure if these are really bugs, is there something wrong with our archetype-metadata.xml?
> Thanks a lot for your assistance!



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)