1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   3     <modelVersion>4.0.0</modelVersion>
   4 
   5     <groupId>org.netbeans.ios</groupId>
   6     <artifactId>mobile-center</artifactId>
   7     <version>0.6-SNAPSHOT</version>
   8     <parent>
   9         <groupId>org.netbeans.ios</groupId>
  10         <artifactId>Maven</artifactId>
  11         <version>0.6-SNAPSHOT</version>
  12     </parent>
  13     <packaging>jar</packaging>
  14 
  15     <name>NetBeansMobileCenter</name>
  16     <url>http://maven.apache.org</url>
  17     <build>
  18         <plugins>
  19             <plugin>
  20                 <groupId>org.apache.maven.plugins</groupId>
  21                 <artifactId>maven-compiler-plugin</artifactId>
  22                 <version>2.3.2</version>
  23                 <configuration>
  24                     <source>1.7</source>
  25                     <target>1.7</target>
  26                 </configuration>
  27             </plugin>
  28         </plugins>
  29     </build>
  30     <properties>
  31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  32     </properties>
  33     <dependencies>
  34         <dependency>
  35             <groupId>com.oracle</groupId>
  36             <artifactId>javafx</artifactId>
  37             <version>8.0</version>
  38             <scope>system</scope>
  39             <systemPath>${jfxrt.jar}</systemPath>
  40         </dependency>
  41     </dependencies>
  42    <profiles>
  43       <profile>
  44           <id>jdk8</id>
  45           <activation>
  46               <file>
  47                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
  48               </file>
  49           </activation>
  50           <properties>
  51             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
  52           </properties>
  53       </profile>
  54       <profile>
  55           <id>jdk7</id>
  56           <activation>
  57               <file>
  58                   <exists>${java.home}/lib/jfxrt.jar</exists>
  59               </file>
  60           </activation>
  61           <properties>
  62             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
  63           </properties>
  64       </profile>
  65   </profiles>
  66 </project>