Java SE preventing maven clean -
i using maven remote resources plugin copies resources 1 module of app , creates xml file list of copied files. lot of times when build app , deploy tomcat, terminate , try again, build fails following message:
[error] failed execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project students-ui: failed clean project: failed delete {application-path}\target\classes\meta-inf\maven\remote-resources.xml -> [help 1]
this happens randomly, doesn't happen @ , takes 5 - 10 tries go through. when happens , try delete file manually says in use java se. why java hold file?
Comments
Post a Comment