Is there a way to force maven to copy resource folder changes incrementally?

后端 未结 5 2074
春和景丽
春和景丽 2021-02-20 17:38

I\'m using Maven 2.2.1 and m2eclipse.

I have two resource folders.

When I save a change to any file in any of the resource folders, the Maven incremental build k

5条回答
  •  生来不讨喜
    2021-02-20 17:58

    Try setting the overwrite parameter of the Maven resources plugin to false. http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#overwrite

    Edited: this parameter exists since Maven resources plugin version 2.3. @Jared: Please check your version.

提交回复
热议问题