Mvn-func is a project mainly written in Shell, it's free.
maven shell functions
Some shell scripts for day-to-day work to ease interaction with maven.
Just import functions to your shell environment
source xvn.sh
source xvn-extras.sh
xvn clean install path/to/projectA path/to/projectB
or if xvn-extras.sh is also loaded in your shell
xvn-ins path/to/projectA path/to/projectB
Execution will stop on first failure.
Need improvement on detection of pom files. Maven -s for alternative settings files will not work as the settings.xml will be considered a pom file.