chat/client-ios/pom.xml
branchNewChat
changeset 238 a0f15cb8c730
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chat/client-ios/pom.xml	Fri Apr 22 05:56:47 2016 +0200
     1.3 @@ -0,0 +1,256 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.6 +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.7 +    <modelVersion>4.0.0</modelVersion>
     1.8 +
     1.9 +    <parent>
    1.10 +        <groupId>org.apidesign.demo</groupId>
    1.11 +        <artifactId>chat-pom</artifactId>
    1.12 +        <version>1.0-SNAPSHOT</version>
    1.13 +    </parent>
    1.14 +    
    1.15 +    <groupId>org.apidesign.demo</groupId>
    1.16 +    <artifactId>chat-ios</artifactId>
    1.17 +    <version>1.0-SNAPSHOT</version>
    1.18 +    <packaging>jar</packaging>
    1.19 +
    1.20 +    <name>chat Client for iOS</name>
    1.21 +
    1.22 +    <properties>
    1.23 +        <project.mainclass>org.apidesign.demo.chat.iOSMain</project.mainclass>
    1.24 +        <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.25 +        <robovm.version>1.6.0</robovm.version>
    1.26 +    </properties>
    1.27 +    <build>
    1.28 +        <plugins>
    1.29 +            <plugin>
    1.30 +                <groupId>org.netbeans.html</groupId>
    1.31 +                <artifactId>html4j-maven-plugin</artifactId>
    1.32 +                <version>${net.java.html.version}</version>
    1.33 +                <executions>
    1.34 +                    <execution>
    1.35 +                        <id>js-classes</id>
    1.36 +                        <goals>
    1.37 +                            <goal>process-js-annotations</goal>
    1.38 +                        </goals>
    1.39 +                    </execution>
    1.40 +                </executions>
    1.41 +            </plugin>          
    1.42 +            <plugin>
    1.43 +                <groupId>org.apache.maven.plugins</groupId>
    1.44 +                <artifactId>maven-compiler-plugin</artifactId>
    1.45 +                <version>2.3.2</version>
    1.46 +                <configuration>
    1.47 +                    <source>1.7</source>
    1.48 +                    <target>1.7</target>
    1.49 +                </configuration>
    1.50 +            </plugin>
    1.51 +            <plugin>
    1.52 +                <groupId>org.apache.maven.plugins</groupId>
    1.53 +                <artifactId>maven-jar-plugin</artifactId>
    1.54 +                <version>2.4</version>
    1.55 +            </plugin>
    1.56 +            <plugin>
    1.57 +                <groupId>org.apache.maven.plugins</groupId>
    1.58 +                <artifactId>maven-dependency-plugin</artifactId>
    1.59 +                <version>2.9</version>
    1.60 +                <executions>
    1.61 +                    <execution>
    1.62 +                        <id>unpack</id>
    1.63 +                        <phase>process-resources</phase>
    1.64 +                        <goals>
    1.65 +                            <goal>unpack-dependencies</goal>
    1.66 +                        </goals>
    1.67 +                    </execution>
    1.68 +                </executions>
    1.69 +                <configuration>
    1.70 +                    <type>zip</type>
    1.71 +                    <classifier>webpages</classifier>
    1.72 +                    <overWrite>true</overWrite>
    1.73 +                    <outputDirectory>target/web/pages</outputDirectory>
    1.74 +                    <includes>*/**</includes>
    1.75 +                </configuration>
    1.76 +            </plugin>            
    1.77 +            <plugin>
    1.78 +                <groupId>com.filmon.maven</groupId>
    1.79 +                <artifactId>image-maven-plugin</artifactId>
    1.80 +                <version>1.2.1</version>
    1.81 +                <executions>
    1.82 +                    <execution>
    1.83 +                        <goals>
    1.84 +                            <goal>scale</goal>
    1.85 +                            <goal>crop</goal>
    1.86 +                        </goals>
    1.87 +                        <configuration>
    1.88 +                            <outputDirectory>target/images</outputDirectory>
    1.89 +                            <images>
    1.90 +                                <image>
    1.91 +                                    <source>src/main/icons/launcher.png</source>
    1.92 +                                    <destination>Icon.png</destination>
    1.93 +                                    <width>57</width>
    1.94 +                                </image>
    1.95 +                                <image>
    1.96 +                                    <source>src/main/icons/launcher.png</source>
    1.97 +                                    <destination>Icon@2.png</destination>
    1.98 +                                    <width>114</width>
    1.99 +                                </image>
   1.100 +                                <image>
   1.101 +                                    <source>src/main/icons/launcher.png</source>
   1.102 +                                    <destination>Icon-60.png</destination>
   1.103 +                                    <width>60</width>
   1.104 +                                </image>
   1.105 +                                <image>
   1.106 +                                    <source>src/main/icons/launcher.png</source>
   1.107 +                                    <destination>Icon-60@2.png</destination>
   1.108 +                                    <width>120</width>
   1.109 +                                </image>
   1.110 +                                <image>
   1.111 +                                    <source>src/main/icons/launcher.png</source>
   1.112 +                                    <destination>Icon-72.png</destination>
   1.113 +                                    <width>72</width>
   1.114 +                                </image>
   1.115 +                                <image>
   1.116 +                                    <source>src/main/icons/launcher.png</source>
   1.117 +                                    <destination>Icon-76.png</destination>
   1.118 +                                    <width>76</width>
   1.119 +                                </image>
   1.120 +                                <image>
   1.121 +                                    <source>src/main/icons/launcher.png</source>
   1.122 +                                    <destination>Default@2x.png</destination>
   1.123 +                                    <width>240</width>
   1.124 +                                    <cropWidth>640</cropWidth>
   1.125 +                                    <cropHeight>960</cropHeight>
   1.126 +                                    <color>white</color>
   1.127 +                                </image>
   1.128 +                                <image>
   1.129 +                                    <source>src/main/icons/launcher.png</source>
   1.130 +                                    <destination>Default-568h@2x.png</destination>
   1.131 +                                    <width>240</width>
   1.132 +                                    <cropWidth>640</cropWidth>
   1.133 +                                    <cropHeight>1136</cropHeight>
   1.134 +                                    <color>white</color>
   1.135 +                                </image>
   1.136 +                                <image>
   1.137 +                                    <source>src/main/icons/launcher.png</source>
   1.138 +                                    <destination>Default.png</destination>
   1.139 +                                    <width>120</width>
   1.140 +                                    <cropWidth>320</cropWidth>
   1.141 +                                    <cropHeight>480</cropHeight>
   1.142 +                                    <color>white</color>
   1.143 +                                </image>
   1.144 +                                <image>
   1.145 +                                    <source>src/main/icons/launcher.png</source>
   1.146 +                                    <destination>Default@2x-Landscape.png</destination>
   1.147 +                                    <width>240</width>
   1.148 +                                    <cropWidth>960</cropWidth>
   1.149 +                                    <cropHeight>640</cropHeight>
   1.150 +                                    <color>white</color>
   1.151 +                                </image>
   1.152 +                                <image>
   1.153 +                                    <source>src/main/icons/launcher.png</source>
   1.154 +                                    <destination>Default-568h@2x-Landscape.png</destination>
   1.155 +                                    <width>240</width>
   1.156 +                                    <cropWidth>1136</cropWidth>
   1.157 +                                    <cropHeight>640</cropHeight>
   1.158 +                                    <color>white</color>
   1.159 +                                </image>
   1.160 +                                <image>
   1.161 +                                    <source>src/main/icons/launcher.png</source>
   1.162 +                                    <destination>Default-Landscape.png</destination>
   1.163 +                                    <width>120</width>
   1.164 +                                    <cropWidth>480</cropWidth>
   1.165 +                                    <cropHeight>320</cropHeight>
   1.166 +                                    <color>white</color>
   1.167 +                                </image>
   1.168 +                            </images>
   1.169 +                        </configuration>
   1.170 +                    </execution>
   1.171 +                </executions>
   1.172 +            </plugin>
   1.173 +            <plugin>
   1.174 +                <groupId>org.robovm</groupId>
   1.175 +                <artifactId>robovm-maven-plugin</artifactId>
   1.176 +                <version>${robovm.version}</version>
   1.177 +                <configuration>
   1.178 +                    <config>
   1.179 +                        <mainClass>${project.mainclass}</mainClass>
   1.180 +                        <forceLinkClasses>
   1.181 +                            <pattern>java.util.logging.ConsoleHandler</pattern>
   1.182 +                            <pattern>java.util.logging.SimpleFormatter</pattern>
   1.183 +                        </forceLinkClasses>
   1.184 +                        <executableName>chat</executableName>
   1.185 +                        <resources>
   1.186 +                            <resource>target/web/pages/</resource>
   1.187 +                            <resource>
   1.188 +                                <targetPath>/</targetPath>
   1.189 +                                <directory>target/images/</directory>
   1.190 +                                <includes>
   1.191 +                                    <include>*.png</include>
   1.192 +                                </includes>
   1.193 +                            </resource>
   1.194 +                        </resources>
   1.195 +                        <os>ios</os>
   1.196 +                    </config>
   1.197 +                    <includeJFX>false</includeJFX>
   1.198 +                </configuration>
   1.199 +                <!--
   1.200 +                <executions>
   1.201 +                    <execution>
   1.202 +                        <phase>package</phase>
   1.203 +                        <goals>
   1.204 +                            <goal>create-ipa</goal>
   1.205 +                        </goals>
   1.206 +                    </execution>
   1.207 +                </executions>
   1.208 +                -->
   1.209 +            </plugin>
   1.210 +        </plugins>
   1.211 +    </build>
   1.212 +    <dependencies>
   1.213 +        <dependency>
   1.214 +            <groupId>org.apidesign.demo</groupId>
   1.215 +            <artifactId>chat</artifactId>
   1.216 +            <version>${project.version}</version>
   1.217 +            <exclusions>
   1.218 +                <exclusion>
   1.219 +                    <groupId>org.netbeans.html</groupId>
   1.220 +                    <artifactId>net.java.html.boot.fx</artifactId>
   1.221 +                </exclusion>
   1.222 +            </exclusions>
   1.223 +        </dependency>
   1.224 +        <dependency>
   1.225 +            <groupId>com.dukescript.presenters</groupId>
   1.226 +            <artifactId>ios</artifactId>
   1.227 +            <version>0.9.1</version>
   1.228 +            <scope>runtime</scope>
   1.229 +            <exclusions>
   1.230 +                <exclusion>
   1.231 +                    <groupId>org.netbeans.html</groupId>
   1.232 +                    <artifactId>net.java.html.geo</artifactId>
   1.233 +                </exclusion>
   1.234 +                <exclusion>
   1.235 +                    <groupId>org.netbeans.html</groupId>
   1.236 +                    <artifactId>net.java.html.boot</artifactId>
   1.237 +                </exclusion>
   1.238 +            </exclusions>
   1.239 +        </dependency>
   1.240 +        <dependency>
   1.241 +            <groupId>org.netbeans.html</groupId>
   1.242 +            <artifactId>net.java.html.geo</artifactId>
   1.243 +            <version>${net.java.html.version}</version>
   1.244 +            <scope>runtime</scope>
   1.245 +        </dependency>
   1.246 +        <dependency>
   1.247 +            <groupId>org.robovm</groupId>
   1.248 +            <artifactId>robovm-cocoatouch</artifactId>
   1.249 +            <version>${robovm.version}</version>
   1.250 +            <type>jar</type>
   1.251 +        </dependency>
   1.252 +        <dependency>
   1.253 +            <groupId>org.robovm</groupId>
   1.254 +            <artifactId>robovm-rt</artifactId>
   1.255 +            <version>${robovm.version}</version>
   1.256 +            <type>jar</type>
   1.257 +        </dependency>
   1.258 +    </dependencies>
   1.259 +</project>