Added scm and license to POM file

SCM and license appear to be required in order to upload to central
Maven repository
Use Validation instead of manual checks