You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/05/11 01:40:13 UTC
[jira] Moved: (MARCHETYPES-16) Incorrect generation of POM when
using maven-archetype-archetype
[ http://jira.codehaus.org/browse/MARCHETYPES-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy moved ARCHETYPE-111 to MARCHETYPES-16:
----------------------------------------------------
Component/s: (was: Archetypes)
Key: MARCHETYPES-16 (was: ARCHETYPE-111)
Project: Maven Archetype Bundles (was: Maven Archetype)
> Incorrect generation of POM when using maven-archetype-archetype
> ----------------------------------------------------------------
>
> Key: MARCHETYPES-16
> URL: http://jira.codehaus.org/browse/MARCHETYPES-16
> Project: Maven Archetype Bundles
> Issue Type: Bug
> Reporter: Steve Hodson
> Priority: Minor
>
> I recently followed the 'Guide to Creating Archetypes' and I noticed that the generated pom.xml in
> src/main/resources/archetype-resources
> displays
> <modelVersion>4.0.0</modelVersion>
> <groupId>$test.archetype</groupId>
> <artifactId>$test</artifactId>
> <version>$1.0-SNAPSHOT</version>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> which is then used as the project pom when this archetype is run.
> It seems to be using the groupId, artifactId and version of the archetype and not generating ${groupId} et al. A workaround is to amend the file manually.
--
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