Adapted to the latest library changes.
Improved the POM file.