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 175472

Summary: Updating parent pom.xml doesn't notify child projects to refresh so they realize they are now valid
Product: projects Reporter: rdelaplante <rdelaplante>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 201750    
Bug Blocks: 172502    

Description rdelaplante 2009-10-26 20:29:36 UTC
I have a parent project with two sub-projects. I plan to release a new version, so I started by updating one of the
sub-project pom.xml files to specify the new version of the parent pom.xml.  I hadn't yet updated the parent pom.xml, so
when I saved it told me "Badly formed project".  Next I went to the parent pom.xml and updated its version.  After
pressing save the child project did not realize that it is now valid.  I had to make some kind of change to the child
pom.xml and press save for it to realize that it is now valid.
Comment 1 rdelaplante 2009-10-26 20:33:20 UTC
Maybe when you save changes to a pom.xml, NetBeans could look for any open projects that are sub-projects of this one
and notify them of the change so they can "refresh".  Maybe it would only notify sub-projects that are "badly formed".  
Comment 2 Antonin Nebuzelsky 2010-07-30 15:17:36 UTC
Reassigning to default owner.
Comment 3 Jesse Glick 2011-03-08 00:19:01 UTC
It would be nice generally if project reloading happened more automatically under a variety of circumstances.
Comment 4 Jesse Glick 2011-08-08 17:10:16 UTC
*** Bug 189442 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2011-08-08 21:23:05 UTC
core-main #5ebab4c6d07a
Comment 6 Quality Engineering 2011-08-10 21:33:51 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5ebab4c6d07a
User: Jesse Glick <jglick@netbeans.org>
Log: #175472: Updating parent pom.xml doesn't notify child projects to refresh so they realize they are now valid