window-->preferences-->team-->Ignored Resource-->Add Pattern-->新建一个*/target/*-->ok,再次同步可见traget下所有文件已不在。