maven

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影响依赖传递性

maven_第1张图片

5,阻止继承()

paichu

6,排除继承


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

你可能感兴趣的:(maven)