adorris1 / geocoder-java

Automatically exported from code.google.com/p/geocoder-java
0 stars 0 forks source link

compilation error while building v3 using maven #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.project copied and extracted to E:\Work\geocoder-java
2.Maven downloaded and added to Path system variable
3.inside E:\Work\geocoder-java directory when mvn install commnad is given, 
attached error is happening :

What is the expected output? What do you see instead?
Compilation is not happening.

What version of the product are you using? On what operating system?
Geocoder-java V3 and OS : Windows XP service pack 2. Java: jdk.1.5.17

Please provide any additional information below.

Original issue reported on code.google.com by tamalda...@gmail.com on 8 Mar 2012 at 6:53

Attachments:

GoogleCodeExporter commented 8 years ago
You use JDK 1.5, but project configured to use JDK 1.6

pom.xml
...
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <version>2.3.2</version>
  <configuration>
    <source>1.6</source>
    <target>1.6</target>
  </configuration>
</plugin> 
...

If you need locally build for JDK just change 1.6 to 1.5

Original comment by panchmp on 8 Mar 2012 at 1:43