| Summary: | Wrong parent in multi-module archetype | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Rick Poleshuck <RickPoleshuck> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | fbricon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
This bug was fixed in m2e 1.6 M6, as part of Bug #336461. You can install it from the Milestones update site [1], or try the latest developer build for Eclipse Mars [2] [1] https://www.eclipse.org/m2e/m2e-downloads.html [2] https://www.eclipse.org/downloads/index-developer.php *** This bug has been marked as a duplicate of bug 424010 *** |
When a multi-module project is created from a multi-module project, the specified parent poms in the modules are ignored without warning. The archetype works fine in mvn 3.2.5. The error occurs from File->New->Project...->Maven Project The result from mvn command line is something like... Root pom.xml <groupId>com.company</groupId> <artifactId>root</artifactId> <packaging>pom</packaging> Module pom.xml <parent> <groupId>com.company</groupId> <artifactId>parent-module</artifactId> <relativePath></relativePath> </parent> The result from Eclipse m2e is something like... Root pom.xml <groupId>com.company</groupId> <artifactId>root</artifactId> <packaging>pom</packaging> Module pom.xml <parent> <groupId>com.company</groupId> <artifactId>root</artifactId> <relativePath>..</relativePath> </parent>