org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project AppiumTestDistribution: Failed to clean project: Failed to delete C:\Users\xxxxxxxxx\git\AppiumTestDistribution\target\appiumlogs

GitHub | raveendaranugu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to execute goal - Unable to delete the appium logs file

    GitHub | 8 months ago | raveendaranugu
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project AppiumTestDistribution: Failed to clean project: Failed to delete C:\Users\xxxxxxxxx\git\AppiumTestDistribution\target\appiumlogs
  2. 0

    Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1

    Stack Overflow | 5 years ago | Tsangyang chen
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project soft-enrol: Failed to clean project: Failed to delete /Users/lingxiubo/Desktop/chenyl/soft-enrol/target/soft-enrol/resource/image/login/?????? 1011_theme_asia.jpg
  3. 0

    Problems deploying Matterhorn

    GitHub | 2 years ago | verschnitzler
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project base: Failed to clean project: Failed to delete /opt/matterhorn/target
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to execute goal org.apache.maven.plugins

    GitHub | 2 years ago | arshtepe
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project app: Failed to clean project: Failed to delete ...app/target/m2e-wtp/web-resources
  6. 0

    Maven - Users - [clean-plugin] Delete files with non-ASCII names created on Windows using clean on *nix

    nabble.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project [project-name]: Failed to clean project: Failed to delete /homes/[path-to-project]/[project-name]/target/checkout/src/test/resources/pptx
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Failed to delete C:\Users\xxxxxxxxxxx\git\AppiumTestDistribution\target\appiumlogs

    at org.apache.maven.plugin.clean.Cleaner.delete()
  2. org.apache.maven
    CleanMojo.execute
    1. org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:249)
    2. org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:191)
    3. org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:158)
    4. org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:117)
    5. org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:193)
    5 frames
  3. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  4. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  5. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames