Having this build error
error: diamond operator is not supported in -source 1.5
I want to elevate the source compiler version to 1.7 how to do that in eclipse?
Having this build error
error: diamond operator is not supported in -source 1.5
I want to elevate the source compiler version to 1.7 how to do that in eclipse?
In your pom.xml
look for the blurb
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
and change accordingly.
Cheers,