Java package dependency mediator,supporting maven and non-maven structure