This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269019 - New Project Group: Project and All Required Projects not recursive
Summary: New Project Group: Project and All Required Projects not recursive
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 22:26 UTC by mintern
Modified: 2016-11-17 23:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project hierarchy demonstrating the bug (3.16 KB, application/zip)
2016-11-17 22:26 UTC, mintern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mintern 2016-11-17 22:26:58 UTC
Created attachment 162947 [details]
Project hierarchy demonstrating the bug

In the Project Groups... Create New Group dialog, when I select Project and All Required Projects, the language indicates that it will open, "a master project and all projects it requires, recursively."

This works for Maven inheritance that is only one level deep, but it does not work when there is a second level. That is, consider the following project layout:

pom.xml (Master)
+-a
| +-pom.xml (A)
| +-aa
| | +-pom.xml (AA)
| +-ab
|   +-pom.xml (AB)
+-b
  +-pom.xml (B)

When I create a new project group using the "Project and All Required Projects" option, and I select the Master project's folder, the resulting NetBeans Project Group contains Master, A, and B. It does not include AA and AB.

These POM files are linked bidirectionally, with <module> entries in the parents in <parent> entries in the children. The attached ZIP file contains this project layout, which demonstrates the problem.

I encountered this issue in NetBeans 8.1. I'm currently downloading NetBeans 8.2 to see if it's an issue there, too, and I'll report back once I try it.
Comment 1 mintern 2016-11-17 23:33:33 UTC
I confirmed that the bug exists in NetBeans 8.2 as well.