You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Daniel Takamori (JIRA)" <ji...@apache.org> on 2016/02/15 22:33:18 UTC

[jira] [Resolved] (INFRA-10343) Failed to mvn clean project in windows2

     [ https://issues.apache.org/jira/browse/INFRA-10343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Takamori resolved INFRA-10343.
-------------------------------------
    Resolution: Fixed

> Failed to mvn clean project in windows2
> ---------------------------------------
>
>                 Key: INFRA-10343
>                 URL: https://issues.apache.org/jira/browse/INFRA-10343
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Tae-Geon Um
>            Assignee: Daniel Takamori
>
> In windows2 machine, mvn clean doesn't work right now.  (It worked well before.)
> link: https://builds.apache.org/job/Reef-pull-request-windows/388/console
> error message: 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project reef-annotations: Failed to clean project: Failed to delete F:\jenkins\jenkins-slave\workspace\Reef-pull-request-windows\lang\java\reef-annotations\target\reef-annotations-0.12.0-incubating-SNAPSHOT.jar -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project reef-annotations: Failed to clean project: Failed to delete F:\jenkins\jenkins-slave\workspace\Reef-pull-request-windows\lang\java\reef-annotations\target\reef-annotations-0.12.0-incubating-SNAPSHOT.jar
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 	at hudson.remoting.Request$2.run(Request.java:328)
> 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to clean project: Failed to delete F:\jenkins\jenkins-slave\workspace\Reef-pull-request-windows\lang\java\reef-annotations\target\reef-annotations-0.12.0-incubating-SNAPSHOT.jar
> 	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:215)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 31 more
> Caused by: java.io.IOException: Failed to delete F:\jenkins\jenkins-slave\workspace\Reef-pull-request-windows\lang\java\reef-annotations\target\reef-annotations-0.12.0-incubating-SNAPSHOT.jar
> 	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:117)
> 	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:193)
> 	... 33 more
> [ERROR] 
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :reef-annotations
> Is there anyone who knows why it doesn't work? 
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)