The modules (module1 and module2) are not Maven artifacts as the
MainApp SWF itself is. They are simply Flex modules which live
togehter with the MainApp SWF Maven module; the modules are loaded by
the main app at runtime.
Hence - as far as I know - I cannot add a dependency to those (without
splitting them into separate maven modules)

/Michael

On Oct 5, 1:44 pm, Marvin Froeder <[email protected]> wrote:
> Did you add all 3 dependencies to your war pom?  Mean the main swf, module1
> and module2?
> If yes, and did not work, it is a limitation on copy mojo.
>
> VELO
>
> On Mon, Oct 5, 2009 at 4:01 AM, Michael Martinsen <
>
> [email protected]> wrote:
>
> > Hi
>
> > I'm currently in the process of moving an existing Flex project which
> > is
> > based on pure-mvc and has multiple Flex modules.
> > My project has the following maven layout:
>
> > <root>
> >  -> swf
> >  -> war
>
> > Now the swf module uses the mojo compiler and it is called with the
> > moduleFiles included:
>
> > <plugin>
> >    <groupId>org.sonatype.flexmojos</groupId>
> >    <artifactId>flexmojos-maven-plugin</artifactId>
> >    <version>3.3.0</version>
> >    <configuration>
> >        <sourceFile>MainApp.mxml</sourceFile>
> >        <targetPlayer>10.0.0</targetPlayer>
> >        <moduleFiles>
> >            <module>ModuleOne.mxml</module>
> >           <module>ModuleTwo.mxml</module>
> >        </moduleFiles>
>
> > It produces the main SWF file AND the ModuleOne.swf and ModuleTwo.swf.
>
> > The war module uses the copy-flex-resource goal to copy the resources
> > into
> > the war and it has a dependency to the swf module.
> > But only the main app of the swf module is included...
> > Is there any way to make the copy-flex-resource goal do this?
>
> > Thanks
>
> > /Michael
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to