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

Brian Fox closed ARCHETYPE-98.
------------------------------

    Resolution: Fixed

tested and verified with 576630

> parents in modules are not always correctly updated
> ---------------------------------------------------
>
>                 Key: ARCHETYPE-98
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-98
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Plugin
>            Reporter: Brian Fox
>            Assignee: Raphaël Piéroni
>             Fix For: NG-1.0-alpha-1
>
>
> I have the following (in plugin/src/test/projects/deep-inheritence-test) 
> project:
> root->a->b where b's parent is a and a's parent is root.
> After generating the project, the group id for all projects is changed, but b 
> still has a reference to the a parent from the original project. It wasn't 
> changed.
> {noformat}
>  <parent>
>     <groupId>org.apache.maven.archetype.test.a</groupId>
>     <artifactId>deep-inheritence-test-a</artifactId>
>     <version>1-SNAPSHOT</version>
>   </parent>
>   <artifactId>b</artifactId>
>   <groupId>my.test</groupId>
>   <packaging>pom</packaging>
>   <name>Inheritence B</name>
>   <version>2-VERSION</version>
> {noformat}
> should be
> {noformat}
>  <parent>
>     <groupId>my.test.a</groupId>   <--------------------------CHange here
>     <artifactId>deep-inheritence-test-a</artifactId>
>     <version>1-SNAPSHOT</version>
>   </parent>
>   <artifactId>b</artifactId>
>   <groupId>my.test</groupId>
>   <packaging>pom</packaging>
>   <name>Inheritence B</name>
>   <version>2-VERSION</version>
> {noformat}

-- 
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


Reply via email to