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 245011 - Renaming of sub-module failed to rename modules entry in parent POM
Summary: Renaming of sub-module failed to rename modules entry in parent POM
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 09:15 UTC by jmkgreen
Modified: 2015-06-25 02:27 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 jmkgreen 2014-06-12 09:15:36 UTC
I open a Maven project that had several sub-projects. I opened one of those sub-projects. Once opened I right-clicked the sub-project and hit Rename.

I selected all three tick boxes and entered the new name. After a while it claimed all was done.

Upon cleaning and building the parent, I was told a module was missing - the old name. I opened the parent POM and found a <module> referencing the old name. Updated this to the new name and it built fine.
Comment 1 Tomas Stupka 2015-06-24 11:47:47 UTC
works for me on a simple submodule setup. 

- are you able to able to reproduce? if yes, please attach your messages.log file from that session
- what exactly did you change - the project folder, artifactid, ... ?
- anything interesting about your setup? 

thanks
Comment 2 Tomas Stupka 2015-06-24 12:14:05 UTC
reproduced with a submodule on a path not being bellow the parent projects path.

still please confirm this was case.
Comment 3 Tomas Stupka 2015-06-24 15:53:50 UTC
fixed in jet-main #d9aed9df011b
Comment 4 Quality Engineering 2015-06-25 02:27:18 UTC
Integrated into 'main-silver', will be available in build *201506250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d9aed9df011b
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #245011 - Renaming of sub-module failed to rename modules entry in parent POM