Label use of Maven

By default, the polymerization Maven project management, subproject can completely inherit all API JAR package and the parent project
but we can also look at the parent class project marked, not sub-modules inherit, if the sub-module which want to inherit several, such tags can be used
Here Insert Picture Description
in which version this place in the sub-module, without writing
Here Insert Picture Description
sub-modules are not written version number.
Here Insert Picture Description
Parent module to modify the version number, after sub-module refresh also dynamically update the
Here Insert Picture Description
benefits of a professional to do is, the parent module can generally manage all JAR package sub-module,
because we have a lot of time, different sub-modules require different JAR, there is no necessity let each child inherits the parent class of all modules all the JAR package.

Published 109 original articles · won praise 56 · views 5678

Guess you like

Origin blog.csdn.net/zhang6132326/article/details/104932668