How to share a filter file among Maven2 modules?

前端 未结 3 1324
無奈伤痛
無奈伤痛 2020-12-18 05:06

I have a multi-module project and I would like to define a single filter file that will apply properties to all the child modules. For example, I would like to have the foll

3条回答
  •  别那么骄傲
    2020-12-18 05:42

    you can also share the filter by using an absolute path for the filter in your parent pom.xml

    Since the path is dependent on environment (eclipse windows / eclipse linux / buildserver) you can put the path prefix or part of it in settings.xml profile

提交回复
热议问题