You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jochen Ehret (JIRA)" <ji...@codehaus.org> on 2010/03/23 13:28:24 UTC
[jira] Created: (ARCHETYPE-288) Creation of multi-module projects:
problems in submodules
Creation of multi-module projects: problems in submodules
---------------------------------------------------------
Key: ARCHETYPE-288
URL: http://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 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