Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-alpha-1
-
Component/s: Plugin
-
Labels:None
-
Number of attachments :
Description
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.
<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>
should be
<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>