update packaging to jar and give the pom a name.