When running our Maven build, a member of my team gets an error when executing. However, when we run java -version from her command line, it indicates Java 1.6.
mvn -version tells you what compiler Maven is using, so this answers the question unless your POM specifies override values for the versions to be used.
Here's the easiest way to specify the overrides in pom.xml:
1.9
1.9
Alternatively, the maven-compiler-plugin can be specified more explicitly. In that case, look at the and values associated with the plugin.
Both of these options are described here.
If your POM has a , then you need to check that as well (recursively).
Note: When source and target are specified, these values are passed as command-line options to the compiler. Using this feature, you can compile or run against earlier Java versions than the compiler's nominal value.