Java Reference
In-Depth Information
Listing 12-3. The pom File for Building and Running Our JavaFX Application on iOS
<?xml version="1.0"?>
<project xmlns=" http://maven.apache.org/POM/4.0.0 "
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "
xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd " >
<modelVersion>4.0.0</modelVersion>
<groupId>projavafx</groupId>
<artifactId>simpleport</artifactId>
<name>ProJavaFX SimplePort</name>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-rt</artifactId>
<version>0.0.11</version>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-cocoatouch</artifactId>
<version>0.0.11</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.robovm</groupId>
<artifactId>robovm-maven-plugin</artifactId>
<version>0.0.11.1</version>
<configuration>
<config>
<mainClass>projavafx.SimplePortJFXLauncher</mainClass>
</config>
<includeJFX>true</includeJFX>
</configuration>
</plugin>
</plugins>
</build>
</project>
The dependencies section in this pom file indicates that our project requires two artifacts in the org.robovm
space. The configuration for the robovm-maven-plug-in can be used to provide information on the JavaFX
Search WWH ::




Custom Search