I'm using the following Maven dependency:-
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>3.1</version>
</dependency>
The JRE version I'm using is 1.6, but the above dependency seems to use 1.7, assuming from the following in the opencsv's POM.
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<useIncrementalCompilation>true</useIncrementalCompilation>
</configuration>
</plugin>
I'm getting a Unsupported major.minor version 51.0 (unable to load class com.opencsv.bean.MappingStrategy).
Is there any way I can force the dependency to use JRE 1.6?