Reestructuring maven poms - using plugin and dependecy management