[ http://jira.codehaus.org/browse/ARCHETYPE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119823 ]
Dave Minter commented on ARCHETYPE-107: --------------------------------------- Still an issue as of Maven versions 2.0.7 and 2.0.8. Is there some obvious work-around aside from temporarily renaming the top level pom, hacking the generated poms to refer to the parent, and putting the parent back again? As I understand this is a result of a bad pom in the archives. Is there a corrected pom that I could put into my local respository? (Hacking the pom directory to add an explicit version to the maven-archetype-model artifact didn't fix the problem). It seems strange that this isn't a problem for more people if there isn't a simple work-around...? > maven archetype missing dependency versions breaks archetype:create > -------------------------------------------------------------------- > > Key: ARCHETYPE-107 > URL: http://jira.codehaus.org/browse/ARCHETYPE-107 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes > Environment: linux 2.6 (Xubuntu) > Reporter: Andrew Waterman > Priority: Critical > > When I try to invoke the "create" goal in the 2.0.7 version of maven, I > receive the following error message when invoked from a directory with an > existing pom.xml: > Project ID: org.apache.maven.plugins:maven-archetype-plugin > POM Location: Artifact > [org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT] > Validation Messages: > [0] 'dependencies.dependency.version' is missing for > org.apache.maven.archetype:maven-archetype-creator > Reason: Failed to validate POM for project > org.apache.maven.plugins:maven-archetype-plugin at Artifact > [org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT] > The currently staged version of the maven-archetype-creator dependency > contains a missing version reference: > <dependency> > <groupId>org.apache.maven.archetype</groupId> > <artifactId>maven-archetype-model</artifactId> > </dependency> > [source: > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-creator/1.0-alpha-7/maven-archetype-creator-1.0-alpha-7.pom] > This effectively breaks the archetype:create goal. -- 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