Maven profile properties are not “overriding”

后端 未结 5 1297
忘了有多久
忘了有多久 2021-02-19 10:09

I have Maven multi-module project with such structure:

parent-pom-project

-- module1

-- module2

At the paren

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 11:01

    I can't figure out how maven can resolve your property if you do not specify any profile. So, to see what's really there, I tried myself, following exactly the schema you described and... I did not experience the problem you have. In your case, it really behaves like if the property was defined outside the profile -as bugske suggested. What happened if you comment temporarily both profiles ?

提交回复
热议问题