optional variables fix
small fixes in tests and for maven plugin
version auto-update