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 270736 - NetBeans must not prevent itself from doing a Clean on a Maven project
Summary: NetBeans must not prevent itself from doing a Clean on a Maven project
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: PC Other
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 11:30 UTC by terje7601
Modified: 2017-05-25 11:30 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 terje7601 2017-05-25 11:30:17 UTC
The other week I was unable to do a "Clean and Build" on a Maven project (i.e. `mvn clean install`), because NetBeans still had a file handle to a persistence.xml file somewhere in the target folder. I closed the file handle using sysinternals' Process Explorer (which led to http://statistics.netbeans.org/analytics/detail.do?id=229151 ).
However, the point is that NetBeans must be smart enough to figure out that when I do a Clean of a Maven project, it should close all file handles that point into Maven's `target` directory.