I had OSX with Java 1.6 installed, and I just installed jenv along with Java 1.7:
Java 1.6
jenv
Java 1.7
$ jenv local \'1.7\' $ jenv versions s
You need to install the jenv maven plugin, try the following command and reload your shell:
jenv enable-plugin maven