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 262240 - right click on newly-created pom.xml (submodule) executes paren't directory's pom.xml
Summary: right click on newly-created pom.xml (submodule) executes paren't directory's...
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-26 15:07 UTC by nb_johan1
Modified: 2016-06-17 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nb_johan1 2016-05-26 15:07:22 UTC
I have a maven project, I want to create a submodule so I first create a subdirectory and create a pom.xml inside it and add what is needed.

When I right click in the newly created pom, the menu preset menu that appears is the same as the one appearing on the parent directory's pom (by reading nbactions.xml) and when I actually click on some preset, the parent directory pom's corresponding goal is executed.
Comment 1 Tomas Stupka 2016-06-17 15:42:56 UTC
NetBeans IDE Dev (Build 20160617-d6b7b60d5fd2)
wasn't able able to reproduce with a current dev build but nor sure if i tried as reported

>I have a maven project, I want to create a submodule so I first create a subdirectory 
> and create a pom.xml inside it and add what is needed.
please provide exact steps how did you do this:
- you created the folder in projects view, files view or outside of netbeans?
- or did i understand wrong and you did this via an project create action and a wizard?
- was the parent a pom project?
- ...

- what build do you use, please also provide your messages.log from an NB session in which you reproduced the reported behavior

thanks