DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block |
|---|
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apace.flex.examples</groupId>
<artifactId>mobile-example</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>air</packaging>
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>net.flexmojos.oss</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>7.1.0-SNAPSHOT<0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>default-package-air</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<storepass>flexmojos</storepass>
</configuration>
</execution>
<!--
Packaging for Windows
-->
<execution>
<id>package-windows-shared</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>windows</targetPlatform>
<classifier>windows</classifier>
</configuration>
</execution>
<execution>
<id>package-windows-captive</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>windows</targetPlatform>
<includeCaptiveRuntime>true</includeCaptiveRuntime>
<classifier>windows-captive</classifier>
</configuration>
</execution>
<!--
Packaging for Mac
-->
<execution>
<id>package-mac-shared</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>mac</targetPlatform>
<classifier>mac</classifier>
</configuration>
</execution>
<!--
This variant produces a directory as output.
Therefore mavens "install" goal fails with an error ...
need to zip that up first.
-->
<execution>
<id>package-mac-captive</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>mac</targetPlatform>
<includeCaptiveRuntime>true</includeCaptiveRuntime>
<classifier>mac-captive</classifier>
</configuration>
</execution>
<!--
Packaging for linux
-->
<execution>
<id>package-linux-debian-shared</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>linux-debian</targetPlatform>
<classifier>debian</classifier>
</configuration>
</execution>
<execution>
<id>package-linux-rpm-shared</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>linux-rpm</targetPlatform>
<classifier>rpm</classifier>
</configuration>
</execution>
<!--
Packaging for Android
-->
<execution>
<id>package-android-shared</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>android</targetPlatform>
</configuration>
</execution>
<execution>
<id>package-android-captive</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>android</targetPlatform>
<includeCaptiveRuntime>true</includeCaptiveRuntime>
<classifier>captive</classifier>
</configuration>
</execution>
<!--
Packaging for ios
-->
<execution>
<id>package-ios</id>
<goals>
<goal>package-air</goal>
</goals>
<configuration>
<targetPlatform>ios</targetPlatform>
<iosPackagingType>ipa-debug</iosPackagingType>
<storefile>${ios-certificate}</storefile>
<storepass>${ios-password}</storepass>
<iosProvisioningProfile>${ios-provisioning-profile}</iosProvisioningProfile>
</configuration>
</execution>
</executions>
<configuration>
<debug>true</debug>
<storepass>flexmojos</storepass>
<sourceFile>MobileApplication.mxml</sourceFile>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.air</groupId>
<artifactId>compiler</artifactId>
<version>18.0</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.flex</groupId>
<artifactId>framework</artifactId>
<version>4.14.1</version>
<type>pom</type>
</dependency>
<!-- Add the components optimized for mobile use -->
<dependency>
<groupId>org.apache.flex.framework</groupId>
<artifactId>mobile</artifactId>
<version>4.14.1</version>
<type>pom</type>
</dependency>
<!-- Add the default mobile skin -->
<dependency>
<groupId>org.apache.flex.framework.themes</groupId>
<artifactId>mobile</artifactId>
<version>4.14.1</version>
<type>swc</type>
<scope>theme</scope>
</dependency>
<!-- Air runtime dependencies -->
<dependency>
<groupId>com.adobe.air</groupId>
<artifactId>framework</artifactId>
<version>18.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.flex.flexunit</groupId>
<artifactId>flexunit-flex</artifactId>
<version>4.3.0-SNAPSHOT</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies>
</project> |
...