Understand optional true in maven dependency

Today one colleague  from the other team was trying to mimic our behavior doing custom authentication on Hive-Server2. He asked me why he could not get the HiveConf.get(key) working. It basically gets the key we defined in hive-site.xml. It is convenient because if we put key/value there, we do not have to worry about path issue…

dependencymanagement and dependencies in maven

Dependency Management allows to consolidate and centralize the management of dependency versions without adding dependencies which are inherited by all children. This is especially useful when you havea set of projects (i.e. more than one) that inherits a common parent. Another extremely important use case of dependencyManagement is the control of versions of artifacts used in transitive dependencies. We…