Report abuse

<?xml version="1.0" encoding="UTF-8"?>
<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>

    <parent>
	 <groupId>org.sonatype.flexmojos</groupId>
	 <artifactId>flexmojos-air-super-pom</artifactId>
         <version>3.0-SNAPSHOT</version>
    </parent>

    <groupId>com.citytechinc</groupId>
    <artifactId>project-name</artifactId>
    <version>1.0-SNAPSHOT</version>
    <name>project-name</name>
    <packaging>swf</packaging>

    <build>
        <finalName>project</finalName>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>

        <plugins>
            <plugin>
		<groupId>org.codehaus.mojo</groupId>
		<artifactId>exec-maven-plugin</artifactId>
		<version>1.1-beta-1</version>
		<extensions>true</extensions>
		<executions>
		    <execution>
			<phase>package</phase>
			<goals>
			    <goal>exec</goal>
			</goals>
		    </execution>
		</executions>
		<configuration>
			<executable>java</executable>
			<workingDirectory>${project.build.directory}</workingDirectory>
			<arguments>
			    <argument>-jar</argument>
			    <argument>${FLEX_HOME}/lib/adt.jar</argument>
		            <argument>-package</argument>
			    <argument>-storetype</argument>
			    <argument>pkcs12</argument>
			    <argument>-storepass</argument>
			    <argument>secret</argument>
			    <argument>-keystore</argument>
		            <argument>classes/certs/certificate.p12</argument>
			    <argument>-keypass</argument>
			    <argument>secret</argument>
			    <argument>project.air</argument>
			    <argument>classes/project-app.xml</argument>
			    <argument>project.swf</argument>
			</arguments>
		</configuration>
	    </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>flex-mojos-repository</id>
            <url>http://repository.sonatype.org/content/groups/public</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <pluginRepositories>	
    	<pluginRepository>
            <id>flex-mojos-repository</id>
            <url>http://repository.sonatype.org/content/groups/public</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

    <dependencies>

    </dependencies>

    <properties>
        <!-- Flex Env Settings -->
	<FLEX_HOME>/path_to/flex_sdk_3</FLEX_HOME>
    </properties>

</project>