Good day to you, amorgovsky, 

The only thing I can think of right now is that something in your parent
project ( a goal perhaps ) is accessing that class, hence the
maven-clean-plugin could not delete it.

Try doing a mvn clean:clean ( instead of a mvn clean ). If this works, then
my guess awhile ago is probably correct.

Cheers,
Franz

The 

amorgovsky wrote:
> 
> 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]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Parent-build-clean-issue-tf3523265s177.html#a9848597
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to