improved maven config to use release profile