Skip to content

Commit

Permalink
Fix for: (use -source 5 or higher to enable generics)
Browse files Browse the repository at this point in the history
         [ERROR] /opt/java/OfflineReverseGeocode/src/main/java/geocode/ReverseGeoCode.java:[42,10] error: generics are not supported in -source 1.3
         [ERROR]
         [ERROR] (use -source 5 or higher to enable generics)
         [ERROR] /opt/java/OfflineReverseGeocode/src/main/java/geocode/kdtree/KDNodeComparator.java:[37,38] error: generics are not supported in -source 1.3
  • Loading branch information
sgri committed May 19, 2015
1 parent 987a085 commit b2ec331
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,22 @@
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>


</project>

0 comments on commit b2ec331

Please sign in to comment.