reficio/p2-maven-plugin — pull request #7 by nachtgold (2012-11-13 16:23:59+00:00)
Title: prevent IOException: Unable to delete file

I've created a small pom with 2 artifacts. In some cases maven failed and reported that it can not remove the source directory. With some closing statements it runs :)

```java
java.io.IOException: Unable to delete file \project\target\source\plugins\acb-1.0.0.jar
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1919)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
at org.reficio.p2.P2Mojo.cleanupEnvironment(P2Mojo.java:280)
at org.reficio.p2.P2Mojo.execute(P2Mojo.java:203)
```