Seriously? No. Don't believe it. I tried this with a new project and it 
worked fine:

*Parent POM*
*    

<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.justinjmoses</groupId>

    <artifactId>modular-mojos</artifactId>

    <packaging>pom</packaging>

    <version>1.0-SNAPSHOT</version>

    <name>Modular Mojos</name>

    <url>http://justinjmoses.com.au</url>

     <modules>

        <module>Core</module>

        <module>Shell</module>

 <module>Webapp</module>

    </modules>


    <properties>

 <flash.major>10</flash.major>

        <flash.minor>2</flash.minor>

        <flash.revision>0</flash.revision>

        <flex.version>4.5.0.20967</flex.version>

        <flexmojos.version>4.0-beta-7</flexmojos.version> 

        <currentBuildVersion>${project.version}</currentBuildVersion>

 <flash.version>10.2.0</flash.version>

 <flash.player.classifier>10</flash.player.classifier>

    </properties>

     <build>

        <pluginManagement>

            <plugins>

                <plugin>

                    <groupId>org.sonatype.flexmojos</groupId>

                    <artifactId>flexmojos-maven-plugin</artifactId>

                    <version>${flexmojos.version}</version>

                    <extensions>true</extensions>


                    <configuration>

                        <strict>true</strict>

                        <debug>true</debug>

                        <locales>

                            <param>en_US</param>

                        </locales>

                        <storepass/>

      <targetplayer>${flash.version}</targetplayer>

                       </configuration>

                    <dependencies>

                        <dependency>

                            <groupId>com.adobe.flex</groupId>

                            <artifactId>compiler</artifactId>

                            <version>${flex.version}</version>

                            <type>pom</type>

                        </dependency>

                    </dependencies>

                </plugin>

                <plugin>

                    <groupId>org.apache.maven.plugins</groupId>

                    <artifactId>maven-eclipse-plugin</artifactId>

                    <version>2.8</version>

                </plugin>

            </plugins>

        </pluginManagement>

    </build>

    

 <dependencies>

 <dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>textLayout</artifactId>

      <version>${flex.version}</version>

      <type>swc</type>

  <scope>caching</scope>

    </dependency>

    

<dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>framework</artifactId>

      <version>${flex.version}</version>

      <type>swc</type>

  <scope>caching</scope>

    </dependency>

        <dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>spark</artifactId>

      <version>${flex.version}</version>

      <type>swc</type>

  <scope>caching</scope>

    </dependency>

    <dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>sparkskins</artifactId>

      <version>${flex.version}</version>

      <type>swc</type>

  <scope>caching</scope>

    </dependency>

    <dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>rpc</artifactId>

      <version>${flex.version}</version>

      <type>swc</type><scope>caching</scope>

    </dependency>

    <!--<dependency>

      <groupId>com.adobe.flex.framework</groupId>

      <artifactId>datavisualization</artifactId>

      <version>4.5.0.17855</version>

      <type>swc</type>

    </dependency>-->

   

   <dependency>  

      <groupId>com.adobe.flex.framework</groupId>  

      <artifactId>flex-framework</artifactId>  

      <version>${flex.version}</version>  

      <type>pom</type>  

       <exclusions>

         <exclusion>

           <artifactId>playerglobal</artifactId>

           <groupId>com.adobe.flex.framework</groupId>

         </exclusion>

       </exclusions>

    </dependency>  

    

<dependency>

       <groupId>com.adobe.flex.framework</groupId>

      <artifactId>playerglobal</artifactId>

         <version>${flex.version}</version>

       <type>swc</type>

       <classifier>10.2</classifier>

     </dependency>

   </dependencies>

      <repositories>

      <repository>

         <id>flex-mojos-repository</id>

         <url>http://repository.sonatype.org/content/groups/flexgroup</url>

         <releases>

            <enabled>true</enabled>

         </releases>

         <snapshots>

            <enabled>false</enabled>

         </snapshots>

      </repository>

   </repositories>

   <pluginRepositories>

      <pluginRepository>

         <id>flex-mojos-plugin-repository</id>

         <url>http://repository.sonatype.org/content/groups/flexgroup</url>

         <releases>

            <enabled>true</enabled>

         </releases>

         <snapshots>

            <enabled>false</enabled>

         </snapshots>

      </pluginRepository>

   </pluginRepositories>

</project>


Core.POM


   <?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";>


 <parent>

 <groupId>org.justinjmoses</groupId>

    <artifactId>modular-mojos</artifactId>

 <version>1.0-SNAPSHOT</version>

</parent>


 <modelVersion>4.0.0</modelVersion>

<groupId>org.justinjmoses</groupId>

<artifactId>modular-mojos-core</artifactId>

<name>Modular Mojos - Core</name>

<packaging>swf</packaging>


 <build>

        <sourceDirectory>src/main/flex</sourceDirectory>

       <!-- <testSourceDirectory>src/test/flex</testSourceDirectory> -->

        <plugins>

 <plugin>

  <groupId>org.sonatype.flexmojos</groupId>

  <artifactId>flexmojos-maven-plugin</artifactId>

  <version>${flexmojos.version}</version>

                <extensions>true</extensions>

  <executions>  

          <execution>   

            <goals>   

               <!--goal>optimize</goal-->  

               <goal>wrapper</goal>  

             </goals>   

             </execution>             

        </executions>  

   <configuration>

                    <strict>true</strict>

  <debug>true</debug>

  <locales>

   <param>en_US</param>

  </locales>

  <sourceFile>./Core.mxml</sourceFile>

                    <configurationReport>true</configurationReport>

                    <keepAs3Metadatas>

                      <name>Inject</name>

                      <name>PostConstruct</name>

                    </keepAs3Metadatas>

                    <storepass/>

                    <headlessServer>true</headlessServer>

                <verboseStacktraces>true</verboseStacktraces>

  <optimize>true</optimize>

  <swfVersion>11</swfVersion>

   <!-- Use Adobe-signed framework Runtime Shared Libraries (RSLs). -->

   <rslUrls>

     <rsl>{artifactId}-{version}.{extension}</rsl>

           </rslUrls>

         <finalName>Core</finalName>

                </configuration>

  <dependencies>

  <dependency>

   <groupId>com.adobe.flex</groupId>

   <artifactId>compiler</artifactId>

   <version>${flex.version}</version>

   <type>pom</type>

  </dependency>

  </dependencies>

 </plugin>

   </plugins>

  <resources>

 <resource>

  <directory>${basedir}/src/main/resources</directory>

 </resource>

</resources>

 </build>


</project>



*

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to