1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--
   3 /*
   4  * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
   5  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6  *
   7  * This code is free software; you can redistribute it and/or modify it
   8  * under the terms of the GNU General Public License version 2 only, as
   9  * published by the Free Software Foundation.  Oracle designates this
  10  * particular file as subject to the "Classpath" exception as provided
  11  * by Oracle in the LICENSE file that accompanied this code.
  12  *
  13  * This code is distributed in the hope that it will be useful, but WITHOUT
  14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16  * version 2 for more details (a copy is included in the LICENSE file that
  17  * accompanied this code).
  18  *
  19  * You should have received a copy of the GNU General Public License version
  20  * 2 along with this work; if not, write to the Free Software Foundation,
  21  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  22  *
  23  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  24  * or visit www.oracle.com if you need additional information or have any
  25  * questions.
  26  */
  27 -->
  28 <pluginMetadata xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  29                 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/plugin-metadata-1.0.0.xsd">
  30     <mojos>
  31         <mojo>
  32             <!-- target name to call in ant script -->
  33             <call>runJFXLauncher</call>
  34             <!-- mojo goal name -->
  35             <goal>deploy</goal>
  36             <requiresDependencyResolution>runtime</requiresDependencyResolution>
  37             <parameters>
  38                 <parameter>
  39                     <name>jarfile</name>
  40                     <expression>${jarfile}</expression>
  41                     <required>true</required>
  42                     <readonly>false</readonly>
  43                     <type>java.lang.String</type>
  44                 </parameter>
  45                 <parameter>
  46                     <name>title</name>
  47                     <expression>${title}</expression>
  48                     <required>true</required>
  49                     <readonly>false</readonly>
  50                     <type>java.lang.String</type>
  51                 </parameter>
  52                 <parameter>
  53                     <name>javafx</name>
  54                     <expression>${javafx}</expression>
  55                     <required>true</required>
  56                     <readonly>false</readonly>
  57                     <type>java.lang.Boolean</type>
  58                     <defaultValue>true</defaultValue>
  59                 </parameter>
  60                 <parameter>
  61                     <name>javaProfile</name>
  62                     <expression>${javaProfile}</expression>
  63                     <required>false</required>
  64                     <readonly>false</readonly>
  65                     <type>java.lang.String</type>
  66                     <defaultValue>compact1</defaultValue>
  67                 </parameter>
  68                 <parameter>
  69                     <name>mainclass</name>
  70                     <expression>${mainclass}</expression>
  71                     <required>true</required>
  72                     <readonly>false</readonly>
  73                     <type>java.lang.String</type>
  74                 </parameter>
  75                 <parameter>
  76                     <name>runMode</name>
  77                     <expression>runMode</expression>
  78                     <required>false</required>
  79                     <readonly>false</readonly>
  80                     <type>java.lang.String</type>
  81                     <defaultValue>Release</defaultValue>
  82                 </parameter>
  83                 <parameter>
  84                     <name>jpdaAddress</name>
  85                     <expression>jpdaAddress</expression>
  86                     <required>false</required>
  87                     <readonly>false</readonly>
  88                     <type>java.lang.String</type>
  89                 </parameter>
  90                 <parameter>
  91                     <name>fastDeploy</name>
  92                     <expression>fastDeploy</expression>
  93                     <required>false</required>
  94                     <readonly>false</readonly>
  95                     <type>boolean</type>
  96                 </parameter>
  97                 <parameter>
  98                     <name>iconsDir</name>
  99                     <expression>${iconsDir}</expression>
 100                     <required>false</required>
 101                     <readonly>false</readonly>
 102                     <type>java.lang.String</type>
 103                     <defaultValue>src/main/ios-icons</defaultValue>
 104                 </parameter>
 105                 <parameter>
 106                     <name>imagesDir</name>
 107                     <expression>${imagesDir}</expression>
 108                     <required>false</required>
 109                     <readonly>false</readonly>
 110                     <type>java.lang.String</type>
 111                     <defaultValue>src/main/ios-images</defaultValue>
 112                 </parameter>
 113                 <parameter>
 114                     <name>targetDevices</name>
 115                     <expression>${deviceType}</expression>
 116                     <required>false</required>
 117                     <readonly>false</readonly>
 118                     <type>java.lang.String</type>
 119                     <defaultValue>1,2</defaultValue>
 120                 </parameter>
 121                 <parameter>
 122                     <name>bundleId</name>
 123                     <expression>${groupId}:${artifactId}</expression>
 124                     <required>true</required>
 125                     <readonly>false</readonly>
 126                     <type>java.lang.String</type>
 127                 </parameter>
 128                 <parameter>
 129                     <name>deploymentTarget</name>
 130                     <expression>${deploymentTarget}</expression>
 131                     <required>false</required>
 132                     <readonly>false</readonly>
 133                     <type>java.lang.String</type>
 134                     <defaultValue>6.1</defaultValue>
 135                 </parameter>
 136                 <parameter>
 137                     <name>supportedInterfaceOrientations</name>
 138                     <expression>${supportedInterfaceOrientations}</expression>
 139                     <required>false</required>
 140                     <readonly>false</readonly>
 141                     <type>java.lang.String</type>
 142                     <defaultValue>UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeRight, UIInterfaceOrientationPortraitUpsideDown</defaultValue>
 143                 </parameter>
 144                 <parameter>
 145                     <name>iPadSupportedInterfaceOrientations</name>
 146                     <expression>${iPadSupportedInterfaceOrientations}</expression>
 147                     <required>false</required>
 148                     <readonly>false</readonly>
 149                     <type>java.lang.String</type>
 150                     <defaultValue>UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeRight, UIInterfaceOrientationPortraitUpsideDown</defaultValue>
 151                 </parameter>
 152                 <parameter>
 153                     <name>prerenderedIcons</name>
 154                     <expression>${prerenderedIcons}</expression>
 155                     <required>false</required>
 156                     <readonly>false</readonly>
 157                     <type>java.lang.Boolean</type>
 158                     <defaultValue>false</defaultValue>
 159                 </parameter>
 160                 <parameter>
 161                     <name>resourcesDir</name>
 162                     <required>false</required>
 163                     <readonly>false</readonly>
 164                     <type>java.lang.String</type>
 165                 </parameter>
 166                 <parameter>
 167                     <name>provisioningProfile</name>
 168                     <expression>${provisioningProfile}</expression>
 169                     <required>false</required>
 170                     <readonly>false</readonly>
 171                     <type>java.lang.String</type>
 172                 </parameter>
 173             </parameters>
 174         </mojo>
 175         <mojo>
 176             <!-- target name to call in ant script -->
 177             <call>buildIPA</call>
 178             <!-- mojo goal name -->
 179             <goal>build-IPA</goal>
 180             <requiresDependencyResolution>runtime</requiresDependencyResolution>
 181             <parameters>
 182                 <parameter>
 183                     <name>jarfile</name>
 184                     <expression>${jarfile}</expression>
 185                     <required>true</required>
 186                     <readonly>false</readonly>
 187                     <type>java.lang.String</type>
 188                 </parameter>
 189                 <parameter>
 190                     <name>title</name>
 191                     <expression>${title}</expression>
 192                     <required>true</required>
 193                     <readonly>false</readonly>
 194                     <type>java.lang.String</type>
 195                 </parameter>
 196                 <parameter>
 197                     <name>javafx</name>
 198                     <expression>${javafx}</expression>
 199                     <required>true</required>
 200                     <readonly>false</readonly>
 201                     <type>java.lang.Boolean</type>
 202                     <defaultValue>true</defaultValue>
 203                 </parameter>
 204                 <parameter>
 205                     <name>javaProfile</name>
 206                     <expression>${java.profile}</expression>
 207                     <required>false</required>
 208                     <readonly>false</readonly>
 209                     <type>java.lang.String</type>
 210                     <defaultValue>compact1</defaultValue>
 211                 </parameter>
 212                 <parameter>
 213                     <name>mainclass</name>
 214                     <expression>${mainclass}</expression>
 215                     <required>true</required>
 216                     <readonly>false</readonly>
 217                     <type>java.lang.String</type>
 218                 </parameter>
 219                 <parameter>
 220                     <name>runMode</name>
 221                     <expression>runMode</expression>
 222                     <required>false</required>
 223                     <readonly>false</readonly>
 224                     <type>java.lang.String</type>
 225                     <defaultValue>Release</defaultValue>
 226                 </parameter>
 227                 <parameter>
 228                     <name>provisioningProfile</name>
 229                     <expression>provisioningProfile</expression>
 230                     <required>true</required>
 231                     <readonly>false</readonly>
 232                     <type>java.lang.String</type>
 233                 </parameter>
 234                 <parameter>
 235                     <name>ipAddress</name>
 236                     <expression>ipAddress</expression>
 237                     <required>false</required>
 238                     <readonly>false</readonly>
 239                     <type>java.lang.String</type>
 240                 </parameter>
 241                 <parameter>
 242                     <name>jpdaAddress</name>
 243                     <expression>jpdaAddress</expression>
 244                     <required>false</required>
 245                     <readonly>false</readonly>
 246                     <type>java.lang.String</type>
 247                 </parameter>
 248                 <parameter>
 249                     <name>appjarDebug</name>
 250                     <expression>appjarDebug</expression>
 251                     <required>false</required>
 252                     <readonly>false</readonly>
 253                     <type>java.lang.String</type>
 254                 </parameter>
 255                 <parameter>
 256                     <name>appjarDebugName</name>
 257                     <expression>appjarDebugName</expression>
 258                     <required>false</required>
 259                     <readonly>false</readonly>
 260                     <type>java.lang.String</type>
 261                 </parameter>
 262                 <parameter>
 263                     <name>iconsDir</name>
 264                     <expression>${iconsDir}</expression>
 265                     <required>false</required>
 266                     <readonly>false</readonly>
 267                     <type>java.lang.String</type>
 268                     <defaultValue>src/main/ios-icons</defaultValue>
 269                 </parameter>
 270                 <parameter>
 271                     <name>imagesDir</name>
 272                     <expression>${imagesDir}</expression>
 273                     <required>false</required>
 274                     <readonly>false</readonly>
 275                     <type>java.lang.String</type>
 276                     <defaultValue>src/main/ios-images</defaultValue>
 277                 </parameter>
 278                 <parameter>
 279                     <name>resourcesDir</name>
 280                     <expression>${resourcesDir}</expression>
 281                     <required>false</required>
 282                     <readonly>false</readonly>
 283                     <type>java.lang.String</type>
 284                 </parameter>
 285                 <parameter>
 286                     <name>targetDevices</name>
 287                     <expression>${deviceType}</expression>
 288                     <required>false</required>
 289                     <readonly>false</readonly>
 290                     <type>java.lang.String</type>
 291                     <defaultValue>1,2</defaultValue>
 292                 </parameter>
 293                 <parameter>
 294                     <name>bundleId</name>
 295                     <expression>${groupId}:${artifactId}</expression>
 296                     <required>true</required>
 297                     <readonly>false</readonly>
 298                     <type>java.lang.String</type>
 299                 </parameter>
 300                 <parameter>
 301                     <name>deploymentTarget</name>
 302                     <expression>${deploymentTarget}</expression>
 303                     <required>false</required>
 304                     <readonly>false</readonly>
 305                     <type>java.lang.String</type>
 306                     <defaultValue>6.1</defaultValue>
 307                 </parameter>
 308                 <parameter>
 309                     <name>supportedInterfaceOrientations</name>
 310                     <expression>${supportedInterfaceOrientations}</expression>
 311                     <required>false</required>
 312                     <readonly>false</readonly>
 313                     <type>java.lang.String</type>
 314                     <defaultValue>UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeRight, UIInterfaceOrientationPortraitUpsideDown</defaultValue>
 315                 </parameter>
 316                 <parameter>
 317                     <name>iPadSupportedInterfaceOrientations</name>
 318                     <expression>${iPadSupportedInterfaceOrientations}</expression>
 319                     <required>false</required>
 320                     <readonly>false</readonly>
 321                     <type>java.lang.String</type>
 322                     <defaultValue>UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeRight, UIInterfaceOrientationPortraitUpsideDown</defaultValue>
 323                 </parameter>
 324             </parameters>
 325         </mojo>
 326     </mojos>
 327 </pluginMetadata>