Building SWC File using FlexMojos plugins in Maven

<?xml version=”1.0″ encoding=”UTF-8″?>
<project xmlns=”http://maven.apache.org/POM/4.0.0&#8243; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd”&gt;


<modelVersion>4.0.0</modelVersion>
<groupId>interface101-flex-security</groupId>
<artifactId>interface101-flex-security</artifactId>
<version>0.0.1</version>
<packaging>swc</packaging>

<build>
<defaultGoal>install</defaultGoal>
<sourceDirectory>src/main/flex</sourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.2.0</version>
<extensions>true</extensions>
<configuration>
<targetPlayer>10.0.0</targetPlayer>
<allowSourcePathOverlap>true</allowSourcePathOverlap>
<namespaces>
<namespace>
<uri>http://www.interface101.com/admin/security</uri&gt;
<manifest>src/main/resources/manifest.xml</manifest>
</namespace>
</namespaces>
<includeNamespaces>
<namespace>http://www.interface101.com/admin/security</namespace&gt;
</includeNamespaces>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>flex-support</groupId>
<artifactId>flex-support</artifactId>
<version>1.0.0</version>
<type>swc</type>
<scope>external</scope>
</dependency>
</dependencies>
</project>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: