Unfortunatley there is no "magic" that "mavenizes" your build. If you
want to build multiple modules in one maven project you can use:

  <build>
    <plugins>
      <plugin>
        <groupId>net.flexmojos.oss</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>${flexmojos.version}</version>
        <configuration>
          <modules>
            <module>module/module1.mxml</module>
            <module>module/module2.mxml</module>
            <module>module/module3.mxml</module>
          </modules>
        </configuration>
      </plugin>
    </plugins>
  </build>

Chris

2012/9/4 Christofer Dutz <[email protected]>:
> Even if Flashbuilder/Flexbuilder promotes this way of organizing
> multiple Modules in one Project, the Maven way would be to split up
> your application into multiple independent Maven artifacts. Flexmojos
> however does support multiple modules in one project, but I strongly
> suggest not to use it. It makes maintaining your build a lot more
> difficult.
>
> Chris
>
> 2012/8/28 Nigel Magnay <[email protected]>:
>> Is anyone using flex-mojos in order to create modules (as in
>> spark.modules.Module, or the mx equivalent) ?
>>
>> If so, what is the correct way to organise the POM ? In FB, I get 1 .swf for
>> the 'parent' application, and a .swf for each of the declared modules.
>>
>> In my maven build, I just get a single outputted application SWF.. and of
>> course having >1 artifact per project isn't the maven "way"... are there
>> some magic incantations / submodule projects needed to extract the modules ?
>>
>> --
>> 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/

-- 
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