Fixed some issues in the POM files.

Fixed some issues in the POM files to be able to created a JAR with dependencies.