How to install 2 Maven versions with maven cookbook?

I want to use the maven cookbook to install 2 different Maven versions:

-3.0.5 and 3.2.1

Can I do this via configuration in my .kitchen.yml? Or must I write a
wrapper cookbook that uses the maven resource?