prepare for maven central
log the error when one occurs actually writing the file
update build tools