[ http://jira.codehaus.org/browse/ARCHETYPE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated ARCHETYPE-111: ------------------------------------ Component/s: Archetypes > Incorrect generation of POM when using maven-archetype-archetype > ---------------------------------------------------------------- > > Key: ARCHETYPE-111 > URL: http://jira.codehaus.org/browse/ARCHETYPE-111 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes > 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