1心褐,查看默認(rèn)哪些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