最佳答案
我已经在 Maven 项目中添加了侧写。
<profile>
<id>da</id>
</profile>
<profile>
<id>live</id>
</profile>
<profile>
<id>dev</id>
</profile>
当我在不指定构建配置文件的情况下给出命令 mvn clean install
时。我需要的 Dev配置文件是默认构建。
我怎么才能做到呢?