Add jar package function in pom file.