update pom.xml to support package wit dependencies.