[Maven]Different between Inheritance and Aggregation.


Inheritance is used for sharing common things between your projects, such as 3rd party library dependency or properties, or scm locations.

Aggregation is used to build your projects as a group. You want aggregation, but that doesn't mean that you won't also be using inheritance to factor out common stuff.


轉自:
http://stackoverflow.com/questions/6541499/maven-does-project-inheritance-or-aggregation-better-support-this-scenario

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章