1,查看默认哪些profile激活了
mvn help:active-profiles
2,查看激活的pom 在特定的profile下
mvn help:effective-pom -P appserverConfig-dev
3,查看在选择appserverConfig-dev后的激活profile
mvn help:active-profiles -P appserverConfig-dev
4,scope影响依赖传递性
5,阻止继承()
<option>false</option>paichu
6,排除继承
<exclusions>
<exclusion>
<groupid>
<atrifactId>
6,lifecycle有三类
(1)default (2)clean (3)site
clean
preclear ,clear,postClear
default
validate,initialize,generate-sources,process-sources,generate-resources,process-resources,compile,process-classes,generate-test-sources,process-test-sources,generate-test-resources,process-test-resources,test-compile,process-test-classes,test,prepare-package,package,pre-integration-test,integration-test,,post-integration-test,verify,install,deploy
网友评论