Question: I am trying to setup jenkins and run build using maven, but I am getting an error, because maven is executing build with java source 1.5. I have mentioned the source and target in pom.xml as 1.7 still it is executing with source 1.5.

```
<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>
    </configuration>
</plugin>

```

I have java 1.8 installed on my machine, please let me know how can I resolve this issue

Answer: 
1. Run the application on an emulator, it should give you a way to define location
2. Ask the developer to allow you to inject mock locations through some sort of API

2.1 Mocking can be done at the app level- i.e. don't read the location from the GPS

2.2 You did not mention a platform, but Android and I suppose iOS too have the possibility to mock a location through the native API

3. If you are concerned about using a real GPS signal then buy a GPS signal generator (at ~100K$ or more)
4. Fly to china ?
@Talya Ostrovsky Lit -

1) You can use some application which can change your location, easily available on Google app store. or you can search some more application
such as "hola"

2) Or you can you simulator and emulator for such testing.