fix maven release API incompatibility