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 256339 - Adding NetBeans module to NetBeans Platform application project with Maven creates strange error.
Summary: Adding NetBeans module to NetBeans Platform application project with Maven cr...
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PLATFORM
Depends on:
Blocks:
 
Reported: 2015-11-03 13:34 UTC by pkevin
Modified: 2015-11-06 22:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (470.17 KB, text/plain)
2015-11-03 13:47 UTC, pkevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pkevin 2015-11-03 13:34:54 UTC
Product Version = NetBeans IDE 8.1 RC2 (Build 201510122201)
Operating System = Linux version 3.19.0-31-generic running on amd64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17

Reproducibility: Happens every time

STEPS:
  Create NetBeans Platform Project with Maven
  Add module to application - either from the modules node in the parent project node, or from the File->New Project->Maven->NetBeans Module
  Specify the parent project as the project location


ACTUAL:
  The new project is created, but the Source folder (node) has a message stating that the source directory is owned by the parent and no source files can be added there - > see task #138310
  This task is pretty old, and the only information that I got from it that was useful was to restart NetBeans, which does clear this error.  Messy, to say the least.

EXPECTED:
  Actually add netbeans module project to the parent and work with it as expected
Comment 1 pkevin 2015-11-03 13:46:58 UTC
As a test added new module to project, using the add new module to the modules node under the main (parent) project.  I attached the IDE log after that completed; the projects view shows the "Source Packages is owned by the project EJBLookupOnNB-parent, cannot be used here. seee issue #138310 for details." message.
Comment 2 pkevin 2015-11-03 13:47:01 UTC
Created attachment 157122 [details]
IDE log