Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building hhsystem ui 1.0.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ui ---
- [INFO] Deleting C:UsersNikolay_TkachevworkspaceHHSystemUItarget
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.471s
- [INFO] Finished at: Mon Oct 21 12:34:33 MSK 2013
- [INFO] Final Memory: 2M/90M
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [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
- REM "Use handle.exe to figure out the process id and handle ids, parse the output, then close the handle (again using handle.exe)"
- cd "C:UsersNikolay_TkachevworkspaceHHSystemUItarget"
- "c:/Program Files/Process Explorer/handle.exe" -p java.exe "C:UsersNikolay_TkachevworkspaceHHSystemUItarget" > handles.txt
- @echo "O====== Going to unlock all the below file handles! =======O"
- FOR /F "tokens=1-26 delims=: " %a in (handles.txt) DO @echo %h
- FOR /F "tokens=1-26 delims=: " %a in (handles.txt) DO handle -p %c -c %f -y
- mvn clean install -U
- <profile>
- <activation>
- <os>
- <family>windows</family>
- </os>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>pre-clean</phase>
- <configuration>
- <tasks>
- <exec dir="${project.build.directory}" executable="cmd" failonerror="false">
- <arg value="Unlocker.exe" />
- <arg value="/S" />
- </exec>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
Add Comment
Please, Sign In to add comment