Maven Release Plugin will prompt for each project's version.
You need to pass the -N flag to Maven and configure the Release Plugin to pass the -N flag on it's forked builds with the -Darguments flag.
Here's an example:
mvn -N -Darguments=-N release:prepare mvn -N -Darguments=-N release:perform