Maven downloads have .lastUpdated as extension

前端 未结 7 911
情歌与酒
情歌与酒 2020-11-29 02:00

I have an Eclipse setup with m2eclipse and subversive. I have imported a maven2 project from svn. But I get the error message that a whole bunch of artifacts are missing (fo

7条回答
  •  有刺的猬
    2020-11-29 02:53

    Use this command inside the .m2/repository dir to rename all files:

    for file in `find . -iname *.lastUpdated`; do renamed=$(echo $file | rev | cut -c13- | rev); echo renaming: $file to $renamed; mv $file $renamed; done
    

    This is usefull to not download all sources again.

    This not work... The .jar is lost. :(

提交回复
热议问题