A clean checkout of OpenMRS trunk should compile and package without displaying warnings, errors, or exceptions.
If you create a local copy of OpenMRS trunk:
and then package it:
the packaging succeeds, but generates a bunch of warning, errors, and exceptions in the process.
The attached mvn package output was created using the steps above and contains multiple warning messages, error, and exceptions. Tickets to address the individual warnings & errors are subtasks of this ticket.