I'm currently working on a Maven project. In my pom.xml, I have to specify my local path for JDK as following :
<dependency>
        <groupId>jdk.tools</groupId>
        <artifactId>jdk.tools</artifactId>
        <version>${java.version}</version>
        <scope>system</scope>
        <systemPath>C:/Program Files/Java/jdk1.8.0_202/lib/tools.jar</systemPath>
    </dependency>
I'm using Java 1.8.0_202. But my colleague, whom I work with on the project, uses Java 1.8.0_144. Is there a way to variablize the local Java path so that we don't have to modify it each time we get one another's modifications on the code from Git?
 
     
    