maven

作者: firehole | 来源:发表于2017-03-31 16:04 被阅读0次

    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

    相关文章

      网友评论

          本文标题:maven

          本文链接:https://www.haomeiwen.com/subject/xksvottx.html