How does maven compile only the modified java files?

后端 未结 3 504
抹茶落季
抹茶落季 2020-12-11 15:24

I was just curious to know this, when i give mvn install without doing \'clean\', maven compiles only the modified java files. How does maven identify a java file is modifie

3条回答
  •  星月不相逢
    2020-12-11 16:18

    Without knowing much about maven, I can tell you that generally speaking, "make"-like tools use the "last changed" timestamp, which would explain the issue you had with svn ( see Wikipedia on Subversion's weaknesses.

提交回复
热议问题