Guest User

Untitled

a guest
Nov 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [INFO]
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Building hhsystem ui 1.0.0-SNAPSHOT
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO]
  7. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ui ---
  8. [INFO] Deleting C:UsersNikolay_TkachevworkspaceHHSystemUItarget
  9. [INFO] ------------------------------------------------------------------------
  10. [INFO] BUILD FAILURE
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO] Total time: 0.471s
  13. [INFO] Finished at: Mon Oct 21 12:34:33 MSK 2013
  14. [INFO] Final Memory: 2M/90M
  15. [INFO] ------------------------------------------------------------------------
  16. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project ui: Failed to clean project: Failed to delete C:UsersNikolay_TkachevworkspaceHHSystemUItargetorg.ow2.util.asm-asm-tree-3.1.jar -> [Help 1]
  17. [ERROR]
  18. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  19. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  20. [ERROR]
  21. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  22. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  23.  
  24. REM "Use handle.exe to figure out the process id and handle ids, parse the output, then close the handle (again using handle.exe)"
  25.  
  26. cd "C:UsersNikolay_TkachevworkspaceHHSystemUItarget"
  27. "c:/Program Files/Process Explorer/handle.exe" -p java.exe "C:UsersNikolay_TkachevworkspaceHHSystemUItarget" > handles.txt
  28.  
  29. @echo "O====== Going to unlock all the below file handles! =======O"
  30. FOR /F "tokens=1-26 delims=: " %a in (handles.txt) DO @echo %h
  31. FOR /F "tokens=1-26 delims=: " %a in (handles.txt) DO handle -p %c -c %f -y
  32.  
  33. mvn clean install -U
  34.  
  35. <profile>
  36. <activation>
  37. <os>
  38. <family>windows</family>
  39. </os>
  40. </activation>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <artifactId>maven-antrun-plugin</artifactId>
  45. <version>1.8</version>
  46. <executions>
  47. <execution>
  48. <phase>pre-clean</phase>
  49. <configuration>
  50. <tasks>
  51. <exec dir="${project.build.directory}" executable="cmd" failonerror="false">
  52. <arg value="Unlocker.exe" />
  53. <arg value="/S" />
  54. </exec>
  55. </tasks>
  56. </configuration>
  57. <goals>
  58. <goal>run</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </profile>
Add Comment
Please, Sign In to add comment