Your plums should be ripe but not too soft. Too firm and they won't soften or sweeten enough during baking. If they're squishy, they'll collapse and add too much moisture, making it hard to fully bake the top of the cake. They should give off a sweet, fragrant smell and have some give when gently pressed.