mvn svn: Directory 'src\test\java\test' is missing 无法编译
原因:删除某个目录后。用maven编译无法通过。提示missing directiory错误。
解决方法:在eclipse中
发布的时候 tag missing: team -> svn update ; team->svn clean(清理); team -> svn update(更新) 再重新发布就可以了
错误显示如下:
[INFO] Working directory: D:\eclipse\workspace2\search-store\store-service
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Directory 'src\test\java\test' is missing
svn: Directory 'src\test\java\test' is missing
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Tue Dec 06 13:17:44 CST 2011
[INFO] Final Memory: 28M/127M