maven-replacer-plugin and multiple files

后端 未结 7 1201
执念已碎
执念已碎 2020-12-31 10:59

I wrote a Java Web Application where I replace URLs to static content at build time to add version information, primarely for caching.

For example, href=\"mya

7条回答
  •  情书的邮戳
    2020-12-31 12:02

    From the maven-replacer-plugin doc :

    ignoreMissingFile: Set to true to not fail build if the file is not found. First checks if file exists and exits without attempting to replace anything. Only usable with file parameter.

    So I suggest to remove this parameter when using the

    EDIT: use maven-replacer-plugin version 1.5.1 since version 1.5.2 seems buggy regarding this feature (thanks to phisch for this precision)

提交回复
热议问题