Adds package info in the maven projects.

Note that it only concerns the top-level package of each project. See
issue #517