谁做过nutz maven打包时传入不同参数打包不同配置文件
例如devtest
src/main/resources/filters/devtest.properties
src/main/resources
false
filters/*
config/*
src/main/resources/config
config
true
src/main/resources
arcu_merchant.properties
true
2 回复
配置 profile
<profiles>
<profile>
<id>error</id>
<properties>
<log.level>ERROR</log.level>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>debug</id>
<properties>
<log.level>DEBUG</log.level>
</properties>
</profile>
</profiles>
log4j.rootLogger=${log.level},A1,file
添加回复
请先登陆