chat/client-ios/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 22 Apr 2016 05:56:47 +0200
branchNewChat
changeset 238 a0f15cb8c730
permissions -rw-r--r--
Switching to newer version of the libraries
     1 <?xml version="1.0"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4     <modelVersion>4.0.0</modelVersion>
     5 
     6     <parent>
     7         <groupId>org.apidesign.demo</groupId>
     8         <artifactId>chat-pom</artifactId>
     9         <version>1.0-SNAPSHOT</version>
    10     </parent>
    11     
    12     <groupId>org.apidesign.demo</groupId>
    13     <artifactId>chat-ios</artifactId>
    14     <version>1.0-SNAPSHOT</version>
    15     <packaging>jar</packaging>
    16 
    17     <name>chat Client for iOS</name>
    18 
    19     <properties>
    20         <project.mainclass>org.apidesign.demo.chat.iOSMain</project.mainclass>
    21         <netbeans.compile.on.save>none</netbeans.compile.on.save>
    22         <robovm.version>1.6.0</robovm.version>
    23     </properties>
    24     <build>
    25         <plugins>
    26             <plugin>
    27                 <groupId>org.netbeans.html</groupId>
    28                 <artifactId>html4j-maven-plugin</artifactId>
    29                 <version>${net.java.html.version}</version>
    30                 <executions>
    31                     <execution>
    32                         <id>js-classes</id>
    33                         <goals>
    34                             <goal>process-js-annotations</goal>
    35                         </goals>
    36                     </execution>
    37                 </executions>
    38             </plugin>          
    39             <plugin>
    40                 <groupId>org.apache.maven.plugins</groupId>
    41                 <artifactId>maven-compiler-plugin</artifactId>
    42                 <version>2.3.2</version>
    43                 <configuration>
    44                     <source>1.7</source>
    45                     <target>1.7</target>
    46                 </configuration>
    47             </plugin>
    48             <plugin>
    49                 <groupId>org.apache.maven.plugins</groupId>
    50                 <artifactId>maven-jar-plugin</artifactId>
    51                 <version>2.4</version>
    52             </plugin>
    53             <plugin>
    54                 <groupId>org.apache.maven.plugins</groupId>
    55                 <artifactId>maven-dependency-plugin</artifactId>
    56                 <version>2.9</version>
    57                 <executions>
    58                     <execution>
    59                         <id>unpack</id>
    60                         <phase>process-resources</phase>
    61                         <goals>
    62                             <goal>unpack-dependencies</goal>
    63                         </goals>
    64                     </execution>
    65                 </executions>
    66                 <configuration>
    67                     <type>zip</type>
    68                     <classifier>webpages</classifier>
    69                     <overWrite>true</overWrite>
    70                     <outputDirectory>target/web/pages</outputDirectory>
    71                     <includes>*/**</includes>
    72                 </configuration>
    73             </plugin>            
    74             <plugin>
    75                 <groupId>com.filmon.maven</groupId>
    76                 <artifactId>image-maven-plugin</artifactId>
    77                 <version>1.2.1</version>
    78                 <executions>
    79                     <execution>
    80                         <goals>
    81                             <goal>scale</goal>
    82                             <goal>crop</goal>
    83                         </goals>
    84                         <configuration>
    85                             <outputDirectory>target/images</outputDirectory>
    86                             <images>
    87                                 <image>
    88                                     <source>src/main/icons/launcher.png</source>
    89                                     <destination>Icon.png</destination>
    90                                     <width>57</width>
    91                                 </image>
    92                                 <image>
    93                                     <source>src/main/icons/launcher.png</source>
    94                                     <destination>Icon@2.png</destination>
    95                                     <width>114</width>
    96                                 </image>
    97                                 <image>
    98                                     <source>src/main/icons/launcher.png</source>
    99                                     <destination>Icon-60.png</destination>
   100                                     <width>60</width>
   101                                 </image>
   102                                 <image>
   103                                     <source>src/main/icons/launcher.png</source>
   104                                     <destination>Icon-60@2.png</destination>
   105                                     <width>120</width>
   106                                 </image>
   107                                 <image>
   108                                     <source>src/main/icons/launcher.png</source>
   109                                     <destination>Icon-72.png</destination>
   110                                     <width>72</width>
   111                                 </image>
   112                                 <image>
   113                                     <source>src/main/icons/launcher.png</source>
   114                                     <destination>Icon-76.png</destination>
   115                                     <width>76</width>
   116                                 </image>
   117                                 <image>
   118                                     <source>src/main/icons/launcher.png</source>
   119                                     <destination>Default@2x.png</destination>
   120                                     <width>240</width>
   121                                     <cropWidth>640</cropWidth>
   122                                     <cropHeight>960</cropHeight>
   123                                     <color>white</color>
   124                                 </image>
   125                                 <image>
   126                                     <source>src/main/icons/launcher.png</source>
   127                                     <destination>Default-568h@2x.png</destination>
   128                                     <width>240</width>
   129                                     <cropWidth>640</cropWidth>
   130                                     <cropHeight>1136</cropHeight>
   131                                     <color>white</color>
   132                                 </image>
   133                                 <image>
   134                                     <source>src/main/icons/launcher.png</source>
   135                                     <destination>Default.png</destination>
   136                                     <width>120</width>
   137                                     <cropWidth>320</cropWidth>
   138                                     <cropHeight>480</cropHeight>
   139                                     <color>white</color>
   140                                 </image>
   141                                 <image>
   142                                     <source>src/main/icons/launcher.png</source>
   143                                     <destination>Default@2x-Landscape.png</destination>
   144                                     <width>240</width>
   145                                     <cropWidth>960</cropWidth>
   146                                     <cropHeight>640</cropHeight>
   147                                     <color>white</color>
   148                                 </image>
   149                                 <image>
   150                                     <source>src/main/icons/launcher.png</source>
   151                                     <destination>Default-568h@2x-Landscape.png</destination>
   152                                     <width>240</width>
   153                                     <cropWidth>1136</cropWidth>
   154                                     <cropHeight>640</cropHeight>
   155                                     <color>white</color>
   156                                 </image>
   157                                 <image>
   158                                     <source>src/main/icons/launcher.png</source>
   159                                     <destination>Default-Landscape.png</destination>
   160                                     <width>120</width>
   161                                     <cropWidth>480</cropWidth>
   162                                     <cropHeight>320</cropHeight>
   163                                     <color>white</color>
   164                                 </image>
   165                             </images>
   166                         </configuration>
   167                     </execution>
   168                 </executions>
   169             </plugin>
   170             <plugin>
   171                 <groupId>org.robovm</groupId>
   172                 <artifactId>robovm-maven-plugin</artifactId>
   173                 <version>${robovm.version}</version>
   174                 <configuration>
   175                     <config>
   176                         <mainClass>${project.mainclass}</mainClass>
   177                         <forceLinkClasses>
   178                             <pattern>java.util.logging.ConsoleHandler</pattern>
   179                             <pattern>java.util.logging.SimpleFormatter</pattern>
   180                         </forceLinkClasses>
   181                         <executableName>chat</executableName>
   182                         <resources>
   183                             <resource>target/web/pages/</resource>
   184                             <resource>
   185                                 <targetPath>/</targetPath>
   186                                 <directory>target/images/</directory>
   187                                 <includes>
   188                                     <include>*.png</include>
   189                                 </includes>
   190                             </resource>
   191                         </resources>
   192                         <os>ios</os>
   193                     </config>
   194                     <includeJFX>false</includeJFX>
   195                 </configuration>
   196                 <!--
   197                 <executions>
   198                     <execution>
   199                         <phase>package</phase>
   200                         <goals>
   201                             <goal>create-ipa</goal>
   202                         </goals>
   203                     </execution>
   204                 </executions>
   205                 -->
   206             </plugin>
   207         </plugins>
   208     </build>
   209     <dependencies>
   210         <dependency>
   211             <groupId>org.apidesign.demo</groupId>
   212             <artifactId>chat</artifactId>
   213             <version>${project.version}</version>
   214             <exclusions>
   215                 <exclusion>
   216                     <groupId>org.netbeans.html</groupId>
   217                     <artifactId>net.java.html.boot.fx</artifactId>
   218                 </exclusion>
   219             </exclusions>
   220         </dependency>
   221         <dependency>
   222             <groupId>com.dukescript.presenters</groupId>
   223             <artifactId>ios</artifactId>
   224             <version>0.9.1</version>
   225             <scope>runtime</scope>
   226             <exclusions>
   227                 <exclusion>
   228                     <groupId>org.netbeans.html</groupId>
   229                     <artifactId>net.java.html.geo</artifactId>
   230                 </exclusion>
   231                 <exclusion>
   232                     <groupId>org.netbeans.html</groupId>
   233                     <artifactId>net.java.html.boot</artifactId>
   234                 </exclusion>
   235             </exclusions>
   236         </dependency>
   237         <dependency>
   238             <groupId>org.netbeans.html</groupId>
   239             <artifactId>net.java.html.geo</artifactId>
   240             <version>${net.java.html.version}</version>
   241             <scope>runtime</scope>
   242         </dependency>
   243         <dependency>
   244             <groupId>org.robovm</groupId>
   245             <artifactId>robovm-cocoatouch</artifactId>
   246             <version>${robovm.version}</version>
   247             <type>jar</type>
   248         </dependency>
   249         <dependency>
   250             <groupId>org.robovm</groupId>
   251             <artifactId>robovm-rt</artifactId>
   252             <version>${robovm.version}</version>
   253             <type>jar</type>
   254         </dependency>
   255     </dependencies>
   256 </project>