Modify the pom.xml and exclude the provided scope jars when run the package tasks.

Fix the issue of failing to load Jersey servlet.