maven profiles or spring profiles?

后端 未结 5 1405
野趣味
野趣味 2020-12-23 10:14

a lot java applications are build with maven. maven has Profiles concept, it is really handy to build release package for different environments. e.g. dev/test/prod

5条回答
  •  萌比男神i
    2020-12-23 10:43

    I think it depends on your requirements. If you have different dependencies based on the environment (ie. jdbc drivers, etc..), you'll want to use maven to sort this out.

    If it's just a matter of configuring your deployment, you're probably better off using spring.

提交回复
热议问题