Maven - resource filtering : implications of the @ symbol in resource files

前端 未结 6 1180
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 13:28

I am using the Maven assembly plugin to prepare some configuration artifacts for different environments, and I am using resource filtering to substitute parameter values.

6条回答
  •  既然无缘
    2020-12-16 13:49

    i had the same problem, i used a little workaround:

    you must mantain '@' char always peer adding a fictitious variable

    ###########################
    author.name@company.com
    falsevar=@
    ############################
    
    env.name=${replacement.value}
    

提交回复
热议问题