Maven profile properties are not “overriding”

后端 未结 5 1296
忘了有多久
忘了有多久 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 10:42

    Although old I had the same problem and didn't find the solution here. For me the problem was Eclipse which I use parallel to mvn on the command line. Eclipse instantly called process-resources after I did so on the command line.

    Thus the solution was to select the profile in Eclipse (Project->Maven->Select Maven Profiles).

提交回复
热议问题