I had not any configuration of the maven-clean-plugin in the parent.
Here is the output:

[INFO] [clean:clean]
[INFO] Deleting directory x:\y\a\target
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to delete directory: x:\y\a\target. Reason: Unable to
delete file x:\y\a\target\nnnnnnnnnnn.class

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------ 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

Reply via email to