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
I had a similar problem. I got things running by prefixing all command with jenv exec:
jenv exec
jenv exec mvn -version