A guess...  there may be a process spawned by your tests that is still
running, and is recreating this directory.

On Friday, October 14, 2016, jieryn <jie...@gmail.com> wrote:

> And the dir mismatch in your example is just because of multiple runs?
>
> On Thu, Oct 13, 2016 at 8:50 PM, Benson Margulies <bimargul...@gmail.com
> <javascript:;>> wrote:
> > ➜ tests git:(master) ls -l
> > /Users/benson/x/rosapi1.5/itests/tests/target/pax/
> 6c7a5d80-3080-482f-abb4-394d9a782ef2/data
> > total 24
> > -rw-r--r--  1 benson  staff  5 Oct 13 20:47 port
> > -rw-r--r--  1 benson  staff  7 Oct 13 20:47 rosette-usage.yaml
> > -rw-r--r--  1 benson  staff  7 Oct 13 20:47 rosette-usage.yaml.backup
> >
> > rm -rf is perfectly capable of deleting it.
> >
> > and yet, mvn clean fails.  Any ideas? It's repeatable.
> >
> > Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
> > clean project: Failed to delete
> > /Users/benson/x/rosapi1.5/itests/tests/target/pax/
> 4ba14215-319e-4688-95a0-d00997dd5fdc/data
> > at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:215)
> > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> DefaultBuildPluginManager.java:134)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:207)
> > ... 20 more
> > Caused by: java.io.IOException: Failed to delete
> > /Users/benson/x/rosapi1.5/itests/tests/target/pax/
> 4ba14215-319e-4688-95a0-d00997dd5fdc/data
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:249)
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:191)
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:158)
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:158)
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:158)
> > at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:117)
> > at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:193)
> > ... 22 more
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> <javascript:;>
> > For additional commands, e-mail: users-h...@maven.apache.org
> <javascript:;>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-h...@maven.apache.org
> <javascript:;>
>
>

Reply via email to