<dependencyManagement>
  <dependencies>
     <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.11</version>
     </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <scope>test</scope>
  </dependency>

  <dependency>
     <groupId>com.oracle</groupId>
     <artifactId>javafx</artifactId>
     <version>2.2</version>
     <systemPath>${java.home}/lib/jfxrt.jar</systemPath>
     <scope>system</scope>
  </dependency>

  <dependency>
     <groupId>com.oracle</groupId>
     <artifactId>tools.jar</artifactId>
     <version>1.7</version>
     <systemPath>${java.home}/../lib/tools.jar</systemPath>
     <scope>system</scope>
  </dependency>
</dependencies>